automake/nmake: don't run checkAPIs on lex and yacc files.
The lex files use malloc and friends which is prohibited; don't check them (until checkAPIs becomes smart enough to realize this is OK). This mirrors what is done in cmake. Change-Id: Ie80ea7a9b7c0e25c70c8edf3671e80a493ea1b2f Reviewed-on: https://code.wireshark.org/review/15377 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
fee7e95b3a
commit
d5031d5cf4
|
@ -82,6 +82,4 @@ grammar.c : $(LEMON) $(lemon_srcdir)/lempar.c $(srcdir)/grammar.lemon
|
|||
|
||||
checkapi:
|
||||
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \
|
||||
-sourcedir=$(srcdir) \
|
||||
$(GENERATOR_FILES) \
|
||||
$(NONGENERATED_C_FILES)
|
||||
-sourcedir=$(srcdir) $(NONGENERATED_C_FILES)
|
||||
|
|
|
@ -77,5 +77,4 @@ $(LEMON)\lemon.exe:
|
|||
|
||||
checkapi:
|
||||
$(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
|
||||
$(GENERATOR_FILES) \
|
||||
$(NONGENERATED_C_FILES)
|
||||
|
|
|
@ -113,5 +113,4 @@ checkapi:
|
|||
## 'abort' checking disabled for now pending resolution of existing use of g_assert & g_error
|
||||
## $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput \
|
||||
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \
|
||||
-sourcedir=$(srcdir) \
|
||||
$(NONGENERATED_C_FILES) $(GENERATOR_FILES)
|
||||
-sourcedir=$(srcdir) $(NONGENERATED_C_FILES)
|
||||
|
|
|
@ -79,4 +79,4 @@ maintainer-clean: distclean
|
|||
checkapi:
|
||||
## 'abort' checking disabled for now pending resolution of existing use of g_assert & g_error
|
||||
## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput $(NONGENERATED_C_FILES) $(GENERATOR_FILES)
|
||||
$(PERL) ../tools/checkAPIs.pl -g termoutput -build $(NONGENERATED_C_FILES) $(GENERATOR_FILES)
|
||||
$(PERL) ../tools/checkAPIs.pl -g termoutput -build $(NONGENERATED_C_FILES)
|
||||
|
|
Loading…
Reference in New Issue