summaryrefslogtreecommitdiff
path: root/proc/Makefile
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-24 14:39:48 +0000
committerMiles Bader <miles@gnu.org>1995-08-24 14:39:48 +0000
commitb7f9d4cd4744363c3e0b4138eaf76740f6ca0a27 (patch)
treef620272f0c5c98d34279e32d5e07e4b60de33089 /proc/Makefile
parent8182fa8e2050a4f172fb33383af14c7dd1529248 (diff)
(MIGSTUBS): New variable.
(OBJS): Get the mig stubs from $(MIGSTUBS). (proc): Put all dependencies here. (HURDLIBS, REMHDRS): Removed. (OBJS): Calculate the appropiate bits from $(SRCS).
Diffstat (limited to 'proc/Makefile')
-rw-r--r--proc/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/proc/Makefile b/proc/Makefile
index d453e44d..92268c4f 100644
--- a/proc/Makefile
+++ b/proc/Makefile
@@ -18,22 +18,21 @@
dir := proc
makemode := server
-MIGSFLAGS ="-DPROCESS_INTRAN=pstruct_t reqport_find (process_t)" \
- "-DPROCESS_IMPORTS=import \"proc.h\";"
-
-OBJS = wait.o hash.o host.o info.o main.o mgt.o notify.o pgrp.o msg.o \
- cpu-types.o stubs.o processServer.o notifyServer.o \
- process_replyUser.o ourmsgUser.o interruptServer.o proc_excUser.o \
- proc_excServer.o proc_excreplUser.o proc_excreplServer.o
-
+target = proc
SRCS = wait.c hash.c host.c info.c main.c mgt.c notify.c pgrp.c msg.c \
cpu-types.c stubs.c
-
LCLHDRS = proc.h
-REMHDRS = ../libthreads/cthreads.h ../libihash/ihash.h
-HURDLIBS = libthreads libihash
DIST_FILES = proc_exc.defs proc_excrepl.defs
-target = proc
+
+MIGSTUBS = processServer.o notifyServer.o process_replyUser.o \
+ ourmsgUser.o interruptServer.o proc_excUser.o proc_excServer.o \
+ proc_excreplUser.o proc_excreplServer.o
+OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
+
+MIGSFLAGS ="-DPROCESS_INTRAN=pstruct_t reqport_find (process_t)" \
+ "-DPROCESS_IMPORTS=import \"proc.h\";"
+
+proc: $(OBJS) ../libthreads/libthreads.a ../libihash/libihash.a
include ../Makeconf