Added ability to call winapi_check from the Makefiles.

This commit is contained in:
Patrik Stridvall 1999-09-29 10:24:19 +00:00 committed by Alexandre Julliard
parent 410d89970d
commit 385dc18cea
2 changed files with 8 additions and 0 deletions

View File

@ -50,6 +50,7 @@ MANSPECS = -w $(TOPSRCDIR)/relay32/gdi32.spec \
LINT = @LINT@
LINTFLAGS = @LINTFLAGS@
ALLLINTFLAGS = $(LINTFLAGS) $(DEFS) $(OPTIONS) $(DIVINCL)
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi_check/winapi_check
BUILD = $(TOPOBJDIR)/tools/build@PROGEXT@
MAKEDEP = $(TOPOBJDIR)/tools/makedep@PROGEXT@
WINERC = $(TOPOBJDIR)/rc/winerc@PROGEXT@
@ -172,6 +173,11 @@ $(MODULE).ln : $(LINTS)
lint:: $(MODULE).ln
# Rules for Windows API checking
winapi_check::
$(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .
# Misc. rules
$(SPEC_SRCS:.spec=.spec.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/include/builtin32.h

View File

@ -215,6 +215,8 @@ EMULINTS = $(EMUOBJS:.o=.ln)
lint:: llib-lwine.ln $(EMULINTS)
$(LINT) $(ALLLINTFLAGS) -L. -lwine $(EMULINTS)
WINAPI_CHECK_EXTRA_FLAGS = --global
@MAKE_RULES@
Make.rules: Make.rules.in configure