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]
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
28 LIBRARY
= psm-lpsched.a
31 LPSCHED_OBJS
= lpsched-msgs.o lpsched-service.o lpsched-printers.o \
32 lpsched-jobs.o lpsched-misc.o
33 OBJECTS
= $(LPSCHED_OBJS
) service.o printer.o job.o ppd.o library.o
36 include ..
/..
/..
/..
/lib
/Makefile.lib
37 include ..
/..
/Makefile.lp
39 ROOTLIBDIR
= $(ROOT
)/usr
/lib
/print
42 CPPFLAGS
+= -I
$(LPINC
)
43 CPPFLAGS
+= -I
$(SRC
)/lib
/print/libpapi-common
/common
44 CPPFLAGS
+= -D_REENTRANT
45 CPPFLAGS
+= $(ENVCPPFLAGS1
)
46 CPPFLAGS
+= $(ENVCPPFLAGS2
)
47 LDLIBS
+= -lcurses
-lc
48 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/msgs
-llpmsg
49 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/printers
-llpprt
50 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/class
-llpcls
51 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/requests
-llpreq
52 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/secure
-llpsec
53 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/forms
-llpfrm
54 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/access
-llpacc
55 LDLIBS
+= -L
$(SRC
)/cmd
/lp
/lib
/lp
-llp
60 SRCS
= $(OBJECTS
:%.o
=%.c
)
65 POFILE
= lp_lib_papi_psm.po
73 install: $(ROOTLIBDIR
) $(ROOTLIBS
) $(ROOTLINKS
)
80 include ..
/..
/..
/..
/lib
/Makefile.targ
81 include ..
/Makefile.msg