1e71ca95cSGerald Jelinek# 2e71ca95cSGerald Jelinek# CDDL HEADER START 3e71ca95cSGerald Jelinek# 4e71ca95cSGerald Jelinek# The contents of this file are subject to the terms of the 5e71ca95cSGerald Jelinek# Common Development and Distribution License (the "License"). 6e71ca95cSGerald Jelinek# You may not use this file except in compliance with the License. 7e71ca95cSGerald Jelinek# 8e71ca95cSGerald Jelinek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9e71ca95cSGerald Jelinek# or http://www.opensolaris.org/os/licensing. 10e71ca95cSGerald Jelinek# See the License for the specific language governing permissions 11e71ca95cSGerald Jelinek# and limitations under the License. 12e71ca95cSGerald Jelinek# 13e71ca95cSGerald Jelinek# When distributing Covered Code, include this CDDL HEADER in each 14e71ca95cSGerald Jelinek# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15e71ca95cSGerald Jelinek# If applicable, add the following below this CDDL HEADER, with the 16e71ca95cSGerald Jelinek# fields enclosed by brackets "[]" replaced with your own identifying 17e71ca95cSGerald Jelinek# information: Portions Copyright [yyyy] [name of copyright owner] 18e71ca95cSGerald Jelinek# 19e71ca95cSGerald Jelinek# CDDL HEADER END 20e71ca95cSGerald Jelinek# 21e71ca95cSGerald Jelinek# 2298f4f4f6Sjv227347# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 23e71ca95cSGerald Jelinek# 24e71ca95cSGerald Jelinek 25e71ca95cSGerald Jelinekdefault: all 26e71ca95cSGerald Jelinek 27e71ca95cSGerald Jelinekinclude Makefile.s10 28e71ca95cSGerald Jelinek 29e71ca95cSGerald Jelinek# Build everything in parallel; use .WAIT for dependencies 30e71ca95cSGerald Jelinek.PARALLEL: 31e71ca95cSGerald Jelinek 3298f4f4f6Sjv227347SUBDIRS = librtld_db s10_npreload s10_brand s10_support s10_replacefile \ 3398f4f4f6Sjv227347 zone cmd 34e71ca95cSGerald JelinekMSGSUBDIRS = s10_support zone 35e71ca95cSGerald Jelinek 36e71ca95cSGerald Jelinekall := TARGET= all 37e71ca95cSGerald Jelinekinstall := TARGET= install 38e71ca95cSGerald Jelinekclean := TARGET= clean 39e71ca95cSGerald Jelinekclobber := TARGET= clobber 40e71ca95cSGerald Jelinek_msg := TARGET= _msg 41e71ca95cSGerald Jelinek 42e71ca95cSGerald Jelinek.KEEP_STATE: 43e71ca95cSGerald Jelinek 44*241c90a0SRichard Loweall install clean clobber: $(SUBDIRS) 45*241c90a0SRichard Lowe 46e71ca95cSGerald Jelinek 47e71ca95cSGerald Jelinek_msg: $(MSGSUBDIRS) 48e71ca95cSGerald Jelinek 49e71ca95cSGerald Jelinek$(SUBDIRS): FRC 50e71ca95cSGerald Jelinek @cd $@; pwd; $(MAKE) $(TARGET) 51e71ca95cSGerald Jelinek 52e71ca95cSGerald JelinekFRC: 53