Initial version

This commit is contained in:
Janet B. Anderson
1996-07-09 20:04:58 +00:00
parent 5d0347c8ef
commit c2ebb2d91b

78
config/RULES_TOP Normal file
View File

@@ -0,0 +1,78 @@
#
# $Id$
#
all:: install
dirs::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
depends::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
build::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
install::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
clean::
@echo "TOP: Cleaning
@for DIR in ${DIRS}; do \
find $$DIR/src -type d -name "O.*" -prune -exec rm -rf {} \; ; \
done
uninstall::
@(for ARCH in ${BUILD_ARCHS}; do \
${MAKE} $@.$${ARCH}; \
done)
dirs.%::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
depends.%::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
build.%::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
install.%::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
clean.%::
@for DIR in ${DIRS}; do \
echo "$@: $$DIR"; \
if [ -d $$DIR ]; then TMP=`pwd`; cd $$DIR; ${MAKE} $@; cd $${TMP}; fi; \
done
uninstall.%::
@echo "TOP: Uninstalling $* "
@rm -rf ./bin/$* ./lib/$* dbd include man
@rm -rf rec.bak rec