1*2912Sartem# 2*2912Sartem# CDDL HEADER START 3*2912Sartem# 4*2912Sartem# The contents of this file are subject to the terms of the 5*2912Sartem# Common Development and Distribution License (the "License"). 6*2912Sartem# You may not use this file except in compliance with the License. 7*2912Sartem# 8*2912Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*2912Sartem# or http://www.opensolaris.org/os/licensing. 10*2912Sartem# See the License for the specific language governing permissions 11*2912Sartem# and limitations under the License. 12*2912Sartem# 13*2912Sartem# When distributing Covered Code, include this CDDL HEADER in each 14*2912Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*2912Sartem# If applicable, add the following below this CDDL HEADER, with the 16*2912Sartem# fields enclosed by brackets "[]" replaced with your own identifying 17*2912Sartem# information: Portions Copyright [yyyy] [name of copyright owner] 18*2912Sartem# 19*2912Sartem# CDDL HEADER END 20*2912Sartem# 21*2912Sartem# 22*2912Sartem# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*2912Sartem# Use is subject to license terms. 24*2912Sartem# 25*2912Sartem# ident "%Z%%M% %I% %E% SMI" 26*2912Sartem# 27*2912Sartem 28*2912Sarteminclude $(SRC)/lib/Makefile.lib 29*2912Sarteminclude $(SRC)/lib/policykit/Makefile.policykit 30*2912Sartem 31*2912SartemCPPFLAGS = $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master) 32*2912Sartem 33*2912SartemC99MODE = $(C99_ENABLE) 34*2912Sartem 35*2912SartemROOTLIBPCDIR = $(ROOT)/usr/lib/pkgconfig 36*2912SartemROOTLIBPC = $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%) 37*2912Sartem 38*2912SartemCLOBBERFILES += $(LIBPCSRC) 39*2912Sartem 40*2912Sartem# 41*2912Sartem# Ensure `all' is the default target. 42*2912Sartem# 43*2912Sartemall: 44*2912Sartem 45*2912Sartem$(ROOTLIBPCDIR): 46*2912Sartem $(INS.dir) 47*2912Sartem 48*2912Sartem$(ROOTLIBPC): $(ROOTLIBPCDIR) $(LIBPCSRC) 49*2912Sartem $(INS.file) $(LIBPCSRC) 50*2912Sartem 51*2912Sartem$(LIBPCSRC): ../common/$(LIBPCSRC).in 52*2912Sartem $(SED) -e "s@__VERSION__@$(POLICYKIT_VERSION)@" \ 53*2912Sartem < ../common/$(LIBPCSRC).in > $(LIBPCSRC) 54*2912Sartem 55