xref: /onnv-gate/usr/src/cmd/policykit/Makefile (revision 2912:85ea316d9c18)
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*2912SartemPROG =	polkit-is-privileged
29*2912Sartem
30*2912SartemSRCS =	$(PROG:%=%.c)
31*2912Sartem
32*2912Sarteminclude ../Makefile.cmd
33*2912Sarteminclude $(SRC)/lib/policykit/Makefile.policykit
34*2912Sartem
35*2912SartemLDLIBS +=	-lpolkit $(POLICYKIT_GLIB_LDLIBS)
36*2912Sartem
37*2912SartemCPPFLAGS +=	-I$(ROOT)/usr/include/libpolkit
38*2912SartemCPPFLAGS +=	$(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS)
39*2912SartemCPPFLAGS +=	-DPACKAGE_VERSION=\"$(POLICYKIT_VERSION)\"
40*2912SartemC99MODE =	$(C99_ENABLE)
41*2912Sartem
42*2912SartemROOTUSRSBINPROG =	$(PROG:%=$(ROOTUSRSBIN)/%)
43*2912Sartem
44*2912Sartem.KEEP_STATE:
45*2912Sartem
46*2912Sartemall: $(PROG)
47*2912Sartem
48*2912Sarteminstall: all $(ROOTUSRSBINPROG)
49*2912Sartem
50*2912Sartemclean:
51*2912Sartem	$(RM) $(CLEANFILES)
52*2912Sartem
53*2912SartemFRC:
54*2912Sartem
55*2912Sarteminclude ../Makefile.targ
56