Express that getopt*.o are needed for linking ldcc and ltcp.
authorueno <ueno>
Mon, 11 Feb 2002 16:39:11 +0000 (16:39 +0000)
committerueno <ueno>
Mon, 11 Feb 2002 16:39:11 +0000 (16:39 +0000)
dcc/Makefile.am

index 270d34c..fb8fab0 100644 (file)
@@ -1,12 +1,14 @@
 DEFS = -I$(srcdir) -I$(top_srcdir) $(CFLAGS) @DEFS@
-LIBS = @LIBOBJS@
-EXTRA_DIST = getopt.c getopt.h getopt1.c
+LIBOBJS = @LIBOBJS@
+EXTRA_DIST = basename.c getopt.c getopt.h getopt1.c
 CLEANFILES = ldcc ltcp
 
 bin_PROGRAMS = ldcc ltcp
 
 ltcp_SOURCES = tcp.c
+ltcp_LDADD = $(LIBOBJS)
 ldcc_SOURCES = dcc.c
+ldcc_LDADD = $(LIBOBJS)
 
 package: all
 install-package: package install