Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen#
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# CDDL HEADER START
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen#
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# The contents of this file are subject to the terms of the
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# Common Development and Distribution License (the "License").
ff5a3c57228ee8c6a97f0ddd2585498330415660Timo Sirainen# You may not use this file except in compliance with the License.
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen#
d756ebcfa96bd7cff02097c8f26df9df368b81b1Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# or http://www.opensolaris.org/os/licensing.
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# See the License for the specific language governing permissions
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# and limitations under the License.
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen#
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# If applicable, add the following below this CDDL HEADER, with the
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen#
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# CDDL HEADER END
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen#
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen#
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# Use is subject to license terms.
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen#
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# ident "%Z%%M% %I% %E% SMI"
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen#
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen
d1bcee48225783610f0f6f639973677dd72b884aTimo Siraineninclude ../Makefile.lib
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenHDRS = dtrace.h
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenHDRDIR = common
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenSUBDIRS = $(MACH)
88ade75211d86266619d50aab44ccbdb7a151cbeTimo Sirainen$(BUILD64)SUBDIRS += $(MACH64)
88ade75211d86266619d50aab44ccbdb7a151cbeTimo Sirainen
ff5a3c57228ee8c6a97f0ddd2585498330415660Timo Sirainenall := TARGET = all
ff5a3c57228ee8c6a97f0ddd2585498330415660Timo Sirainenclean := TARGET = clean
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainenclobber := TARGET = clobber
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Siraineninstall := TARGET = install
88ade75211d86266619d50aab44ccbdb7a151cbeTimo Sirainenlint := TARGET = lint
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainenyydebug := TARGET = yydebug
88ade75211d86266619d50aab44ccbdb7a151cbeTimo Sirainen
88ade75211d86266619d50aab44ccbdb7a151cbeTimo Sirainen.KEEP_STATE:
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen
2767104d81e97a109f0aa9758792bfa1da325a97Timo Sirainenall clean clobber lint yydebug: $(SUBDIRS)
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen
d756ebcfa96bd7cff02097c8f26df9df368b81b1Timo Siraineninstall: install_h $(SUBDIRS)
d756ebcfa96bd7cff02097c8f26df9df368b81b1Timo Sirainen
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen$(ROOTHDRS) := GROUP = bin
6b96cd73c9b106f3fc78df263c0ec3e1ab6488b8Timo Sirainen
6b96cd73c9b106f3fc78df263c0ec3e1ab6488b8Timo Siraineninstall_h: $(ROOTHDRS)
6b96cd73c9b106f3fc78df263c0ec3e1ab6488b8Timo Sirainen
6b96cd73c9b106f3fc78df263c0ec3e1ab6488b8Timo Sirainencheck: $(CHECKHDRS)
6b96cd73c9b106f3fc78df263c0ec3e1ab6488b8Timo Sirainen
2767104d81e97a109f0aa9758792bfa1da325a97Timo Sirainen$(SUBDIRS): FRC
ff5a3c57228ee8c6a97f0ddd2585498330415660Timo Sirainen @cd $@; pwd; $(MAKE) $(TARGET)
6b96cd73c9b106f3fc78df263c0ec3e1ab6488b8Timo Sirainen
4bc1687139528ae2a5ad5e118cf3e97beda7e504Timo SirainenFRC:
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen
d1bcee48225783610f0f6f639973677dd72b884aTimo Siraineninclude ../Makefile.targ
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen#
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# Cross-reference customization: build the cross-reference only over the
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen# source directories, and ignore Makefiles and machine-generated source.
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen#
d1bcee48225783610f0f6f639973677dd72b884aTimo SirainenXRDIRS = common i386 sparc sparcv9
d1bcee48225783610f0f6f639973677dd72b884aTimo SirainenXRDEL = dt_lex.c dt_grammar.c Makefile*
d1bcee48225783610f0f6f639973677dd72b884aTimo Sirainen