xref: /illumos-gate/usr/src/cmd/dtrace/test/Makefile (revision 0a24516770a8765ea1cdb3fb8421973f32ba503b)
19512fe85Sahl#
29512fe85Sahl# CDDL HEADER START
39512fe85Sahl#
49512fe85Sahl# The contents of this file are subject to the terms of the
59512fe85Sahl# Common Development and Distribution License (the "License").
69512fe85Sahl# You may not use this file except in compliance with the License.
79512fe85Sahl#
89512fe85Sahl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99512fe85Sahl# or http://www.opensolaris.org/os/licensing.
109512fe85Sahl# See the License for the specific language governing permissions
119512fe85Sahl# and limitations under the License.
129512fe85Sahl#
139512fe85Sahl# When distributing Covered Code, include this CDDL HEADER in each
149512fe85Sahl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159512fe85Sahl# If applicable, add the following below this CDDL HEADER, with the
169512fe85Sahl# fields enclosed by brackets "[]" replaced with your own identifying
179512fe85Sahl# information: Portions Copyright [yyyy] [name of copyright owner]
189512fe85Sahl#
199512fe85Sahl# CDDL HEADER END
209512fe85Sahl#
219512fe85Sahl
229512fe85Sahl#
23*0a245167SJohn Beck# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
249512fe85Sahl# Use is subject to license terms.
259512fe85Sahl#
269512fe85Sahl
279512fe85Sahlinclude $(SRC)/Makefile.master
289512fe85Sahl
2973427c57SahlSUBDIRS = cmd tst
3073427c57Sahl
3173427c57SahlROOTOPTPKG = $(ROOT)/opt/SUNWdtrt
3273427c57Sahl
3373427c57Sahlinclude Makefile.subdirs
3473427c57Sahl
3573427c57Sahlinstall: $(ROOTOPTPKG)/README $(SUBDIRS)
3673427c57Sahl
3773427c57Sahlpkg: install
3873427c57Sahl	@cd $(PKGDEFS) pwd; $(MAKE) awk_pkginfo
3973427c57Sahl	@cd $(PKGDEFS)/SUNWdtrt; pwd; $(MAKE) install
4073427c57Sahl
41*0a245167SJohn Beck$(ROOTOPTPKG)/% := FILEMODE = 0444
42*0a245167SJohn Beck
4373427c57Sahl$(ROOTOPTPKG):
4473427c57Sahl	$(INS.dir)
4573427c57Sahl
4673427c57Sahl$(ROOTOPTPKG)/%: ./% $(ROOTOPTPKG)
47*0a245167SJohn Beck	$(INS.file)
48