118 -I$(ROOT)/usr/include/ast \
119 -I$(ROOT)/usr/include \
120 -D_BLD_cmd \
121 -D_PACKAGE_ast \
122 -D_BLD_DLL \
123 '-DERROR_CATALOG="libcmd"' \
124 '-DUSAGE_LICENSE=\
125 "[-author?Glenn Fowler <gsf@research.att.com>]"\
126 "[-author?David Korn <dgk@research.att.com>]"\
127 "[-copyright?Copyright (c) 1992-2010 AT&T Intellectual Property]"\
128 "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
129 "[--catalog?libcmd]"'
130
131 CFLAGS += \
132 $(ASTCFLAGS)
133 CFLAGS64 += \
134 $(ASTCFLAGS64)
135
136 CERRWARN += -_gcc=-Wno-unused-value
137 CERRWARN += -_gcc=-Wno-parentheses
138 CERRWARN += -_gcc=-Wno-uninitialized
139 CERRWARN += -_gcc=-Wno-unused-variable
140 CERRWARN += -_gcc=-Wno-implicit-function-declaration
141
142 # not linted
143 SMATCH=off
144
145 pics/cut.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
146 pics/sync.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
147 pics/vmstate.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
148
149 .KEEP_STATE:
150
151 all: $(LIBS)
152
153 #
154 # libcmd is not lint-clean yet; fake up a target. (You can use
155 # "make lintcheck" to actually run lint; please send all lint fixes
156 # upstream (to AT&T) so the next update will pull them into ON.)
157 #
158 lint:
|
118 -I$(ROOT)/usr/include/ast \
119 -I$(ROOT)/usr/include \
120 -D_BLD_cmd \
121 -D_PACKAGE_ast \
122 -D_BLD_DLL \
123 '-DERROR_CATALOG="libcmd"' \
124 '-DUSAGE_LICENSE=\
125 "[-author?Glenn Fowler <gsf@research.att.com>]"\
126 "[-author?David Korn <dgk@research.att.com>]"\
127 "[-copyright?Copyright (c) 1992-2010 AT&T Intellectual Property]"\
128 "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
129 "[--catalog?libcmd]"'
130
131 CFLAGS += \
132 $(ASTCFLAGS)
133 CFLAGS64 += \
134 $(ASTCFLAGS64)
135
136 CERRWARN += -_gcc=-Wno-unused-value
137 CERRWARN += -_gcc=-Wno-parentheses
138 CERRWARN += $(CNOWARN_UNINIT)
139 CERRWARN += -_gcc=-Wno-unused-variable
140 CERRWARN += -_gcc=-Wno-implicit-function-declaration
141
142 # not linted
143 SMATCH=off
144
145 pics/cut.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
146 pics/sync.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
147 pics/vmstate.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
148
149 .KEEP_STATE:
150
151 all: $(LIBS)
152
153 #
154 # libcmd is not lint-clean yet; fake up a target. (You can use
155 # "make lintcheck" to actually run lint; please send all lint fixes
156 # upstream (to AT&T) so the next update will pull them into ON.)
157 #
158 lint:
|