42
43 # include library definitions
44 include ../Makefile.lib
45
46 # install this library in the root filesystem
47 include ../Makefile.rootfs
48
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
|
42
43 # include library definitions
44 include ../Makefile.lib
45
46 # install this library in the root filesystem
47 include ../Makefile.rootfs
48
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 += $(CNOWARN_UNINIT)
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
|