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
]
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
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
66 INC
= $
(ROOT
)/usr
/include
69 LPINC
= $
(SRC
)/include
70 #NPRTINC
= $
(NPRTROOT
)/include
71 NPRTINC
= $
(SRC
)/lib
/print
/libprint
/common
76 LIBNPRT
= -L$
(ROOT
)/usr
/lib
-lprint
80 LINTFLAGS
+= -L $
(SRC
)/lib
/print
-lprint
-lnsl
-lsocket
83 install
:=TARGET
= install
85 clobber
:=TARGET
= clobber
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
)/%)
104 $
(ROOTLIBPRINT
)/% : %