From dc885e54f28a5d50382c92d58910a358c365eb57 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 29 Aug 2001 17:55:56 +0000 Subject: [PATCH] dux-create-loadable-kernel-module-20010829 with minor correction by shadow@dementia.org to install the module, but we now create a loadable kernel module for dux ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== actually build afs.mod ==================== fix typo --- src/libafs/MakefileProto.DUX.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/libafs/MakefileProto.DUX.in b/src/libafs/MakefileProto.DUX.in index b13b232f6..a59d65a7f 100644 --- a/src/libafs/MakefileProto.DUX.in +++ b/src/libafs/MakefileProto.DUX.in @@ -75,21 +75,26 @@ setup: # Below this line are targets when in the COMMON directory: LIBAFS = libafs.o LIBAFSNONFS = libafs.nonfs.o +AFSMOD = afs.mod DEST_LIBAFS = ${DESTDIR}/root.client/bin/${LIBAFS} DEST_LIBAFSNONFS = ${DESTDIR}/root.client/bin/${LIBAFSNONFS} +DEST_AFSMOD = ${DESTDIR}/root.client/bin/${AFSMOD} -# libafs: $(DEST_LIBAFS) $(DEST_LIBAFSNONFS) +# libafs: ${DEST_LIBAFS} ${DEST_LIBAFSNONFS} ${DEST_AFSMOD} .PHONY: libafs -libafs: $(DEST_LIBAFSNONFS) +libafs: ${DEST_LIBAFSNONFS} ${DEST_AFSMOD} -$(DEST_LIBAFS): $(LIBAFS) +${DEST_LIBAFS}: ${LIBAFS} $(INSTALL) -f $? $@ -$(DEST_LIBAFSNONFS): $(LIBAFSNONFS) +${DEST_LIBAFSNONFS}: ${LIBAFSNONFS} + $(INSTALL) -f $? $@ + +${DEST_AFSMOD}: ${AFSMOD} $(INSTALL) -f $? $@ ${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS) @@ -98,6 +103,8 @@ ${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS) ${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS) $(LD) -r -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS} +${AFSMOD}: ${LIBAFSNONFS} + $(LD) -dc -r -o ${AFSMOD} ${LIBAFSNONFS} # Object build rules: osi_groups.o: $(AFS)/osi_groups.c -- 2.39.5