From a7693848023ea586eb42deb3a49eab6d22dae03c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 30 Mar 1995 00:30:27 +0000 Subject: Add support for the magic and null servers. --- trans/Makefile | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'trans/Makefile') 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 -- cgit v1.2.3