57
58 dmod/$(MODULE) := LDLIBS += -lm -lproc
59
60 #
61 # We are not actually hardwiring some dependency on i86pc, we just need to
62 # include sys/param.h with _MACHDEP defined, and this forces the inclusion of
63 # machparam.h, even though we don't use anything there. This is a temporary
64 # kludge until we invent -DDONTINCLUDEMACHPARAM or something.
65 #
66 CPPFLAGS += -I$(SRC)/uts/i86pc
67 CPPFLAGS += -I$(SRC)/uts/i86xpv
68
69 # Needed to include c2/audit.h (from cred.h)
70 CPPFLAGS += -I$(SRC)/uts/common
71
72 # Needed to find include file mutex_impl.h
73 CPPFLAGS += -I$(SRC)/uts/intel
74
75 CERRWARN += -_gcc=-Wno-char-subscripts
76 CERRWARN += -_gcc=-Wno-unused-label
77 CERRWARN += -_gcc=-Wno-uninitialized
78 CERRWARN += -_gcc=-Wno-parentheses
79 CERRWARN += -_gcc=-Wno-type-limits
80
81 LINTFLAGS64 += -erroff=E_EMPTY_TRANSLATION_UNIT
82
83 MODSRCS_DIR = ../../../intel/modules/genunix
|
57
58 dmod/$(MODULE) := LDLIBS += -lm -lproc
59
60 #
61 # We are not actually hardwiring some dependency on i86pc, we just need to
62 # include sys/param.h with _MACHDEP defined, and this forces the inclusion of
63 # machparam.h, even though we don't use anything there. This is a temporary
64 # kludge until we invent -DDONTINCLUDEMACHPARAM or something.
65 #
66 CPPFLAGS += -I$(SRC)/uts/i86pc
67 CPPFLAGS += -I$(SRC)/uts/i86xpv
68
69 # Needed to include c2/audit.h (from cred.h)
70 CPPFLAGS += -I$(SRC)/uts/common
71
72 # Needed to find include file mutex_impl.h
73 CPPFLAGS += -I$(SRC)/uts/intel
74
75 CERRWARN += -_gcc=-Wno-char-subscripts
76 CERRWARN += -_gcc=-Wno-unused-label
77 CERRWARN += $(CNOWARN_UNINIT)
78 CERRWARN += -_gcc=-Wno-parentheses
79 CERRWARN += -_gcc=-Wno-type-limits
80
81 LINTFLAGS64 += -erroff=E_EMPTY_TRANSLATION_UNIT
82
83 MODSRCS_DIR = ../../../intel/modules/genunix
|