xref: /titanic_50/usr/src/lib/print/libpapi-dynamic/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1355b4669Sjacobs#
2355b4669Sjacobs# CDDL HEADER START
3355b4669Sjacobs#
4355b4669Sjacobs# The contents of this file are subject to the terms of the
5355b4669Sjacobs# Common Development and Distribution License (the "License").
6355b4669Sjacobs# You may not use this file except in compliance with the License.
7355b4669Sjacobs#
8355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9355b4669Sjacobs# or http://www.opensolaris.org/os/licensing.
10355b4669Sjacobs# See the License for the specific language governing permissions
11355b4669Sjacobs# and limitations under the License.
12355b4669Sjacobs#
13355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each
14355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the
16355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying
17355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner]
18355b4669Sjacobs#
19355b4669Sjacobs# CDDL HEADER END
20355b4669Sjacobs#
21355b4669Sjacobs#
22a18dc42fSps29005# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23355b4669Sjacobs# Use is subject to license terms.
24355b4669Sjacobs#
25355b4669Sjacobs
26355b4669SjacobsLIBRARY =		libpapi.a
27355b4669SjacobsVERS =			.0
28355b4669SjacobsOBJECTS = job.o nss.o printer.o psm.o service.o
29355b4669Sjacobs
30355b4669Sjacobsinclude ../../../Makefile.lib
31355b4669Sjacobsinclude ../../../Makefile.rootfs
32355b4669Sjacobs
33f808c858SrafSRCDIR =	../common
34f808c858Sraf
35355b4669SjacobsROOTLIBDIR=	$(ROOT)/usr/lib
36355b4669Sjacobs
37355b4669SjacobsLIBS =			$(DYNLIB)
38355b4669Sjacobs
39355b4669Sjacobs$(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)
40355b4669Sjacobs
41f808c858SrafMAPFILES =	$(SRCDIR)/mapfile
42355b4669Sjacobs
43355b4669SjacobsCFLAGS +=	$(CCVERBOSE)
44355b4669SjacobsCPPFLAGS +=	-I$(SRCDIR)
45355b4669SjacobsCPPFLAGS +=	-I../../libpapi-common/common
46355b4669SjacobsCPPFLAGS +=	-DNSS_SOLARIS
47a18dc42fSps29005LDLIBS +=	-lc
48355b4669Sjacobs
49*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
50*7014882cSRichard Lowe
51355b4669Sjacobs.KEEP_STATE:
52355b4669Sjacobs
53355b4669Sjacobsall:	$(LIBS)
54355b4669Sjacobs
55355b4669Sjacobslint:	lintcheck
56355b4669Sjacobs
57355b4669Sjacobsinclude ../../../Makefile.targ
58