15c51f124SMoriah Waterland# 25c51f124SMoriah Waterland# CDDL HEADER START 35c51f124SMoriah Waterland# 45c51f124SMoriah Waterland# The contents of this file are subject to the terms of the 55c51f124SMoriah Waterland# Common Development and Distribution License (the "License"). 65c51f124SMoriah Waterland# You may not use this file except in compliance with the License. 75c51f124SMoriah Waterland# 85c51f124SMoriah Waterland# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95c51f124SMoriah Waterland# or http://www.opensolaris.org/os/licensing. 105c51f124SMoriah Waterland# See the License for the specific language governing permissions 115c51f124SMoriah Waterland# and limitations under the License. 125c51f124SMoriah Waterland# 135c51f124SMoriah Waterland# When distributing Covered Code, include this CDDL HEADER in each 145c51f124SMoriah Waterland# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155c51f124SMoriah Waterland# If applicable, add the following below this CDDL HEADER, with the 165c51f124SMoriah Waterland# fields enclosed by brackets "[]" replaced with your own identifying 175c51f124SMoriah Waterland# information: Portions Copyright [yyyy] [name of copyright owner] 185c51f124SMoriah Waterland# 195c51f124SMoriah Waterland# CDDL HEADER END 205c51f124SMoriah Waterland# 215c51f124SMoriah Waterland 225c51f124SMoriah Waterland# 235c51f124SMoriah Waterland# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 245c51f124SMoriah Waterland# Use is subject to license terms. 255c51f124SMoriah Waterland# 265c51f124SMoriah Waterland 275c51f124SMoriah Waterlandinclude $(SRC)/cmd/Makefile.cmd 285c51f124SMoriah Waterland 295c51f124SMoriah WaterlandCFLAGS += $(CCVERBOSE) 305c51f124SMoriah WaterlandCPPFLAGS += -I$(SRC)/cmd/svr4pkg/hdrs \ 315c51f124SMoriah Waterland -I$(SRC)/lib/libpkg/common \ 325c51f124SMoriah Waterland -I$(SRC)/lib/libinstzones/common \ 335c51f124SMoriah Waterland -D_FILE_OFFSET_BITS=64 345c51f124SMoriah Waterland 355c51f124SMoriah Waterland 36*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable 37*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-implicit-function-declaration 38*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-extra 39*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 40*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 41*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts 42*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-address 43*7014882cSRichard Lowe 445c51f124SMoriah WaterlandLIBINST = $(SRC)/cmd/svr4pkg/libinst/libinst.a 455c51f124SMoriah Waterland 465c51f124SMoriah WaterlandSRCS= $(OBJS:.o=.c) 475c51f124SMoriah Waterland 485c51f124SMoriah Waterland 495c51f124SMoriah Waterland# 505c51f124SMoriah Waterland# For messaging catalog 515c51f124SMoriah Waterland# 525c51f124SMoriah WaterlandPOFILE= $(PROG).po 535c51f124SMoriah WaterlandMSGFILES= $(OBJS:.o=.i) 545c51f124SMoriah WaterlandCLOBBERFILES += $(PROG) $(POFILE) 55