xref: /illumos-gate/usr/src/lib/policykit/Makefile.policykit (revision 5801b0f01c3c34499a929ed96164a5a68b470945)
118c2aff7Sartem#
218c2aff7Sartem# CDDL HEADER START
318c2aff7Sartem#
418c2aff7Sartem# The contents of this file are subject to the terms of the
518c2aff7Sartem# Common Development and Distribution License (the "License").
618c2aff7Sartem# You may not use this file except in compliance with the License.
718c2aff7Sartem#
818c2aff7Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
918c2aff7Sartem# or http://www.opensolaris.org/os/licensing.
1018c2aff7Sartem# See the License for the specific language governing permissions
1118c2aff7Sartem# and limitations under the License.
1218c2aff7Sartem#
1318c2aff7Sartem# When distributing Covered Code, include this CDDL HEADER in each
1418c2aff7Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1518c2aff7Sartem# If applicable, add the following below this CDDL HEADER, with the
1618c2aff7Sartem# fields enclosed by brackets "[]" replaced with your own identifying
1718c2aff7Sartem# information: Portions Copyright [yyyy] [name of copyright owner]
1818c2aff7Sartem#
1918c2aff7Sartem# CDDL HEADER END
2018c2aff7Sartem#
2118c2aff7Sartem#
2218c2aff7Sartem# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2318c2aff7Sartem# Use is subject to license terms.
2418c2aff7Sartem#
2518c2aff7Sartem# Definitions common for PolicyKit
2618c2aff7Sartem#
2718c2aff7Sartem
2818c2aff7SartemPOLICYKIT_VERSION = 0.2
2918c2aff7Sartem
30494f7e12SKeith M WesolowskiPOLICYKIT_DBUS_CPPFLAGS =	-DDBUS_API_SUBJECT_TO_CHANGE \
31494f7e12SKeith M Wesolowski				-I$(ADJUNCT_PROTO)/usr/include/dbus-1.0 \
32494f7e12SKeith M Wesolowski				-I$(ADJUNCT_PROTO)/usr/lib/dbus-1.0/include
33494f7e12SKeith M WesolowskiPOLICYKIT_GLIB_CPPFLAGS =	-I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
34494f7e12SKeith M Wesolowski				-I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
3518c2aff7Sartem
3618c2aff7SartemPOLICYKIT_DBUS_LDLIBS =	-ldbus-1
3718c2aff7SartemPOLICYKIT_GLIB_LDLIBS =	-lglib-2.0
38*5801b0f0SToomas SoomeNATIVE_LIBS +=		libglib-2.0.so
39