8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / print / Makefile.sp
blobebf97b53c6203c24a20406bd955eefe6a1cdec08
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # cmd/print/Makefile.sp
27 # Common makefile definitions (should be) used by all print(lp) makefiles
30 include $(SRC)/cmd/Makefile.cmd
32 LPROOT= $(SRC)/cmd/lp
33 NPRTROOT= $(LPROOT)
34 ROOTVAR= $(ROOT)/var
35 ROOTVARSP= $(ROOT)/var/spool
36 ROOTVARSPOOLPRINT= $(ROOTVARSP)/print
38 ROOTINIT_D= $(ROOTETC)/init.d
39 ROOTRC0_D= $(ROOTETC)/rc0.d
40 ROOTRCS_D= $(ROOTETC)/rcS.d
41 ROOTRC1_D= $(ROOTETC)/rc1.d
42 ROOTRC2_D= $(ROOTETC)/rc2.d
45 ROOTETCLP= $(ROOTETC)/lp
46 ROOTLIBLP= $(ROOTLIB)/lp
47 ROOTBINLP= $(ROOTBIN)/lp
48 ROOTLIBLPPOST = $(ROOTLIBLP)/postscript
49 ROOTLOCALLP= $(ROOTLIBLP)/local
50 ROOTLIBPRINT= $(ROOTLIB)/print
51 ROOTLIBPRINTBIN= $(ROOTLIBPRINT)/bin
53 ROOTUSRUCB= $(ROOT)/usr/ucb
57 # $(EMODES): Modes for executables
58 # $(SMODES): Modes for setuid executables
59 # $(DMODES): Modes for directories
61 EMODES = 0555
62 SMODES = 04555
63 DMODES = 0755
66 INC = $(ROOT)/usr/include
67 INCSYS = $(INC)/sys
69 LPINC = $(SRC)/include
70 #NPRTINC = $(NPRTROOT)/include
71 NPRTINC = $(SRC)/lib/print/libprint/common
72 LPLIB = $(SRC)/lib
73 LDLIBS += -L$(LPLIB)
76 LIBNPRT = -L$(ROOT)/usr/lib -lprint
78 # lint definitions
80 LINTFLAGS += -L $(SRC)/lib/print -lprint -lnsl -lsocket
82 all :=TARGET= all
83 install :=TARGET= install
84 clean :=TARGET= clean
85 clobber :=TARGET= clobber
86 lint :=TARGET= lint
87 strip :=TARGET= strip
88 _msg :=TARGET= _msg
90 ROOTLIBLPPROG= $(PROG:%=$(ROOTLIBLP)/%)
91 ROOTBINLPPROG= $(PROG:%=$(ROOTBINLP)/%)
92 ROOTETCLPPROG= $(PROG:%=$(ROOTETCLP)/%)
93 ROOTUSRUCBPROG= $(PROG:%=$(ROOTUSRUCB)/%)
94 ROOTLOCALLPPROG= $(PROG:%=$(ROOTLOCALLP)/%)
95 ROOTLIBLPPOSTPROG= $(PROG:%=$(ROOTLIBLPPOST)/%)
96 ROOTLIBPRINTPROG= $(PROG:%=$(ROOTLIBPRINT)/%)
98 $(ROOTLIBLP)/% \
99 $(ROOTBINLP)/% \
100 $(ROOTETCLP)/% \
101 $(ROOTUSRUCB)/% \
102 $(ROOTLOCALLP)/% \
103 $(ROOTLIBLPPOST)/% \
104 $(ROOTLIBPRINT)/% : %
105 $(INS.file)