Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4e68c7c87c30c28490c92937adc112dca5b5d5aeAutomatic Updater# or http://www.opensolaris.org/os/licensing.
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# See the License for the specific language governing permissions
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# and limitations under the License.
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# If applicable, add the following below this CDDL HEADER, with the
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# CDDL HEADER END
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
49f385a7ad135b9777e219e02340cacbc7bcdb6aMark Andrews# Use is subject to license terms.
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark AndrewsBINPROGS = lp lpstat cancel enable disable $(UCBPROGS)
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsOBJS = $(BINPROGS:=.o) $(SBINPROGS:=.o) $(LIBPRINTPROGS:=.o) common.o
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsROOTUSRSBINPROGS = $(SBINPROGS:%=$(ROOTUSRSBIN)/%)
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsROOTLIBPRINTPROGS = $(LIBPRINTPROGS:%=$(ROOTLIBPRINT)/%)
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsROOTLIBLPPROGS = $(LIBLPPROGS:%=$(ROOTLIBLPBIN)/%)
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsCPPFLAGS += -I../../../lib/print/libpapi-common/common
# each program needs common.o as well
$(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS): $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c) $(LIBPRINTPROGS:%=%.c) common.o
$(POST_PROCESS)
$(ROOTLIBLPBIN)/%: %
$(INS.file)
$(ROOTUCBSYMLINKS):
lint: