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
|
#ident "@(#)rules.mks 1.9 04/01/23 "
###########################################################################
# Written 1996 by J. Schilling
###########################################################################
#
# Rules for multiple Makefiles (*.mk) in one subdirectory
#
###########################################################################
# Copyright Jrg Schilling. All rights reserved.
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only.
# See the file CDDL.Schily.txt in this distribution or
# http://opensource.org/licenses/cddl1.php for details.
###########################################################################
$(ALLTARGETS):
@ for MK in $(MK_FILES) ; \
do \
( \
if [ -r ./$$MK ] ; then \
echo " ==> MAKING \"$@\" ON SUBCOMPONENT \"$(CURDIR)/$$MK\""; "$(MAKE)" -f $$MK $(MAKEMACS) XARCH=$(XARCH) $@;\
else \
echo "NOTICE: Partial source ($(CURDIR)/$$MK) missing";\
fi \
); \
done
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.hlp
###########################################################################
|