diff options
author | Miles Bader <miles@gnu.org> | 1995-03-30 00:30:27 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-03-30 00:30:27 +0000 |
commit | a7693848023ea586eb42deb3a49eab6d22dae03c (patch) | |
tree | 7da55d943af98bf26edb8e9f39bbb5c09f6ddb74 /trans | |
parent | b37949f4b90d6aa0cd066e03011d2885f88a312e (diff) |
Add support for the magic and null servers.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/trans/Makefile b/trans/Makefile index e42dcd53..ae47d9d8 100644 --- a/trans/Makefile +++ b/trans/Makefile @@ -18,15 +18,25 @@ dir := trans makemode := servers -SRCS = ifsock.c symlink.c -targets = symlink ifsock +SRCS = ifsock.c symlink.c magic.c null.c +targets = symlink ifsock magic null + +CPPFLAGS += -I../lib +CPPFLAGS += $(CPPFLAGS-$(notdir $<)) +vpath %.c ../lib include ../Makeconf symlink: symlink.o fsysServer.o - $(CC) $(CFLAGS) -o symlink $^ symlink.o: fsys_S.h +magic: magic.o fsysServer.o error.o +magic.o: fsys_S.h + +null: null.o error.o $(libtrivfs) $(libports) +null.o: ../hurd/trivfs.h ../hurd/ports.h + ifsock: ifsock.o $(libtrivfs) $(libports) ifsockServer.o - $(CC) $(CFLAGS) -o ifsock $^ 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 |