Subversion Repositories DevTools

Rev

Rev 261 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 261 Rev 6177
Line 121... Line 121...
121
#       -oo       Generate lint object
121
#       -oo       Generate lint object
122
#
122
#
123
lint_arflags	+=
123
lint_arflags	+=
124
 
124
 
125
define ARLINT
125
define ARLINT
126
	$(XX_PRE)echo [$(LIBNAME)] AR linting..
126
	$(XX_PRE)echo '[$(LIBNAME)] AR linting..'
127
	$(XX_PRE)$(lint_cmd) $(lint_cfg_file) -u '-oo($(LIBNAME))' \
127
	$(XX_PRE)$(lint_cmd) $(lint_cfg_file) -u '-oo($(LIBNAME))' \
128
		$(lint_flags) $(lint_arflags) $(LIBCSRC) $(LIBCXXSRC)
128
		$(lint_flags) $(lint_arflags) $(LIBCSRC) $(LIBCXXSRC)
129
endef
129
endef
130
 
130
 
131
 
131
 
Line 140... Line 140...
140
	-u \
140
	-u \
141
	--u \
141
	--u \
142
	-e728
142
	-e728
143
 
143
 
144
define shlint_pre
144
define shlint_pre
145
	echo [$(SHLIBNAME)] SH linting..; \
145
	echo '[$(SHLIBNAME)] SH linting..'; \
146
	export LINTLIBPATH; LINTLIBPATH="$(lint_libpath)"; \
146
	export LINTLIBPATH; LINTLIBPATH="$(lint_libpath)"; \
147
	$(cmdfile) -NwkWeo$(SHLIBNAME).lnt \
147
	$(cmdfile) -NwkWeo$(SHLIBNAME).lnt \
148
		$(lint_shflags) "$($(SHLIBBASE)_shlnt)"
148
		$(lint_shflags) "$($(SHLIBBASE)_shlnt)"
149
endef
149
endef
150
 
150
 
Line 174... Line 174...
174
lint_ldflags	+= \
174
lint_ldflags	+= \
175
	--u \
175
	--u \
176
	-e728
176
	-e728
177
 
177
 
178
define ldlint_pre
178
define ldlint_pre
179
	echo [$(PROGNAME)] PROG linting..; \
179
	echo '[$(PROGNAME)] PROG linting..'; \
180
	export LINTLIBPATH; LINTLIBPATH="$(lint_libpath)"; \
180
	export LINTLIBPATH; LINTLIBPATH="$(lint_libpath)"; \
181
	$(cmdfile) -NwkWeo$(PROGNAME).lnt \
181
	$(cmdfile) -NwkWeo$(PROGNAME).lnt \
182
		$(lint_ldflags) "$($(PROGBASE)_ldlnt)"
182
		$(lint_ldflags) "$($(PROGBASE)_ldlnt)"
183
endef
183
endef
184
 
184