1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
#
#ident "@(#)smail/conf:RELEASE-3_2_0_102:Makefile,v 1.11 1997/04/19 22:29:45 woods Exp"
#
# Makefile for the conf directory in the smail source tree
#
# Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
# Copyright (C) 1992 Ronald S. Karr
#
# See the file COPYING, distributed with smail, for restriction
# and warranty information.
SHELL=/bin/sh
AR=ar
LINT=lint
SRC_PREFIX=
ROOT=..
SUB_DIRS=arch driver os lib
DIST_SRC=EDITME-dist EDITME-always EDITME-most EDITME-sometimes EDITME-spinne \
EDITME-weirdo
MISCSRC=Makefile
SRC=${MISCSRC} ${DIST_SRC}
all:
@for i in ${SUB_DIRS}; do \
echo "Build default targets under ${SRC_PREFIX}$$i ..."; \
(cd $$i; ${MAKE} SRC_PREFIX=${SRC_PREFIX}$$i/); \
done
names:
@for i in ${SRC}; do echo ${SRC_PREFIX}$$i; done
@for i in ${SUB_DIRS}; do \
(cd $$i; ${MAKE} SRC_PREFIX=${SRC_PREFIX}$$i/ $@); \
done
depend clobber clean:
@for i in ${SUB_DIRS}; do \
echo "Making $@ under ${SRC_PREFIX}$$i ..."; \
(cd $$i; ${MAKE} SRC_PREFIX=${SRC_PREFIX}$$i/ $@); \
done
# WARNING: don't depend on EDITME-dist, else local changes may be clobbered.
# If we did depend on EDITME-dist, we could add the else clause:
#
# else \
# echo "Please update $@ with new changes from $@-dist!" ; \
# exit 1 ; \
#
# Note that we are paranoid and do not attempt to make it if it
# exists, even though this rule could only trigger if it doesn't
# exist.
#
EDITME:
@if [ ! -f $@ ] ; then \
cat $@-dist > $@ ; \
echo "NOTICE: You may need to localise $@ for your environment!" ; \
fi
mkdefs install:
|