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# 22f6acbf7cSrie# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23355b4669Sjacobs# Use is subject to license terms. 24355b4669Sjacobs# 2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 26355b4669Sjacobs 27355b4669SjacobsLIBRARY = psm-ipp.a 28355b4669SjacobsVERS = .1 29355b4669SjacobsOBJECTS = ipp-support.o job.o printer.o service.o 30355b4669SjacobsROOTLIBDIR = $(ROOT)/usr/lib/print 31355b4669Sjacobs 32355b4669Sjacobsinclude ../../../Makefile.lib 33355b4669Sjacobsinclude ../../../Makefile.rootfs 34355b4669Sjacobs 35f808c858SrafSRCDIR = ../common 36f808c858Sraf 37355b4669SjacobsROOTLIBDIR= $(ROOT)/usr/lib/print 38355b4669SjacobsROOTLIBDIR64= $(ROOT)/usr/lib/print/$(MACH) 39355b4669Sjacobs 40355b4669SjacobsEXTRALINKS= $(ROOTLIBDIR)/psm-http.so 41355b4669Sjacobs$(EXTRALINKS): $(ROOTLINKS) 42355b4669Sjacobs $(RM) $@; $(SYMLINK) $(LIBLINKS) $@ 43355b4669Sjacobs 44355b4669SjacobsLIBS = $(DYNLIB) 45355b4669Sjacobs 46355b4669Sjacobs$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) 47355b4669Sjacobs 48355b4669SjacobsCFLAGS += $(CCVERBOSE) 49355b4669SjacobsCPPFLAGS += -I$(SRCDIR) 50355b4669SjacobsCPPFLAGS += -I../../libpapi-common/common 51355b4669SjacobsCPPFLAGS += -I../../libipp-core/common 52355b4669SjacobsCPPFLAGS += -I../../libhttp-core/common 53f808c858Sraf 547014882cSRichard LoweCERRWARN += -_gcc=-Wno-type-limits 557014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable 56*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 577014882cSRichard Lowe 5805ede3dbSJohn Levon# not linted 5905ede3dbSJohn LevonSMATCH=off 6005ede3dbSJohn Levon 61f808c858SrafMAPFILES = $(SRCDIR)/mapfile 62f808c858Sraf 63355b4669SjacobsLDLIBS += -L$(ROOTLIBDIR) -R/usr/lib/print -lhttp-core -lmd5 64355b4669SjacobsLDLIBS += -lipp-core -lc 65355b4669Sjacobs 66355b4669Sjacobs.KEEP_STATE: 67355b4669Sjacobs 68355b4669Sjacobsall: $(LIBS) 69355b4669Sjacobs 70355b4669Sjacobslint: lintcheck 71355b4669Sjacobs 72355b4669Sjacobs$(ROOTLIBDIR): 73355b4669Sjacobs $(INS.dir) 74355b4669Sjacobs 75355b4669Sjacobsinclude ../../../Makefile.targ 76