summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-10 22:36:44 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-10 22:36:44 +0000
commit341c8f5381def049f10cf64a79bd42e2cd070762 (patch)
tree5e2f413c174b74caa1fa046aea6529152a323884 /ufs
parentb942fb6634e4d9397c6c14c976493705cf7f15d8 (diff)
Formerly Makefile.~2~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/ufs/Makefile b/ufs/Makefile
index 11b82256..cf4d2be1 100644
--- a/ufs/Makefile
+++ b/ufs/Makefile
@@ -19,3 +19,36 @@ dir := ufs
include ../Makeconf
+SRCS=alloc.c consts.c devio.c dir.c hyper.c inode.c main.c pager.c \
+ subr.c tables.c
+
+DISTFILES=$(SRCS) ufs.h Makefile
+
+OBJS=$(subst .c,.o,$(SRCS)) exec_server_image.o
+
+LIBS= $(libdiskfs) $(libpager) $(libioserver) $(libfshelp) \
+ $(libports) $(libthreads)
+
+all: ufs
+
+ufs: $(OBJS) $(LIBS)
+ $(link)
+
+exec_server_image.o: ../exec/exec ../mkbootfs/mkbootfs
+ ../mkbootfs/mkbootfs ../exec/exec exec_server_image.o
+
+$(OBJS): ufs.h
+$(OBJS): $(addprefix $(headers)/hurd/,diskfs.h pager.h ioserver.h \
+ fshelp.h ports.h)
+alloc.o: fs.h dinode.h
+consts.o: dinode.h
+dir.o: dir.h
+hyper.o: fs.h
+inode.o: dinode.h fs.h
+main.o: fs.h
+pager.o: fs.h dinode.h
+subr.o: fs.h
+tables.o: fs.h
+
+$(foreach dir,mkbootfs exec,../$(dir)/%): FORCE
+ $(MAKE) -C $(@D) $(@F)