Makefile revision 355b4669e025ff377602b6fc7caaf30dbc218371
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# CDDL HEADER START
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# The contents of this file are subject to the terms of the
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# Common Development and Distribution License (the "License").
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# You may not use this file except in compliance with the License.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# or http://www.opensolaris.org/os/licensing.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# See the License for the specific language governing permissions
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# and limitations under the License.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# If applicable, add the following below this CDDL HEADER, with the
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# CDDL HEADER END
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# Use is subject to license terms.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# ident "%Z%%M% %I% %E% SMI"
fc2f9534d07db2b185c02b1961428b53daf1986eLennart PoetteringBINPROGS = lp lpstat cancel enable disable $(UCBPROGS)
fc2f9534d07db2b185c02b1961428b53daf1986eLennart PoetteringOBJS = $(BINPROGS:=.o) $(SBINPROGS:=.o) common.o
fc2f9534d07db2b185c02b1961428b53daf1986eLennart PoetteringROOTUSRSBINPROGS = $(SBINPROGS:%=$(ROOTUSRSBIN)/%)
fc2f9534d07db2b185c02b1961428b53daf1986eLennart PoetteringCPPFLAGS += -I../../../lib/print/libpapi-common/common
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# each program needs common.o as well
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering$(BINPROGS) $(SBINPROGS): $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c) common.o
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering# ucb links (lptest is handled in usr/src/cmd/lp/cmd/Makefile)
fc2f9534d07db2b185c02b1961428b53daf1986eLennart PoetteringROOTUCBSYMLINKS = $(UCBPROGS:%=$(ROOTUSRUCB)/%)
fc2f9534d07db2b185c02b1961428b53daf1986eLennart PoetteringROOTUSRLIBSYMLINKS = $(SBINPROGS:%=$(ROOTLIB)/%)