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# 223d09a4feSsonam gupta - Sun Microsystems - Bangalore India# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23355b4669Sjacobs# Use is subject to license terms. 24355b4669Sjacobs# 2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 26355b4669Sjacobs 27355b4669SjacobsLIBRARY = libipp-listener.a 28355b4669SjacobsVERS = .0 29355b4669SjacobsOBJECTS = \ 30355b4669Sjacobs cancel-job.o common.o create-job.o cups-accept-jobs.o \ 31355b4669Sjacobs cups-get-classes.o cups-get-default.o cups-get-printers.o \ 32355b4669Sjacobs cups-move-job.o cups-reject-jobs.o disable-printer.o enable-printer.o \ 33355b4669Sjacobs get-job-attributes.o get-jobs.o get-printer-attributes.o hold-job.o \ 34355b4669Sjacobs ipp-listener.o pause-printer.o print-job.o purge-jobs.o release-job.o \ 35355b4669Sjacobs restart-job.o resume-printer.o send-document.o set-job-attributes.o \ 36355b4669Sjacobs set-printer-attributes.o validate-job.o 37355b4669Sjacobs 38355b4669Sjacobsinclude ../../../Makefile.lib 39355b4669Sjacobs 40f808c858SrafSRCDIR = ../common 41f808c858Sraf 42355b4669SjacobsLIBS = $(DYNLIB) 43355b4669Sjacobs 44355b4669Sjacobs 45355b4669SjacobsCFLAGS += $(CCVERBOSE) 46355b4669SjacobsCPPFLAGS += -DSOLARIS_PRIVATE_POST_0_9 47355b4669SjacobsCPPFLAGS += -I$(SRCDIR) 48355b4669SjacobsCPPFLAGS += -I../../libpapi-common/common 49355b4669SjacobsCPPFLAGS += -I../../libipp-core/common 50f808c858Sraf 517014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable 52*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 537014882cSRichard Lowe 5405ede3dbSJohn Levon# not linted 5505ede3dbSJohn LevonSMATCH=off 5605ede3dbSJohn Levon 57f808c858SrafMAPFILES = $(SRCDIR)/mapfile 58f808c858Sraf 593d09a4feSsonam gupta - Sun Microsystems - Bangalore IndiaLDLIBS += -lipp-core -lpapi -lc -lsocket -lnsl 60355b4669Sjacobs 61355b4669Sjacobs.KEEP_STATE: 62355b4669Sjacobs 63355b4669Sjacobsall: $(LIBS) 64355b4669Sjacobs 65355b4669Sjacobs 66355b4669Sjacobsinclude ../../../Makefile.targ 67