17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 545916cd2Sjpk# Common Development and Distribution License (the "License"). 645916cd2Sjpk# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 22f6acbf7cSrie# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 267c478bd9Sstevel@tonic-gate 27355b4669SjacobsLIBRARY = psm-ipp.a 28355b4669SjacobsVERS = .1 29355b4669SjacobsOBJECTS = ipp-support.o job.o printer.o service.o 307c478bd9Sstevel@tonic-gate 31355b4669Sjacobsinclude ../../../Makefile.lib 327c478bd9Sstevel@tonic-gate 33f808c858SrafSRCDIR = ../common 34f808c858Sraf 35355b4669SjacobsROOTLIBDIR= $(ROOT)/usr/lib/print 36355b4669SjacobsROOTLIBDIR64= $(ROOT)/usr/lib/print/$(MACH) 377c478bd9Sstevel@tonic-gate 38355b4669SjacobsEXTRALINKS= $(ROOTLIBDIR)/psm-http.so 39355b4669Sjacobs$(EXTRALINKS): $(ROOTLINKS) 40355b4669Sjacobs $(RM) $@; $(SYMLINK) $(LIBLINKS) $@ 417c478bd9Sstevel@tonic-gate 42355b4669SjacobsLIBS = $(DYNLIB) 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gate 45355b4669SjacobsCFLAGS += $(CCVERBOSE) 46355b4669SjacobsCPPFLAGS += -I$(SRCDIR) 47355b4669SjacobsCPPFLAGS += -I../../libpapi-common/common 48355b4669SjacobsCPPFLAGS += -I../../libipp-core/common 49355b4669SjacobsCPPFLAGS += -I../../libhttp-core/common 50f808c858Sraf 517014882cSRichard LoweCERRWARN += -_gcc=-Wno-type-limits 527014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable 53d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 547014882cSRichard Lowe 5505ede3dbSJohn Levon# not linted 5605ede3dbSJohn LevonSMATCH=off 5705ede3dbSJohn Levon 58f808c858SrafMAPFILES = $(SRCDIR)/mapfile 59f808c858Sraf 60*530a8aa6SDan McDonaldLDLIBS += -L$(ROOTLIBDIR) -R/usr/lib/print -lhttp-core -lmd 61355b4669SjacobsLDLIBS += -lipp-core -lc 627c478bd9Sstevel@tonic-gate 637c478bd9Sstevel@tonic-gate.KEEP_STATE: 647c478bd9Sstevel@tonic-gate 65355b4669Sjacobsall: $(LIBS) 667c478bd9Sstevel@tonic-gate 677c478bd9Sstevel@tonic-gate 68355b4669Sjacobs$(ROOTLIBDIR): 69355b4669Sjacobs $(INS.dir) 707c478bd9Sstevel@tonic-gate 71355b4669Sjacobsinclude ../../../Makefile.targ 72