19622934jacobs#
29622934jacobs# CDDL HEADER START
39622934jacobs#
49622934jacobs# The contents of this file are subject to the terms of the
59622934jacobs# Common Development and Distribution License (the "License").
69622934jacobs# You may not use this file except in compliance with the License.
79622934jacobs#
89622934jacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99622934jacobs# or http://www.opensolaris.org/os/licensing.
109622934jacobs# See the License for the specific language governing permissions
119622934jacobs# and limitations under the License.
129622934jacobs#
139622934jacobs# When distributing Covered Code, include this CDDL HEADER in each
149622934jacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159622934jacobs# If applicable, add the following below this CDDL HEADER, with the
169622934jacobs# fields enclosed by brackets "[]" replaced with your own identifying
179622934jacobs# information: Portions Copyright [yyyy] [name of copyright owner]
189622934jacobs#
199622934jacobs# CDDL HEADER END
209622934jacobs#
219622934jacobs#
226124874Ghee Teo# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
239622934jacobs# Use is subject to license terms.
249622934jacobs#
259622934jacobs
269622934jacobsinclude ../../Makefile.cmd
279622934jacobs
289622934jacobsSBINPROG =	print-service
296124874Ghee TeoBINPROG =	desktop-print-management-applet
309622934jacobsLPBINLINKS =	lp lpstat cancel enable disable
319622934jacobsLPRBINLINKS =	lpr lpq lprm lpc
326124874Ghee TeoDESKTOPLINKS =  desktop-print-management desktop-print-management-prefs
335f58abfNorm JacobsBINLINKS =	$(LPBINLINKS) $(LPRBINLINKS) $(DESKTOPLINKS)
349622934jacobsSBINLINKS =	accept reject lpmove lpadmin
359622934jacobs
369622934jacobsROOTUSRSBINPROG =	$(SBINPROG:%=$(ROOTUSRSBIN)/%)
376124874Ghee TeoROOTUSRBINPROG =	$(BINPROG:%=$(ROOTBIN)/%)
389622934jacobsROOTUSRBINLINKS =	$(BINLINKS:%=$(ROOTBIN)/%)
399622934jacobsROOTUSRSBINLINKS =	$(SBINLINKS:%=$(ROOTUSRSBIN)/%)
409622934jacobs
419622934jacobsFILEMODE =	0555
429622934jacobs
439622934jacobs$(ROOTUSRBINLINKS):
449622934jacobs	$(RM) $@; $(SYMLINK) ../sbin/$(SBINPROG) $@
459622934jacobs
469622934jacobs$(ROOTUSRSBINLINKS):
479622934jacobs	$(RM) $@; $(SYMLINK) $(SBINPROG) $@
489622934jacobs
499622934jacobs.KEEP_STATE:
509622934jacobs
519622934jacobsall check clean clobber lint:
529622934jacobs
536124874Ghee Teoinstall:	$(ROOTUSRSBINPROG) $(ROOTUSRBINPROG) $(ROOTUSRBINLINKS) $(ROOTUSRSBINLINKS)
549622934jacobs
55