48
49 LIBS= $(DYNLIB)
50
51 DYNFLAGS += $(ZINTERPOSE)
52
53 HDRS= com.h writer.h probe.h
54 ROOTHDRDIR= $(ROOT)/usr/include/tnf
55 ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
56 CHECKHDRS= $(HDRS:%.h=%.check)
57 $(ROOTHDRS) := FILEMODE = 0644
58 CHECKHDRS = $(HDRS:%.h=%.check)
59
60 # Include .. first to pick up tnf_trace.h in current dir, Include UFSDIR to
61 # pick up tnf_types.h
62 CPPFLAGS += -I.. -I$(UFSDIR) -D_REENTRANT -D_TNF_LIBRARY
63
64 LINTFLAGS += -y
65
66 CERRWARN += -_gcc=-Wno-unused-variable
67 CERRWARN += -_gcc=-Wno-parentheses
68 CERRWARN += -_gcc=-Wno-uninitialized
69
70 # not linted
71 SMATCH=off
72
73 $(ROOTHDRS) := FILEMODE = 644
74
75 LDLIBS += -lc
76
77 .KEEP_STATE:
78
79 all: $(LIBS)
80
81 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
82
83 lint:
84 $(LINT.c) $(SRCS)
85
86 check: $(CHECKHDRS)
87
88 $(ROOTLIBDIR) $(ROOTHDRDIR):
|
48
49 LIBS= $(DYNLIB)
50
51 DYNFLAGS += $(ZINTERPOSE)
52
53 HDRS= com.h writer.h probe.h
54 ROOTHDRDIR= $(ROOT)/usr/include/tnf
55 ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
56 CHECKHDRS= $(HDRS:%.h=%.check)
57 $(ROOTHDRS) := FILEMODE = 0644
58 CHECKHDRS = $(HDRS:%.h=%.check)
59
60 # Include .. first to pick up tnf_trace.h in current dir, Include UFSDIR to
61 # pick up tnf_types.h
62 CPPFLAGS += -I.. -I$(UFSDIR) -D_REENTRANT -D_TNF_LIBRARY
63
64 LINTFLAGS += -y
65
66 CERRWARN += -_gcc=-Wno-unused-variable
67 CERRWARN += -_gcc=-Wno-parentheses
68 CERRWARN += $(CNOWARN_UNINIT)
69
70 # not linted
71 SMATCH=off
72
73 $(ROOTHDRS) := FILEMODE = 644
74
75 LDLIBS += -lc
76
77 .KEEP_STATE:
78
79 all: $(LIBS)
80
81 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
82
83 lint:
84 $(LINT.c) $(SRCS)
85
86 check: $(CHECKHDRS)
87
88 $(ROOTLIBDIR) $(ROOTHDRDIR):
|