Ticket #41106: patch-src_Makefile.in

File patch-src_Makefile.in, 1.2 KB (added by twb@…, 11 years ago)

New src/Makefile.in patch

Line 
1--- src/Makefile.in.orig        2012-02-12 09:26:48.000000000 -0600
2+++ src/Makefile.in     2014-03-16 15:04:21.000000000 -0500
3@@ -421,11 +421,14 @@
4   specialmem.cpp string2.cpp systemclock.cpp traceval.cpp ui/ui.cpp
5 
6 nodist_libsim_la_SOURCES = $(FAB_CPP)
7-libsim_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib
8+libsim_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib \
9+  -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty \
10+  -lz -lintl -ltcl
11 nodist_libsimulavr_la_SOURCES = $(TCL_WRAP_SRC)
12 libsimulavr_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib
13 libsimulavr_la_LIBADD = $(libsim_la_OBJECTS) -lz \
14-  -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty
15+  -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty \
16+  -lz -lintl -ltcl
17 
18 pkginclude_HEADERS = \
19   adcpin.h application.h at4433.h at8515.h atmega128.h atmega16_32.h attiny2313.h \
20@@ -443,7 +446,7 @@
21 simulavr_SOURCES = cmd/main.cpp cmd/dumpargs.cpp
22 simulavr_LDADD = $(libsim_la_OBJECTS) $(LIBZ_FLAGS) \
23   -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty \
24-  $(LIBWSOCK_FLAGS)
25+  $(LIBWSOCK_FLAGS) -lz -lintl
26 
27 @USE_VERILOG_TRUE@VPI_LIB = avr.vpi
28 @USE_VERILOG_TRUE@libavrvpi_la_SOURCES = vpi.cpp cmd/dumpargs.cpp
29