Makefile revision 375b28ffc40c6f03a644dc9310ae2000e73ffd5e
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# CDDL HEADER START
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# The contents of this file are subject to the terms of the
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# Common Development and Distribution License (the "License").
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# You may not use this file except in compliance with the License.
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# or http://www.opensolaris.org/os/licensing.
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# See the License for the specific language governing permissions
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# and limitations under the License.
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# If applicable, add the following below this CDDL HEADER, with the
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# CDDL HEADER END
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering# Use is subject to license terms.
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart PoetteringBINPROGS = lp lpstat cancel enable disable $(UCBPROGS)
6c142648aaced56ab681fcc97a71b06d588122a9Jan Alexander Steffens (heftig)OBJS = $(BINPROGS:=.o) $(SBINPROGS:=.o) $(LIBPRINTPROGS:=.o) common.o
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart PoetteringROOTUSRSBINPROGS = $(SBINPROGS:%=$(ROOTUSRSBIN)/%)
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart PoetteringROOTLIBPRINTPROGS = $(LIBPRINTPROGS:%=$(ROOTLIBPRINT)/%)
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart PoetteringROOTLIBLPPROGS = $(LIBLPPROGS:%=$(ROOTLIBLPBIN)/%)
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart PoetteringROOTMANIFESTDIR= $(ROOTSVCAPPLICATIONPRINT)
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart PoetteringCPPFLAGS += -I../../../lib/print/libpapi-common/common
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poetteringin.lpd:= CFLAGS += -DSOLARIS_PRIVATE_POST_0_9
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering# each program needs common.o as well
0284adc6a60ce0af1107cb0b50041a65d731f39eLennart Poettering$(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS): $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c) $(LIBPRINTPROGS:%=%.c) common.o
2e14c544a9c13c516f6918618138b38e0f6c7a17Lennart Poettering# ucb links (lptest is handled in usr/src/cmd/lp/cmd/Makefile)
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart PoetteringROOTUCBSYMLINKS = $(UCBPROGS:%=$(ROOTUSRUCB)/%)
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart PoetteringROOTUSRLIBSYMLINKS = $(SBINPROGS:%=$(ROOTLIB)/%)
3a43da2832dc5360a638d043f469a6dcbe025582Kay Sievers $(ROOTLIBPRINT) $(ROOTLIBPRINTPROGS) $(ROOTMANIFEST) \