81 xterm \
82 xterms
83
84 LINTFLAGS += -n -errtags=yes
85
86 # The prom interfaces (the prom_* files) are compiled with -D_KERNEL, which
87 # teaches them about the kernel version of the synchronization functions, while
88 # the core of kmdb, which is compiled without -D_KERNEL, knows about the
89 # userland versions. Even though nobody actually uses either one, lint
90 # complains that both know about different versions. The same thing applies
91 # to the driver, parts of which are executed directly by the kernel, and other
92 # parts which are called by kmdb via the auxv.
93 ALLLINTFLAGS = $(LINTFLAGS) \
94 -xerroff=E_FUNC_DECL_VAR_ARG2 \
95 -xerroff=E_INCONS_ARG_DECL \
96 -xerroff=E_INCONS_ARG_DECL2 \
97 -xerroff=E_INCONS_ARG_USED2 \
98 -xerroff=E_INCONS_VAL_TYPE_DECL2 \
99 -xerroff=E_INCONS_VAL_TYPE_USED2
100
101 CERRWARN += -_gcc=-Wno-uninitialized
102 CERRWARN += -_gcc=-Wno-unused-label
103 CERRWARN += -_gcc=-Wno-char-subscripts
104 CERRWARN += -_gcc=-Wno-clobbered
105 CERRWARN += -_gcc=-Wno-unused-variable
106 CERRWARN += -_gcc=-Wno-parentheses
107
108 MAPFILE = mapfile
109 MAPFILE_INTERMEDIATE = $(MAPFILE).i
110 MAPFILE_TEMPLATE = ../../../common/kmdb/mapfile_skel
111 MAPFILE_SOURCES_COMMON = \
112 ../../../common/kmdb/kmdb_dpi.h \
113 ../../../common/kmdb/kmdb_kctl.h \
114 ../../../common/kmdb/kmdb_kdi.h \
115 ../../../common/kmdb/kmdb_wr.h \
116 ../../../common/mdb/mdb_ctf.h \
117 ../../../common/mdb/mdb_ks.h \
118 ../../../common/mdb/mdb_modapi.h \
119 ../../../common/mdb/mdb_param.h \
120 ../../../common/mdb/mdb_whatis.h
121
|
81 xterm \
82 xterms
83
84 LINTFLAGS += -n -errtags=yes
85
86 # The prom interfaces (the prom_* files) are compiled with -D_KERNEL, which
87 # teaches them about the kernel version of the synchronization functions, while
88 # the core of kmdb, which is compiled without -D_KERNEL, knows about the
89 # userland versions. Even though nobody actually uses either one, lint
90 # complains that both know about different versions. The same thing applies
91 # to the driver, parts of which are executed directly by the kernel, and other
92 # parts which are called by kmdb via the auxv.
93 ALLLINTFLAGS = $(LINTFLAGS) \
94 -xerroff=E_FUNC_DECL_VAR_ARG2 \
95 -xerroff=E_INCONS_ARG_DECL \
96 -xerroff=E_INCONS_ARG_DECL2 \
97 -xerroff=E_INCONS_ARG_USED2 \
98 -xerroff=E_INCONS_VAL_TYPE_DECL2 \
99 -xerroff=E_INCONS_VAL_TYPE_USED2
100
101 CERRWARN += $(CNOWARN_UNINIT)
102 CERRWARN += -_gcc=-Wno-unused-label
103 CERRWARN += -_gcc=-Wno-char-subscripts
104 CERRWARN += -_gcc=-Wno-clobbered
105 CERRWARN += -_gcc=-Wno-unused-variable
106 CERRWARN += -_gcc=-Wno-parentheses
107
108 MAPFILE = mapfile
109 MAPFILE_INTERMEDIATE = $(MAPFILE).i
110 MAPFILE_TEMPLATE = ../../../common/kmdb/mapfile_skel
111 MAPFILE_SOURCES_COMMON = \
112 ../../../common/kmdb/kmdb_dpi.h \
113 ../../../common/kmdb/kmdb_kctl.h \
114 ../../../common/kmdb/kmdb_kdi.h \
115 ../../../common/kmdb/kmdb_wr.h \
116 ../../../common/mdb/mdb_ctf.h \
117 ../../../common/mdb/mdb_ks.h \
118 ../../../common/mdb/mdb_modapi.h \
119 ../../../common/mdb/mdb_param.h \
120 ../../../common/mdb/mdb_whatis.h
121
|