22
23 include ../../../Makefile.cmd
24
25 ROOTMANIFESTDIR= $(ROOTSVCNETWORKROUTING)
26
27 #
28 # in.routed uses ancillary data features available through
29 # the Open Group's Networking Services standard. The following
30 # pre-processor definitions enable these features.
31 #
32 _D_XOPEN_EXTN = -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
33
34 # Turning on __EXTENSIONS__ breaks lint, and we need __EXTENSIONS__.
35 # This is really a lint problem, so around the breakage.
36 LINTFLAGS += -erroff=E_FUNC_DECL_VAR_ARG2 -erroff=E_INCONS_VAL_TYPE_DECL2 \
37 -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_ARG_USED2
38
39 CPPFLAGS += $(_D_XOPEN_EXTN)
40 CFLAGS += $(CCVERBOSE)
41 CERRWARN += -_gcc=-Wno-parentheses
42 CERRWARN += -_gcc=-Wno-uninitialized
43 # not linted
44 SMATCH=off
45
46 LDLIBS += -lxnet -lmd -lsocket
47 CLEAN_FILES += $(ROUTEDOBJS) $(RTQUERYOBJS)
48 CLOBBERFILES += $(ROUTEDPROG) $(RTQUERYPROG)
49 #
50 # Message catalog
51 #
52 POFILE= in.routed.po
53 POFILES= $(POFILEOBJS:.o=.po)
54 #
55 $(ROUTEDPROG):= LDLIBS += -lkstat
56 lint := LDLIBS += -lkstat
57
58 # This needs to be done because of SPARC/x86 differences. On x86,
59 # double has required alignment of only 4 bytes, but on SPARC it's 8
60 # bytes. This means that sockaddr_in can be casted to
61 # sockaddr_storage without complaint on x86, but requires a
62 # suppression directive on SPARC.
|
22
23 include ../../../Makefile.cmd
24
25 ROOTMANIFESTDIR= $(ROOTSVCNETWORKROUTING)
26
27 #
28 # in.routed uses ancillary data features available through
29 # the Open Group's Networking Services standard. The following
30 # pre-processor definitions enable these features.
31 #
32 _D_XOPEN_EXTN = -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
33
34 # Turning on __EXTENSIONS__ breaks lint, and we need __EXTENSIONS__.
35 # This is really a lint problem, so around the breakage.
36 LINTFLAGS += -erroff=E_FUNC_DECL_VAR_ARG2 -erroff=E_INCONS_VAL_TYPE_DECL2 \
37 -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_ARG_USED2
38
39 CPPFLAGS += $(_D_XOPEN_EXTN)
40 CFLAGS += $(CCVERBOSE)
41 CERRWARN += -_gcc=-Wno-parentheses
42 CERRWARN += $(CNOWARN_UNINIT)
43 # not linted
44 SMATCH=off
45
46 LDLIBS += -lxnet -lmd -lsocket
47 CLEAN_FILES += $(ROUTEDOBJS) $(RTQUERYOBJS)
48 CLOBBERFILES += $(ROUTEDPROG) $(RTQUERYPROG)
49 #
50 # Message catalog
51 #
52 POFILE= in.routed.po
53 POFILES= $(POFILEOBJS:.o=.po)
54 #
55 $(ROUTEDPROG):= LDLIBS += -lkstat
56 lint := LDLIBS += -lkstat
57
58 # This needs to be done because of SPARC/x86 differences. On x86,
59 # double has required alignment of only 4 bytes, but on SPARC it's 8
60 # bytes. This means that sockaddr_in can be casted to
61 # sockaddr_storage without complaint on x86, but requires a
62 # suppression directive on SPARC.
|