36
37 LIBS = $(DYNLIB)
38
39 MAPFILES =
40
41 LINTFLAGS = -uxn
42 LINTFLAGS64 = $(LINTFLAGS) -m64
43 LINTOUT= lint.out
44 LINTSRC = $(LINTLIB:%.ln=%)
45 ROOTLINTDIR = $(ROOTLIBDIR)
46 ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
47
48 CLEANFILES= $(LINTOUT)
49
50 CPPFLAGS += -I.. \
51 -I$(SRC)/lib/libfru/include \
52 -I$(SRC)/lib/libfruutils
53 CPPFLAGS += -D_REENTRANT
54 CFLAGS += $(CCVERBOSE)
55
56 CERRWARN += -_gcc=-Wno-uninitialized
57
58 # not linted
59 SMATCH=off
60
61 $(LINTLIB) := LINTFLAGS = -nvx -I..
62 $(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
63
64 XGETFLAGS += -a
65 POFILE= picl.po
66
67 .KEEP_STATE:
68
69 all : $(LIBS)
70 chmod 755 $(DYNLIB)
71
72 lint : lintcheck
73
74 %.po: ../%.c
75 $(CP) $< $<.i
76 $(BUILD.po)
|
36
37 LIBS = $(DYNLIB)
38
39 MAPFILES =
40
41 LINTFLAGS = -uxn
42 LINTFLAGS64 = $(LINTFLAGS) -m64
43 LINTOUT= lint.out
44 LINTSRC = $(LINTLIB:%.ln=%)
45 ROOTLINTDIR = $(ROOTLIBDIR)
46 ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
47
48 CLEANFILES= $(LINTOUT)
49
50 CPPFLAGS += -I.. \
51 -I$(SRC)/lib/libfru/include \
52 -I$(SRC)/lib/libfruutils
53 CPPFLAGS += -D_REENTRANT
54 CFLAGS += $(CCVERBOSE)
55
56 CERRWARN += $(CNOWARN_UNINIT)
57
58 # not linted
59 SMATCH=off
60
61 $(LINTLIB) := LINTFLAGS = -nvx -I..
62 $(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
63
64 XGETFLAGS += -a
65 POFILE= picl.po
66
67 .KEEP_STATE:
68
69 all : $(LIBS)
70 chmod 755 $(DYNLIB)
71
72 lint : lintcheck
73
74 %.po: ../%.c
75 $(CP) $< $<.i
76 $(BUILD.po)
|