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 | 0fc0f32a0d44e9a53c638677aeb8eb8499e6b26f (patch) | |
tree | 0a2d0b90f034ddd8a4577e03c25f9cbd91b1ffb7 /ufs | |
parent | 3253cf549e8490220b25bf78cf1850b948123210 (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) |