Makefile.com revision 2912:85ea316d9c18
1268767Smav# 2268767Smav# CDDL HEADER START 3268767Smav# 4268767Smav# The contents of this file are subject to the terms of the 5268767Smav# Common Development and Distribution License (the "License"). 6268767Smav# You may not use this file except in compliance with the License. 7268767Smav# 8268767Smav# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9268767Smav# or http://www.opensolaris.org/os/licensing. 10268767Smav# See the License for the specific language governing permissions 11268767Smav# and limitations under the License. 12268767Smav# 13268767Smav# When distributing Covered Code, include this CDDL HEADER in each 14268767Smav# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15268767Smav# If applicable, add the following below this CDDL HEADER, with the 16268767Smav# fields enclosed by brackets "[]" replaced with your own identifying 17268767Smav# information: Portions Copyright [yyyy] [name of copyright owner] 18268767Smav# 19268767Smav# CDDL HEADER END 20268767Smav# 21268767Smav# 22268767Smav# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23268767Smav# Use is subject to license terms. 24268767Smav# 25268767Smav# ident "%Z%%M% %I% %E% SMI" 26268767Smav# 27268767Smav 28268767Smavinclude $(SRC)/lib/Makefile.lib 29268767Smavinclude $(SRC)/lib/policykit/Makefile.policykit 30268767Smav 31268767SmavCPPFLAGS = $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master) 32268767Smav 33268767SmavC99MODE = $(C99_ENABLE) 34276614Smav 35276614SmavROOTLIBPCDIR = $(ROOT)/usr/lib/pkgconfig 36268767SmavROOTLIBPC = $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%) 37268767Smav 38268767SmavCLOBBERFILES += $(LIBPCSRC) 39268767Smav 40# 41# Ensure `all' is the default target. 42# 43all: 44 45$(ROOTLIBPCDIR): 46 $(INS.dir) 47 48$(ROOTLIBPC): $(ROOTLIBPCDIR) $(LIBPCSRC) 49 $(INS.file) $(LIBPCSRC) 50 51$(LIBPCSRC): ../common/$(LIBPCSRC).in 52 $(SED) -e "s@__VERSION__@$(POLICYKIT_VERSION)@" \ 53 < ../common/$(LIBPCSRC).in > $(LIBPCSRC) 54 55