Makefile (45916cd2fec6e79bca5dee0421bd39e3c2910d1e) Makefile (355b4669e025ff377602b6fc7caaf30dbc218371)
1#
2# CDDL HEADER START
3#
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.
7#
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.
12#
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]
18#
19# CDDL HEADER END
1#
2# CDDL HEADER START
3#
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.
7#
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.
12#
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]
18#
19# CDDL HEADER END
20
21
22#
23#
24# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
25# Use is subject to license terms.
26#
27# ident "%Z%%M% %I% %E% SMI"
28#
29# cmd/lp/lib/papi/Makefile
30#
31
32LIBRARY = psm-lpsched.a
33VERS=.1
34
35LPSCHED_OBJS = lpsched-msgs.o lpsched-service.o lpsched-printers.o \
36 lpsched-jobs.o lpsched-misc.o
20#
21#
22# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25# ident "%Z%%M% %I% %E% SMI"
26#
27# cmd/lp/lib/papi/Makefile
28#
29
30LIBRARY = psm-lpsched.a
31VERS=.1
32
33LPSCHED_OBJS = lpsched-msgs.o lpsched-service.o lpsched-printers.o \
34 lpsched-jobs.o lpsched-misc.o
37OBJECTS = $(LPSCHED_OBJS) \
38 list.o attribute.o status.o service.o printer.o job.o
35OBJECTS = $(LPSCHED_OBJS) service.o printer.o job.o ppd.o library.o
36
39
40include ../../../../lib/Makefile.lib
41include ../../Makefile.lp
42
43ROOTLIBDIR= $(ROOT)/usr/lib/print
44
45CPPFLAGS = -I.
46CPPFLAGS += -I$(LPINC)
37
38include ../../../../lib/Makefile.lib
39include ../../Makefile.lp
40
41ROOTLIBDIR= $(ROOT)/usr/lib/print
42
43CPPFLAGS = -I.
44CPPFLAGS += -I$(LPINC)
47CPPFLAGS += -I$(SRC)/lib
45CPPFLAGS += -I$(SRC)/lib/print/libpapi-common/common
48CPPFLAGS += -D_REENTRANT
49CPPFLAGS += $(ENVCPPFLAGS1)
50CPPFLAGS += $(ENVCPPFLAGS2)
51LDLIBS += -lc
52LDLIBS += -L$(SRC)/cmd/lp/lib/msgs -llpmsg
53LDLIBS += -L$(SRC)/cmd/lp/lib/printers -llpprt
54LDLIBS += -L$(SRC)/cmd/lp/lib/class -llpcls
55LDLIBS += -L$(SRC)/cmd/lp/lib/requests -llpreq
56LDLIBS += -L$(SRC)/cmd/lp/lib/secure -llpsec
57LDLIBS += -L$(SRC)/cmd/lp/lib/forms -llpfrm
46CPPFLAGS += -D_REENTRANT
47CPPFLAGS += $(ENVCPPFLAGS1)
48CPPFLAGS += $(ENVCPPFLAGS2)
49LDLIBS += -lc
50LDLIBS += -L$(SRC)/cmd/lp/lib/msgs -llpmsg
51LDLIBS += -L$(SRC)/cmd/lp/lib/printers -llpprt
52LDLIBS += -L$(SRC)/cmd/lp/lib/class -llpcls
53LDLIBS += -L$(SRC)/cmd/lp/lib/requests -llpreq
54LDLIBS += -L$(SRC)/cmd/lp/lib/secure -llpsec
55LDLIBS += -L$(SRC)/cmd/lp/lib/forms -llpfrm
56LDLIBS += -L$(SRC)/cmd/lp/lib/access -llpacc
58LDLIBS += -L$(SRC)/cmd/lp/lib/lp -llp
59
57LDLIBS += -L$(SRC)/cmd/lp/lib/lp -llp
58
60MAPFILES= mapfile-vers
59MAPFILES= mapfile
61MAPOPTS= $(MAPFILES:%=-M%)
60MAPOPTS= $(MAPFILES:%=-M%)
62DYNFLAGS += $(MAPOPTS)
61DYNFLAGS += $(BDIRECT) $(MAPOPTS)
63
64
65LIBS = $(DYNLIB)
66SRCS= $(OBJECTS:%.o=%.c)
67
68#${ROOTLIBDIR}:
69# $(INS.dir)
70

--- 17 unchanged lines hidden ---
62
63
64LIBS = $(DYNLIB)
65SRCS= $(OBJECTS:%.o=%.c)
66
67#${ROOTLIBDIR}:
68# $(INS.dir)
69

--- 17 unchanged lines hidden ---