8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / lp / lib / papi / Makefile
blob0db8138e896812e146ea92fc17424c66dd551008
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
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
29 VERS=.1
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
41 CPPFLAGS = -I.
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
57 MAPFILES = mapfile
59 LIBS = $(DYNLIB)
60 SRCS= $(OBJECTS:%.o=%.c)
62 #${ROOTLIBDIR}:
63 # $(INS.dir)
65 POFILE = lp_lib_papi_psm.po
67 .KEEP_STATE:
69 all: $(LIBS)
71 _msg: $(POFILE)
73 install: $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
75 cstyle:
76 $(CSTYLE) $(SRCS)
78 lint: lintcheck
80 include ../../../../lib/Makefile.targ
81 include ../Makefile.msg