Makefile revision 73427c57f824c3ec3b396181b163f37d50c5b3b1
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# The contents of this file are subject to the terms of the
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Common Development and Distribution License (the "License").
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# You may not use this file except in compliance with the License.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson#
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# See the License for the specific language governing permissions
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# CDDL HEADER END
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews#
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ident "%Z%%M% %I% %E% SMI"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude $(SRC)/Makefile.master
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUBDIRS = cmd tst
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinROOTOPTPKG = $(ROOT)/opt/SUNWdtrt
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude Makefile.subdirs
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall: $(ROOTOPTPKG)/README $(SUBDIRS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinpkg: install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @cd $(PKGDEFS) pwd; $(MAKE) awk_pkginfo
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @cd $(PKGDEFS)/SUNWdtrt; pwd; $(MAKE) install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein$(ROOTOPTPKG):
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(INS.dir)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein$(ROOTOPTPKG)/%: ./% $(ROOTOPTPKG)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(RM) $@
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews $(CP) $< $@
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein