summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-06 01:16:16 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-06 01:16:16 +0000
commit1330a068760d58d2451ca94c4845e8c39ee23642 (patch)
treef677e1f4ee1463a9d8ba957f4eaf107c79b64f15 /trans
parentf572b0289efcf50e53179fb4bdf1f6b465136f69 (diff)
(ifsock-HURDLIBS, null-HURDLIBS): New vars.
(null, ifsock): Fix dependencies.
Diffstat (limited to 'trans')
-rw-r--r--trans/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/trans/Makefile b/trans/Makefile
index e44ea29a..5166fceb 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -24,6 +24,8 @@ targets = symlink ifsock magic null
CPPFLAGS += -I../lib
CPPFLAGS += $(CPPFLAGS-$(notdir $<))
vpath %.c ../lib
+null-HURDLIBS=libtrivfs libports libihash
+ifsock-HURDLIBS=libtrivfs libports libihash
include ../Makeconf
@@ -33,10 +35,14 @@ symlink.o: fsys_S.h
magic: magic.o fsysServer.o error.o
magic.o: fsys_S.h
-null: null.o error.o $(libtrivfs) $(libports) $(libihash)
+# The .a files have to be mentioned explicitly due to a make deficiency,
+# even though they are already specified by null-HURDLIBS above.
+null: null.o error.o ../libtrivfs/libtrivfs.a ../libports/libports.a \
+ ../libihash/libihash.a
null.o: ../hurd/trivfs.h ../hurd/ports.h
-ifsock: ifsock.o error.o $(libtrivfs) $(libports) $(libihash) ifsockServer.o
+ifsock: ifsock.o error.o ../libtrivfs/libtrivfs.a ../libports/libports.a \
+ ../libihash/libihash.a ifsockServer.o
ifsock.o: ifsock_S.h ../hurd/trivfs.h ../hurd/ports.h
CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR