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