summaryrefslogtreecommitdiff
path: root/exec/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-22 14:21:13 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-22 14:21:13 +0000
commitb20ec66850b4730e1d6efec216a0b3789f8659a8 (patch)
treea0a899e97ebc10fee645a04e11ea871731f7acf4 /exec/Makefile
parent272a3f8f609da9a8a93c819fc9f456ecf9b84ffc (diff)
entered into RCS
Diffstat (limited to 'exec/Makefile')
-rw-r--r--exec/Makefile42
1 files changed, 8 insertions, 34 deletions
diff --git a/exec/Makefile b/exec/Makefile
index 4b4b9732..3600d9ae 100644
--- a/exec/Makefile
+++ b/exec/Makefile
@@ -16,45 +16,19 @@
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
dir := exec
+makemode := server
-include ../Makeconf
-
-VPATH=.:../machine
-
-CFLAGS := $(CFLAGS) -Dinline= -DA_OUT_H=\"./a.out.h\"
-
-DIST_FILES = Makefile exec.c hostarch.c core.c gcore.c hashexec.c \
- a.out.h a.out.gnu.h ChangeLog
+SRCS = exec.c hostarch.c
OBJS = hostarch.o exec.o execServer.o fsysServer.o notifyServer.o
+LCLHDRS = a.out.h a.out.gnu.h
+target = exec
+DIST_FILES = core.c gcore.c hashexec.c
-SRCS = hostarch.c exec.c
-TAGSHDRS = a.out.h a.out.gnu.h
-
-all: exec
+include ../Makeconf
-exec: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $^
+CFLAGS := $(CFLAGS) -DA_OUT_H=\"./a.out.h\"
-exec.o: exec_server.h fsys_S.h notify_S.h
+exec.o: fsys_S.h notify_S.h exec_S.h
exec.o hostarch.o: a.out.h a.out.gnu.h
-install:
-
-clean:
- rm -f *.o exec exec_server.h *_S.h *Server.c
-relink:
- rm -f exec
-
-exec_server.h execServer.c: ../hurd/exec.defs ../hurd/hurd_types.defs
- $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ ../hurd/exec.defs \
- | $(MIGCOM) -sheader exec_server.h -header /dev/null -user /dev/null
-
-
-fsys_S.h fsysServer.c: ../hurd/fsys.defs ../hurd/hurd_types.defs
- $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ ../hurd/fsys.defs \
- | $(MIGCOM) -sheader fsys_S.h -header /dev/null -user /dev/null
-
-notify_S.h notifyServer.c: $(includedir)/mach/notify.defs
- $(CPP) $(CPPFLAGS) $(includedir)/mach/notify.defs \
- | $(MIGCOM) -sheader notify_S.h -header /dev/null -user /dev/null