16237Sjacobs# 26237Sjacobs# CDDL HEADER START 36237Sjacobs# 46237Sjacobs# The contents of this file are subject to the terms of the 56237Sjacobs# Common Development and Distribution License (the "License"). 66237Sjacobs# You may not use this file except in compliance with the License. 76237Sjacobs# 86237Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96237Sjacobs# or http://www.opensolaris.org/os/licensing. 106237Sjacobs# See the License for the specific language governing permissions 116237Sjacobs# and limitations under the License. 126237Sjacobs# 136237Sjacobs# When distributing Covered Code, include this CDDL HEADER in each 146237Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156237Sjacobs# If applicable, add the following below this CDDL HEADER, with the 166237Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying 176237Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner] 186237Sjacobs# 196237Sjacobs# CDDL HEADER END 206237Sjacobs# 216237Sjacobs# 22*10120SGhee.Teo@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 236237Sjacobs# Use is subject to license terms. 246237Sjacobs# 256237Sjacobs 266237Sjacobsinclude ../../Makefile.cmd 276237Sjacobs 286237SjacobsSBINPROG = print-service 29*10120SGhee.Teo@Sun.COMBINPROG = desktop-print-management-applet 306237SjacobsLPBINLINKS = lp lpstat cancel enable disable 316237SjacobsLPRBINLINKS = lpr lpq lprm lpc 32*10120SGhee.Teo@Sun.COMDESKTOPLINKS = desktop-print-management desktop-print-management-prefs 337454SNorm.Jacobs@Sun.COMBINLINKS = $(LPBINLINKS) $(LPRBINLINKS) $(DESKTOPLINKS) 346237SjacobsSBINLINKS = accept reject lpmove lpadmin 356237Sjacobs 366237SjacobsROOTUSRSBINPROG = $(SBINPROG:%=$(ROOTUSRSBIN)/%) 37*10120SGhee.Teo@Sun.COMROOTUSRBINPROG = $(BINPROG:%=$(ROOTBIN)/%) 386237SjacobsROOTUSRBINLINKS = $(BINLINKS:%=$(ROOTBIN)/%) 396237SjacobsROOTUSRSBINLINKS = $(SBINLINKS:%=$(ROOTUSRSBIN)/%) 406237Sjacobs 416237SjacobsFILEMODE = 0555 426237Sjacobs 436237Sjacobs$(ROOTUSRBINLINKS): 446237Sjacobs $(RM) $@; $(SYMLINK) ../sbin/$(SBINPROG) $@ 456237Sjacobs 466237Sjacobs$(ROOTUSRSBINLINKS): 476237Sjacobs $(RM) $@; $(SYMLINK) $(SBINPROG) $@ 486237Sjacobs 496237Sjacobs.KEEP_STATE: 506237Sjacobs 516237Sjacobsall check clean clobber lint: 526237Sjacobs 53*10120SGhee.Teo@Sun.COMinstall: $(ROOTUSRSBINPROG) $(ROOTUSRBINPROG) $(ROOTUSRBINLINKS) $(ROOTUSRSBINLINKS) 546237Sjacobs 55