Makefile revision 5f58abfdcb4ac30ee3299a9fc222d33bb75d22a7
221N/A#
221N/A# CDDL HEADER START
221N/A#
221N/A# The contents of this file are subject to the terms of the
221N/A# Common Development and Distribution License (the "License").
221N/A# You may not use this file except in compliance with the License.
221N/A#
221N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
221N/A# or http://www.opensolaris.org/os/licensing.
221N/A# See the License for the specific language governing permissions
221N/A# and limitations under the License.
221N/A#
221N/A# When distributing Covered Code, include this CDDL HEADER in each
221N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
221N/A# If applicable, add the following below this CDDL HEADER, with the
221N/A# fields enclosed by brackets "[]" replaced with your own identifying
221N/A# information: Portions Copyright [yyyy] [name of copyright owner]
221N/A#
221N/A# CDDL HEADER END
221N/A#
221N/A#
221N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
221N/A# Use is subject to license terms.
221N/A#
221N/A
221N/Ainclude ../../Makefile.cmd
221N/A
221N/ASBINPROG = print-service
221N/ALPBINLINKS = lp lpstat cancel enable disable
221N/ALPRBINLINKS = lpr lpq lprm lpc
221N/ADESKTOPLINKS = desktop-print-management desktop-print-management-applet
221N/ADESKTOPLINKS += desktop-print-management-prefs
221N/ABINLINKS = $(LPBINLINKS) $(LPRBINLINKS) $(DESKTOPLINKS)
221N/ASBINLINKS = accept reject lpmove lpadmin
221N/A
221N/AROOTUSRSBINPROG = $(SBINPROG:%=$(ROOTUSRSBIN)/%)
221N/AROOTUSRBINLINKS = $(BINLINKS:%=$(ROOTBIN)/%)
221N/AROOTUSRSBINLINKS = $(SBINLINKS:%=$(ROOTUSRSBIN)/%)
221N/A
221N/AFILEMODE = 0555
221N/AOWNER = root
221N/A
221N/A$(ROOTUSRBINLINKS):
221N/A $(RM) $@; $(SYMLINK) ../sbin/$(SBINPROG) $@
221N/A
221N/A$(ROOTUSRSBINLINKS):
221N/A $(RM) $@; $(SYMLINK) $(SBINPROG) $@
221N/A
.KEEP_STATE:
all check clean clobber lint:
install: $(ROOTUSRSBINPROG) $(ROOTUSRBINLINKS) $(ROOTUSRSBINLINKS)