diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-15 18:25:59 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-15 18:25:59 +0200 |
commit | aac4aaf42372f61c78061711916c81a9d5bcb42d (patch) | |
tree | 167fb3e426cc7757a43da2c7d04fc2baa293c5de /Makefile | |
parent | 65ebcc40e55dfb3ee776383891f8a6b15b176d27 (diff) |
Prepare the procfs translator to be merged into the Hurd sources
Move the procfs translator to its own subdirectory 'procfs'.
This is the last commit to this repository. Development of the procfs
translator will continue in the main Hurd repository.
* procfs/Makefile: Replace the standalone Makefile with the one from
the Debian packaging repository.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 28205962..00000000 --- a/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -TARGET = procfs -OBJS = procfs.o netfs.o procfs_dir.o \ - process.o proclist.o rootdir.o dircat.o main.o mach_debugUser.o -LIBS = -lnetfs -lps -lfshelp -lpthread - -CC = gcc -CFLAGS = -Wall -g -CPPFLAGS = -LDFLAGS = - -ifdef PROFILE -CFLAGS= -g -pg -CPPFLAGS= -DPROFILE -LDFLAGS= -static -LIBS= -lnetfs -lfshelp -liohelp -lps -lports -lpthread -lihash -lshouldbeinlibc -endif - -CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 - -all: $(TARGET) - -rootdir.o: rootdir.c mach_debug_U.h - -$(TARGET): $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) - -clean: - $(RM) $(TARGET) $(OBJS) - -# This is the gist of the MIG user stub handling from Hurd's build -# system: - -# Where to find .defs files. -vpath %.defs /usr/include/mach_debug - -MIG = mig -MIGCOM = $(MIG) -cc cat - /dev/null -MIGCOMFLAGS := -subrprefix __ - -%.udefsi: %.defs - $(CPP) -x c $(CPPFLAGS) $(MIGUFLAGS) $($*-MIGUFLAGS) \ - $< -o $*.udefsi - -%_U.h %User.c: %.udefsi - $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) $($*-MIGCOMUFLAGS) < $< \ - -user $*User.c -server /dev/null -header $*_U.h |