49 SRCDIR = .
50
51 CSTD= $(CSTD_GNU89)
52
53 # We really want to say this:
54 # CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I../common/inc
55 # but some system header files are replaced by local versions
56 # so we must put -I. ahead of the default include directories:
57 CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
58 LDLIBS += -lsocket -lnsl -lc
59 CFLAGS += $(CCVERBOSE)
60
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += -_gcc=-Wno-uninitialized
63
64 # not linted
65 SMATCH=off
66
67 ROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%)
68
69 .KEEP_STATE:
70
71 LIBS = $(DYNLIB)
72
73 all: $(LIBS)
74
75 install: all $(ROOTDYNLIBS)
76
77 lint: lintcheck
78
79 # include library targets
80 include ../Makefile.targ
|
49 SRCDIR = .
50
51 CSTD= $(CSTD_GNU89)
52
53 # We really want to say this:
54 # CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I../common/inc
55 # but some system header files are replaced by local versions
56 # so we must put -I. ahead of the default include directories:
57 CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
58 LDLIBS += -lsocket -lnsl -lc
59 CFLAGS += $(CCVERBOSE)
60
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += -_gcc=-Wno-uninitialized
63
64 # not linted
65 SMATCH=off
66
67 ROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%)
68
69 COMPATLINKS= /usr/lib/$(DYNLIB)
70
71 .KEEP_STATE:
72
73 LIBS = $(DYNLIB)
74
75 all: $(LIBS)
76
77 install: all $(ROOTDYNLIBS) $(ROOTCOMPATLINKS)
78
79 lint: lintcheck
80
81 # include library targets
82 include ../Makefile.targ
|