Link with SIM_EXTRA_LIBS, not just EXTRA_LIBS, which is never set.
authorRob Savoye <rob@cygnus>
Mon, 16 Dec 1996 22:16:24 +0000 (22:16 +0000)
committerRob Savoye <rob@cygnus>
Mon, 16 Dec 1996 22:16:24 +0000 (22:16 +0000)
sim/erc32/Makefile.in

index cc4b586770aabc1e81330c27d428b3f72899e2e0..2a1f477d9082a84ae402e48b22a6f95d5287f920 100644 (file)
 # SIM_AC_OUTPUT combines this with ../common/Make-common.in to produce the
 # real Makefile.
 
+TERMCAP_LIB = @TERMCAP@
+
 ## Begin config
 SIM_OBJS = exec.o erc32.o func.o help.o float.o interf.o
-SIM_EXTRA_LIBS = ../../readline/libreadline.a -ltermcap -lm
+SIM_EXTRA_LIBS = ../../readline/libreadline.a  $(TERMCAP_LIB) -lm
 SIM_EXTRA_LIBDEPS = ../../readline/libreadline.a
 SIM_EXTRA_ALL = sis
 SIM_EXTRA_INSTALL = install-sis
 SIM_EXTRA_CLEAN = clean-sis
 
+
 # UARTS run at about 115200 baud (simulator time). Add -DFAST_UART to
 # CFLAGS if faster (infinite) UART speed is desired. Might affect the
 # behaviour of UART interrupt routines ...
@@ -39,7 +42,7 @@ SIS_OFILES = exec.o erc32.o func.o help.o float.o
 
 sis: sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
        $(CC) $(ALL_CFLAGS) -o sis \
-         sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS)
+         sis.o $(SIS_OFILES) $(COMMON_OBJS) $(SIM_EXTRA_LIBS)
 
 # FIXME: This computes the build host's endianness, doesn't it?
 # There is AC_C_BIGENDIAN but it doesn't handle float endianness.
@@ -56,6 +59,13 @@ install-sis:
 clean-sis:
        rm -f sis end end.h
 
+configure:
+       @echo "Rebuilding configure..."
+       if [ x"${srcdir}" = x"@srcdir@" ] ; then \
+         srcdir=. ; export srcdir ; \
+       else true ; fi ; \
+       (cd $${srcdir}; autoconf --localdir=../common)
+
 # Circumvent Sun Make bug with VPATH.
 erc32.o: erc32.c sis.h end.h
 exec.o: exec.c sis.h end.h
@@ -63,5 +73,4 @@ float.o: float.c sis.h end.h
 func.o: func.c
 help.o: help.c
 interf.o: interf.c sis.h end.h 
-run.o: run.c
 sis.o: sis.c sis.h end.h
This page took 0.025952 seconds and 4 git commands to generate.