From 1e9a54d134e9bd6314e1a8469728e35043afcdad Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 15 Jun 2001 05:05:04 +0000 Subject: [PATCH] iberty library only needed on Windows --- vpi/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/vpi/Makefile.in b/vpi/Makefile.in index d6b8efe17..4be1da28b 100644 --- a/vpi/Makefile.in +++ b/vpi/Makefile.in @@ -18,7 +18,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.27 2001/06/12 03:53:10 steve Exp $" +#ident "$Id: Makefile.in,v 1.28 2001/06/15 05:05:04 steve Exp $" # # SHELL = /bin/sh @@ -57,8 +57,13 @@ O = sys_table.o sys_deposit.o sys_display.o sys_finish.o sys_random.o \ sys_readmem.o sys_readmem_lex.o sys_time.o sys_vcd.o \ mt19937int.o +SYSTEM_VPI_LDFLAGS = -L.. -lvpi +ifeq (@WIN32@,yes) + SYSTEM_VPI_LDFLAGS += -liberty +endif + system.vpi: $O ../libvpi.a - $(CC) @shared@ -o $@ $O -L.. -lvpi -liberty + $(CC) @shared@ -o $@ $O $(SYSTEM_VPI_LDFLAGS) sys_readmem_lex.c: sys_readmem_lex.lex flex -t -Preadmem $(srcdir)/sys_readmem_lex.lex > sys_readmem_lex.c