Makefile.com revision 2264:b2b9267d002d
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
53066Sjg# Common Development and Distribution License (the "License").
63066Sjg# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
223446Smrj# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
260Sstevel@tonic-gate#
270Sstevel@tonic-gate
280Sstevel@tonic-gateLIBRARY =		libipp-listener.a
290Sstevel@tonic-gateVERS =			.0
300Sstevel@tonic-gateOBJECTS = \
310Sstevel@tonic-gate	cancel-job.o common.o create-job.o cups-accept-jobs.o \
320Sstevel@tonic-gate	cups-get-classes.o cups-get-default.o cups-get-printers.o \
330Sstevel@tonic-gate	cups-move-job.o cups-reject-jobs.o disable-printer.o enable-printer.o \
340Sstevel@tonic-gate	get-job-attributes.o get-jobs.o get-printer-attributes.o hold-job.o \
350Sstevel@tonic-gate	ipp-listener.o pause-printer.o print-job.o purge-jobs.o release-job.o \
360Sstevel@tonic-gate	restart-job.o resume-printer.o send-document.o set-job-attributes.o \
370Sstevel@tonic-gate	set-printer-attributes.o validate-job.o
380Sstevel@tonic-gate
390Sstevel@tonic-gateinclude ../../../Makefile.lib
400Sstevel@tonic-gateinclude ../../../Makefile.rootfs
410Sstevel@tonic-gate
424271SrieROOTLIBDIR=	$(ROOT)/usr/lib
430Sstevel@tonic-gate
443066SjgLIBS =			$(DYNLIB)
453066Sjg
463066SjgSRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
473066Sjg
483066Sjg$(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)
493066Sjg
503066SjgSRCDIR =	../common
513066SjgMAPFILE =	$(SRCDIR)/mapfile
520Sstevel@tonic-gate
530Sstevel@tonic-gateCFLAGS +=	$(CCVERBOSE)
540Sstevel@tonic-gateCPPFLAGS +=	-DSOLARIS_PRIVATE_POST_0_9
550Sstevel@tonic-gateCPPFLAGS +=	-I$(SRCDIR)
560Sstevel@tonic-gateCPPFLAGS +=	-I../../libpapi-common/common
570Sstevel@tonic-gateCPPFLAGS +=	-I../../libipp-core/common
580Sstevel@tonic-gateDYNFLAGS +=	-M $(MAPFILE)
590Sstevel@tonic-gateLDLIBS +=	-lipp-core -lpapi -lc
600Sstevel@tonic-gate
610Sstevel@tonic-gate.KEEP_STATE:
620Sstevel@tonic-gate
630Sstevel@tonic-gateall:	$(LIBS)
640Sstevel@tonic-gate
650Sstevel@tonic-gatelint:	lintcheck
660Sstevel@tonic-gate
670Sstevel@tonic-gateinclude ../../../Makefile.targ
680Sstevel@tonic-gate