From a6d6f6bbf95e554556457f35b5c3b7c16b38264a Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 27 May 2024 18:00:10 +0200 Subject: [PATCH] add depend prospero --- prospero/Makefile | 65 -------------------------------------------- prospero/Makefile.in | 14 ++++++++++ 2 files changed, 14 insertions(+), 65 deletions(-) delete mode 100755 prospero/Makefile diff --git a/prospero/Makefile b/prospero/Makefile deleted file mode 100755 index def6694..0000000 --- a/prospero/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# -# Copyright (c) 1991-1994 by the University of Southern California -# -# For copying and distribution information, please see the file -# . -# -# -# This is the top level Makefile for the Prospero Directory Service. - -# Include configuration options. -include Makefile.config - -# Programs that live in subdirectories, and have makefiles of their own. -# The ordering is important here; libraries are built before the parts of -# Prospero that have to be linked with them are. - -# put OPTIONAL_LIB_SUBDIRS at the end here, because lib/psrv/wais_gw contains -# executables that are needed by WAIS. -LIB_SUBDIRS = \ - lib/pfs \ - lib/ardp \ - lib/psrv \ - lib/filters \ - $(OPTIONAL_LIB_SUBDIRS) - -BIN_SUBDIRS = \ - $(OPTIONAL_BIN_SUBDIRS) \ - server \ - user - -SUBDIRS = \ - $(LIB_SUBDIRS) \ - $(BIN_SUBDIRS) - -all: all_subdirs - -install: installdirs installfiles - -installdirs: - -mkdir $(DIR755) $(DIR1777) - -chown $(OWNER) $(DIR755) $(DIR1777) - -chgrp $(GROUP) $(DIR755) $(DIR1777) - -chmod 755 $(DIR755) - -chmod 1777 $(DIR1777) - -# alternative version of above if you have a good version of (INSTALL) available: -#-for i in $(DIR755) ; \ -# do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 755 $$i ;\ -# done -#-for i in $(DIR1777) ; \ -# do $(INSTALL) -d -o $(OWNER) -g $(GROUP) -m 1777 $$i ;\ -# done - -installfiles: - -for i in $(BINSUBDIRS); do \ - (cd $$i; \ - $(MAKE) $(PASTHRU) install); \ - done - - -# Dependencies - - - - diff --git a/prospero/Makefile.in b/prospero/Makefile.in index def6694..0be3307 100755 --- a/prospero/Makefile.in +++ b/prospero/Makefile.in @@ -57,6 +57,20 @@ installfiles: $(MAKE) $(PASTHRU) install); \ done +# +# Recursively `depend' each module. +# +all_depend: + set -u ; find $(ARCHIE_ROOT) -name Makefile.in -print | sed 's/\(.*\)\.in/cp \1.in \1/' | sh + for dir in $(SING_LEVEL_MODULES) ; do \ + (cd $$dir/$(SYSTYPE) && $(MAKE) depend) ; \ + done + for dir in $(MULTI_LEVEL_MODULES) ; do \ + (cd $$dir && $(MAKE) depend) ; \ + done + for dir in $(GEN_MODULES) ; do \ + (cd $$dir && $(MAKE) depend) ; \ + done # Dependencies