48
49 # include library definitions
50 include $(SRC)/lib/Makefile.lib
51
52 SRCDIR= ../common
53
54 POFILE = libpkg.po
55 MSGFILES = $(OBJECTS:%.o=../common/%.i)
56 CLEANFILES += $(MSGFILES)
57
58 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
59
60
61 LIBS = $(DYNLIB) $(LINTLIB)
62
63
64 LDLIBS += -lc -lscf -ladm
65
66 CFLAGS += $(CCVERBOSE)
67 CERRWARN += -_gcc=-Wno-parentheses
68 CERRWARN += -_gcc=-Wno-uninitialized
69 CERRWARN += -_gcc=-Wno-clobbered
70 CERRWARN += -_gcc=-Wno-switch
71
72 # not linted
73 SMATCH=off
74
75 CPPFLAGS += -I$(SRCDIR) -D_FILE_OFFSET_BITS=64
76
77 .KEEP_STATE:
78
79 all: $(LIBS)
80
81 $(POFILE): $(MSGFILES)
82 $(BUILDPO.msgfiles)
83
84 _msg: $(MSGDOMAINPOFILE)
85
86 lint: lintcheck
87
88 # include library targets
|
48
49 # include library definitions
50 include $(SRC)/lib/Makefile.lib
51
52 SRCDIR= ../common
53
54 POFILE = libpkg.po
55 MSGFILES = $(OBJECTS:%.o=../common/%.i)
56 CLEANFILES += $(MSGFILES)
57
58 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
59
60
61 LIBS = $(DYNLIB) $(LINTLIB)
62
63
64 LDLIBS += -lc -lscf -ladm
65
66 CFLAGS += $(CCVERBOSE)
67 CERRWARN += -_gcc=-Wno-parentheses
68 CERRWARN += $(CNOWARN_UNINIT)
69 CERRWARN += -_gcc=-Wno-clobbered
70 CERRWARN += -_gcc=-Wno-switch
71
72 # not linted
73 SMATCH=off
74
75 CPPFLAGS += -I$(SRCDIR) -D_FILE_OFFSET_BITS=64
76
77 .KEEP_STATE:
78
79 all: $(LIBS)
80
81 $(POFILE): $(MSGFILES)
82 $(BUILDPO.msgfiles)
83
84 _msg: $(MSGDOMAINPOFILE)
85
86 lint: lintcheck
87
88 # include library targets
|