File: rules.mks

package info (click to toggle)
star 1.5a57-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,276 kB
  • ctags: 4,381
  • sloc: ansic: 36,081; sh: 2,331; makefile: 216
file content (31 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (2)
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
###########################################################################