1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the License). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/CDDL.txt 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/CDDL.txt. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets [] replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 22 # 23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 #ident "@(#)Makefile 1.58 07/08/15 SMI" 27 # 28 # 29 30 include $(SRC)/Makefile.master 31 32 SUBDIRS = \ 33 common \ 34 dns \ 35 nshttp \ 36 nfs \ 37 apache \ 38 sap \ 39 siebel \ 40 livecache \ 41 wls \ 42 s1as \ 43 s1mq \ 44 sapdb \ 45 hadb \ 46 sapwebas \ 47 jsas \ 48 jsas-na \ 49 krb5 \ 50 gds-agents 51 52 $(CLOSED_BUILD)SUBDIRS += $(CLOSED)/cmd/ha-services/dbms 53 54 # Note that these rules currently assume that MSGSUBDIRS is a strict 55 # subset of SUBDIRS 56 57 MSGSUBDIRS = common apache dns nfs nshttp \ 58 sap siebel livecache wls s1as s1mq sapdb hadb sapwebas \ 59 jsas jsas-na krb5 gds-agents 60 61 $(CLOSED_BUILD)MSGSUBDIRS += $(CLOSED)/cmd/ha-services/dbms 62 63 all:= TARGET= all 64 clean:= TARGET= clean 65 clobber:= TARGET= clobber 66 install:= TARGET= install 67 check:= TARGET= check 68 lint:= TARGET= lint 69 scmsgs := TARGET= scmsgs 70 _msg := TARGET= _msg 71 72 .KEEP_STATE: 73 74 # Make sure common is built before any of the other subdirs 75 $(SUBDIRS:common=): common 76 77 default: all 78 79 all clean clobber install check lint scmsgs: $(SUBDIRS) 80 81 $(SUBDIRS): FRC 82 @cd $@; pwd; $(MAKE) $(TARGET) 83 84 _msg: $(MSGSUBDIRS) 85 86 FRC: 87