diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-03-02 20:46:41 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-03-02 20:46:41 +0000 |
commit | 08f49203ca7a559f4a784e2bf1dc77d9c536a8d9 (patch) | |
tree | dd3f2954354e30ad73e9bc8a0e01099b2ff7a160 /ufs | |
parent | ab0a73bb86ebfee4404d436aa05a649292435b4f (diff) |
Formerly Makefile.~11~
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ufs/Makefile b/ufs/Makefile index 160e98f4..2676862e 100644 --- a/ufs/Makefile +++ b/ufs/Makefile @@ -26,8 +26,9 @@ DIST_FILES=$(SRCS) ufs.h Makefile fs.h dinode.h dir.h OBJS=$(subst .c,.o,$(SRCS)) exec_server_image.o -LIBS = $(libdiskfs) $(libports) $(libdiskfs) $(libpager) $(libioserver) \ - $(libfshelp) $(libdiskfs) $(libthreads) $(libports) +LIBS = $(hurdinst)/lib/libdiskfscombined.a $(libthreads) + +LIBPARTS = $(libdiskfs) $(libports) $(libpager) $(libioserver) $(libfshelp) all: ufs @@ -54,5 +55,16 @@ sizes.o: fs.h dinode.h subr.o: fs.h tables.o: fs.h +$(hurdinst)/lib/libdiskfscombined.a: $(LIBPARTS) + -mkdir foo + cd foo; $(AR) x $(libdiskfs) + cd foo; $(AR) x $(libports) + cd foo; $(AR) x $(libpager) + cd foo; $(AR) x $(libioserver) + cd foo; $(AR) x $(libfshelp) + cd foo; $(AR) cr $(hurdinst)/lib/libdiskfscombined.a * + rm -rf foo + $(RANLIB) $(hurdinst)/lib/libdiskfscombined.a + $(foreach dir,mkbootfs exec,../$(dir)/%): FORCE $(MAKE) -C $(@D) $(@F) |