xref: /onnv-gate/usr/src/cmd/sgs/packages/Makefile.com (revision 12792:1f56a791e275)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
53850Sab196087# Common Development and Distribution License (the "License").
63850Sab196087# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
22*12792SAli.Bahrami@Oracle.COM# Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
230Sstevel@tonic-gate#
240Sstevel@tonic-gate
250Sstevel@tonic-gateinclude		$(SRC)/Makefile.master
260Sstevel@tonic-gate
270Sstevel@tonic-gateLINTLOG=	../lint.$(MACH).log
280Sstevel@tonic-gate
290Sstevel@tonic-gatePKGARCHIVE=	.
30*12792SAli.Bahrami@Oracle.COMDATAFILES=	copyright prototype_com prototype_$(MACH) postinstall \
310Sstevel@tonic-gate		preremove depend checkinstall
320Sstevel@tonic-gateREADME=		SUNWonld-README
335088Sab196087FILES=		$(DATAFILES) pkginfo
340Sstevel@tonic-gatePACKAGE= 	SUNWonld
350Sstevel@tonic-gateROOTONLD=	$(ROOT)/opt/SUNWonld
360Sstevel@tonic-gateROOTREADME=	$(README:%=$(ROOTONLD)/%)
370Sstevel@tonic-gate
380Sstevel@tonic-gateVERDEBUG=	-D
390Sstevel@tonic-gate$(INTERNAL_RELEASE_BUILD)VERDEBUG=
400Sstevel@tonic-gate
410Sstevel@tonic-gateCLEANFILES=	$(FILES) awk_pkginfo ../bld_awk_pkginfo $(LINTLOG)
420Sstevel@tonic-gateCLOBBERFILES=	$(PACKAGE) $(LINTLOG).bak
430Sstevel@tonic-gate
440Sstevel@tonic-gate../%:		../common/%.ksh
450Sstevel@tonic-gate		$(RM) $@
460Sstevel@tonic-gate		cp $< $@
470Sstevel@tonic-gate		chmod +x $@
480Sstevel@tonic-gate
490Sstevel@tonic-gate$(ROOTONLD)/%:	../common/%
500Sstevel@tonic-gate		$(RM) $@
510Sstevel@tonic-gate		cp $< $@
520Sstevel@tonic-gate		chmod +x $@
53