xref: /illumos-gate/usr/src/cmd/print/selector/Makefile (revision 9622934a862fa39a8e90c816c4136e293d75629d)
1*9622934aSjacobs#
2*9622934aSjacobs# CDDL HEADER START
3*9622934aSjacobs#
4*9622934aSjacobs# The contents of this file are subject to the terms of the
5*9622934aSjacobs# Common Development and Distribution License (the "License").
6*9622934aSjacobs# You may not use this file except in compliance with the License.
7*9622934aSjacobs#
8*9622934aSjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9622934aSjacobs# or http://www.opensolaris.org/os/licensing.
10*9622934aSjacobs# See the License for the specific language governing permissions
11*9622934aSjacobs# and limitations under the License.
12*9622934aSjacobs#
13*9622934aSjacobs# When distributing Covered Code, include this CDDL HEADER in each
14*9622934aSjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9622934aSjacobs# If applicable, add the following below this CDDL HEADER, with the
16*9622934aSjacobs# fields enclosed by brackets "[]" replaced with your own identifying
17*9622934aSjacobs# information: Portions Copyright [yyyy] [name of copyright owner]
18*9622934aSjacobs#
19*9622934aSjacobs# CDDL HEADER END
20*9622934aSjacobs#
21*9622934aSjacobs#
22*9622934aSjacobs# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*9622934aSjacobs# Use is subject to license terms.
24*9622934aSjacobs#
25*9622934aSjacobs# ident	"%Z%%M%	%I%	%E% SMI"
26*9622934aSjacobs#
27*9622934aSjacobs
28*9622934aSjacobsinclude ../../Makefile.cmd
29*9622934aSjacobs
30*9622934aSjacobsSBINPROG =	print-service
31*9622934aSjacobsLPBINLINKS =	lp lpstat cancel enable disable
32*9622934aSjacobsLPRBINLINKS =	lpr lpq lprm lpc
33*9622934aSjacobsBINLINKS =	$(LPBINLINKS) $(LPRBINLINKS)
34*9622934aSjacobsSBINLINKS =	accept reject lpmove lpadmin
35*9622934aSjacobs
36*9622934aSjacobsROOTUSRSBINPROG =	$(SBINPROG:%=$(ROOTUSRSBIN)/%)
37*9622934aSjacobsROOTUSRBINLINKS =	$(BINLINKS:%=$(ROOTBIN)/%)
38*9622934aSjacobsROOTUSRSBINLINKS =	$(SBINLINKS:%=$(ROOTUSRSBIN)/%)
39*9622934aSjacobs
40*9622934aSjacobsFILEMODE =	0555
41*9622934aSjacobsOWNER =		root
42*9622934aSjacobs
43*9622934aSjacobs$(ROOTUSRBINLINKS):
44*9622934aSjacobs	$(RM) $@; $(SYMLINK) ../sbin/$(SBINPROG) $@
45*9622934aSjacobs
46*9622934aSjacobs$(ROOTUSRSBINLINKS):
47*9622934aSjacobs	$(RM) $@; $(SYMLINK) $(SBINPROG) $@
48*9622934aSjacobs
49*9622934aSjacobs.KEEP_STATE:
50*9622934aSjacobs
51*9622934aSjacobsall check clean clobber lint:
52*9622934aSjacobs
53*9622934aSjacobsinstall:	$(ROOTUSRSBINPROG) $(ROOTUSRBINLINKS) $(ROOTUSRSBINLINKS)
54*9622934aSjacobs
55