xref: /titanic_52/usr/src/lib/auditd_plugins/remote/Makefile.com (revision 657a8c206b913d1ee578fd725f0b25eca5b77253)
1*657a8c20SJan Friedel#
2*657a8c20SJan Friedel# CDDL HEADER START
3*657a8c20SJan Friedel#
4*657a8c20SJan Friedel# The contents of this file are subject to the terms of the
5*657a8c20SJan Friedel# Common Development and Distribution License (the "License").
6*657a8c20SJan Friedel# You may not use this file except in compliance with the License.
7*657a8c20SJan Friedel#
8*657a8c20SJan Friedel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*657a8c20SJan Friedel# or http://www.opensolaris.org/os/licensing.
10*657a8c20SJan Friedel# See the License for the specific language governing permissions
11*657a8c20SJan Friedel# and limitations under the License.
12*657a8c20SJan Friedel#
13*657a8c20SJan Friedel# When distributing Covered Code, include this CDDL HEADER in each
14*657a8c20SJan Friedel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*657a8c20SJan Friedel# If applicable, add the following below this CDDL HEADER, with the
16*657a8c20SJan Friedel# fields enclosed by brackets "[]" replaced with your own identifying
17*657a8c20SJan Friedel# information: Portions Copyright [yyyy] [name of copyright owner]
18*657a8c20SJan Friedel#
19*657a8c20SJan Friedel# CDDL HEADER END
20*657a8c20SJan Friedel#
21*657a8c20SJan Friedel#
22*657a8c20SJan Friedel# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*657a8c20SJan Friedel# Use is subject to license terms.
24*657a8c20SJan Friedel#
25*657a8c20SJan Friedel#
26*657a8c20SJan Friedel
27*657a8c20SJan FriedelLIBRARY=	audit_remote.a
28*657a8c20SJan FriedelVERS=		.1
29*657a8c20SJan FriedelOBJECTS=	audit_remote.o transport.o
30*657a8c20SJan Friedel
31*657a8c20SJan FriedelLIBBSM=		$(SRC)/lib/libbsm/common
32*657a8c20SJan Friedel
33*657a8c20SJan Friedelinclude		$(SRC)/lib/Makefile.lib
34*657a8c20SJan Friedel
35*657a8c20SJan FriedelLIBS=		$(DYNLIB)
36*657a8c20SJan FriedelLDLIBS		+= -lbsm -lsecdb -lc -lnsl -lsocket -lgss -lmtmalloc
37*657a8c20SJan Friedel
38*657a8c20SJan FriedelCFLAGS		+= $(CCVERBOSE)
39*657a8c20SJan FriedelCPPFLAGS	+= -D_REENTRANT -I$(LIBBSM)
40*657a8c20SJan FriedelCPPFLAGS	+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
41*657a8c20SJan Friedel
42*657a8c20SJan FriedelROOTLIBDIR=	$(ROOT)/usr/lib/security
43*657a8c20SJan Friedel
44*657a8c20SJan Friedel.KEEP_STATE:
45*657a8c20SJan Friedel
46*657a8c20SJan Friedelall:	$(LIBS)
47*657a8c20SJan Friedel
48*657a8c20SJan Friedellint:	lintcheck
49*657a8c20SJan Friedel
50*657a8c20SJan Friedelinclude		../../../Makefile.targ
51