Makefile revision 98f4f4f656cf8a11e7013e69b0cc54f82fa9b79b
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# CDDL HEADER START
04428429c4e689333e3ef8d19a2debeb20d4d15dMark Andrews#
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# The contents of this file are subject to the terms of the
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# Common Development and Distribution License (the "License").
2a40fdc2d34adb8a5c72a748449699666032d461Mark Andrews# You may not use this file except in compliance with the License.
555d01f4c02295e896a26c649d0ffc8808a0bbdcAutomatic Updater#
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# or http://www.opensolaris.org/os/licensing.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and limitations under the License.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# If applicable, add the following below this CDDL HEADER, with the
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews#
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
04eba969cb9a54bbda2896db2067c07b2ac5ba16Automatic Updater# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsdefault: all
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsinclude Makefile.s10
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# Build everything in parallel; use .WAIT for dependencies
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews.PARALLEL:
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsSUBDIRS = librtld_db s10_npreload s10_brand s10_support s10_replacefile \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington zone cmd
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark AndrewsMSGSUBDIRS = s10_support zone
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
bac1bc98410bd876b8d38a6de6126709a7f8cc5aAutomatic Updaterall := TARGET= all
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrewsinstall := TARGET= install
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsclean := TARGET= clean
f8448666aa53603696bea83de971a05007735d8fMark Andrewsclobber := TARGET= clobber
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewslint := TARGET= lint
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater_msg := TARGET= _msg
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews.KEEP_STATE:
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsall install clean clobber lint: $(SUBDIRS)
3a6600c8d319275d73c36eb625f77103cd83e824Automatic Updater
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews_msg: $(MSGSUBDIRS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews$(SUBDIRS): FRC
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson @cd $@; pwd; $(MAKE) $(TARGET)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsFRC:
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews