Makefile revision 14ea49401f3c8c61422aefbda43809e275f60c6c
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
7a2a1b8b14fc804ac80612d7b98064095e445be5Automatic Updater#
7a42357217528037bdfedcb17eeebfe96ae4266aAutomatic Updater# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater# or http://www.opensolaris.org/os/licensing.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# If applicable, add the following below this CDDL HEADER, with the
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# CDDL HEADER END
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a01aa536188bb3535dfc1107a623e6355a8e6b7cMark Andrews# Use is subject to license terms.
89623368b8f662d458d9964b923050f33c5f75b0Tinderbox User#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterinclude ../Makefile.lib
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterHDRS = dtrace.h
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonHDRDIR = common
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterSUBDIRS = $(MACH)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson$(BUILD64)SUBDIRS += $(MACH64)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Userall := TARGET = all
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterclean := TARGET = clean
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntclobber := TARGET = clobber
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updaterinstall := TARGET = install
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterlint := TARGET = lint
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntyydebug := TARGET = yydebug
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater.KEEP_STATE:
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntall clean clobber lint yydebug: $(SUBDIRS)
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updaterinstall: install_h $(SUBDIRS)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinstall_h: $(ROOTHDRS)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatercheck: $(CHECKHDRS)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater$(SUBDIRS): FRC
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater @cd $@; pwd; $(MAKE) $(TARGET)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterFRC:
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude ../Makefile.targ
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews#
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# Cross-reference customization: build the cross-reference only over the
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# source directories, and ignore Makefiles and machine-generated source.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsXRDIRS = common i386 sparc sparcv9
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic UpdaterXRDEL = dt_lex.c dt_grammar.c Makefile*
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater