48 FILEMODE = 0555
49
50 include ../../Makefile.cmd
51
52 MANIFEST= rfc1179.xml
53 ROOTMANIFESTDIR= $(ROOTSVCAPPLICATIONPRINT)
54 $(ROOTMANIFEST) := FILEMODE= 444
55
56 LPLIB = $(SRC)/cmd/lp/lib
57 LIBLP = $(LPLIB)/lp/liblp.a
58 CFLAGS += $(CCVERBOSE)
59 CPPFLAGS += -I.
60 CPPFLAGS += -I../../../lib/print/libpapi-common/common
61 CPPFLAGS += -I$(ROOT)/usr/include
62 CPPFLAGS += -I../../lp/include
63 LDLIBS += $(LIBLP) -lpapi -lc
64 in.lpd:= CFLAGS += -DSOLARIS_PRIVATE_POST_0_9
65 in.lpd:= LDLIBS += -lnsl -lsocket
66
67 CERRWARN += -_gcc=-Wno-unused-variable
68 CERRWARN += -_gcc=-Wno-uninitialized
69
70 # not linted
71 SMATCH=off
72
73 all: $(BINPROGS) $(SBINPROGS)
74
75 # each program needs common.o as well
76 $(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS): $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c) $(LIBPRINTPROGS:%=%.c) common.o
77 $(LINK.c) -o $@ $@.c common.o $(LDLIBS)
78 $(POST_PROCESS)
79
80 # ucb links (lptest is handled in usr/src/cmd/lp/cmd/Makefile)
81 ROOTUSRUCB = $(ROOT)/usr/ucb
82 ROOTUCBSYMLINKS = $(UCBPROGS:%=$(ROOTUSRUCB)/%)
83 $(ROOTUSRUCB)/%: $(ROOTUSRUCB) %
84
85 $(ROOTLIBLPBIN)/%: %
86 $(INS.file)
87
88 $(ROOTUCBSYMLINKS):
|
48 FILEMODE = 0555
49
50 include ../../Makefile.cmd
51
52 MANIFEST= rfc1179.xml
53 ROOTMANIFESTDIR= $(ROOTSVCAPPLICATIONPRINT)
54 $(ROOTMANIFEST) := FILEMODE= 444
55
56 LPLIB = $(SRC)/cmd/lp/lib
57 LIBLP = $(LPLIB)/lp/liblp.a
58 CFLAGS += $(CCVERBOSE)
59 CPPFLAGS += -I.
60 CPPFLAGS += -I../../../lib/print/libpapi-common/common
61 CPPFLAGS += -I$(ROOT)/usr/include
62 CPPFLAGS += -I../../lp/include
63 LDLIBS += $(LIBLP) -lpapi -lc
64 in.lpd:= CFLAGS += -DSOLARIS_PRIVATE_POST_0_9
65 in.lpd:= LDLIBS += -lnsl -lsocket
66
67 CERRWARN += -_gcc=-Wno-unused-variable
68 CERRWARN += $(CNOWARN_UNINIT)
69
70 # not linted
71 SMATCH=off
72
73 all: $(BINPROGS) $(SBINPROGS)
74
75 # each program needs common.o as well
76 $(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS): $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c) $(LIBPRINTPROGS:%=%.c) common.o
77 $(LINK.c) -o $@ $@.c common.o $(LDLIBS)
78 $(POST_PROCESS)
79
80 # ucb links (lptest is handled in usr/src/cmd/lp/cmd/Makefile)
81 ROOTUSRUCB = $(ROOT)/usr/ucb
82 ROOTUCBSYMLINKS = $(UCBPROGS:%=$(ROOTUSRUCB)/%)
83 $(ROOTUSRUCB)/%: $(ROOTUSRUCB) %
84
85 $(ROOTLIBLPBIN)/%: %
86 $(INS.file)
87
88 $(ROOTUCBSYMLINKS):
|