Commit 385dc18c authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Added ability to call winapi_check from the Makefiles.

parent 410d8997
...@@ -50,6 +50,7 @@ MANSPECS = -w $(TOPSRCDIR)/relay32/gdi32.spec \ ...@@ -50,6 +50,7 @@ MANSPECS = -w $(TOPSRCDIR)/relay32/gdi32.spec \
LINT = @LINT@ LINT = @LINT@
LINTFLAGS = @LINTFLAGS@ LINTFLAGS = @LINTFLAGS@
ALLLINTFLAGS = $(LINTFLAGS) $(DEFS) $(OPTIONS) $(DIVINCL) ALLLINTFLAGS = $(LINTFLAGS) $(DEFS) $(OPTIONS) $(DIVINCL)
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi_check/winapi_check
BUILD = $(TOPOBJDIR)/tools/build@PROGEXT@ BUILD = $(TOPOBJDIR)/tools/build@PROGEXT@
MAKEDEP = $(TOPOBJDIR)/tools/makedep@PROGEXT@ MAKEDEP = $(TOPOBJDIR)/tools/makedep@PROGEXT@
WINERC = $(TOPOBJDIR)/rc/winerc@PROGEXT@ WINERC = $(TOPOBJDIR)/rc/winerc@PROGEXT@
...@@ -172,6 +173,11 @@ $(MODULE).ln : $(LINTS) ...@@ -172,6 +173,11 @@ $(MODULE).ln : $(LINTS)
lint:: $(MODULE).ln lint:: $(MODULE).ln
# Rules for Windows API checking
winapi_check::
$(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .
# Misc. rules # Misc. rules
$(SPEC_SRCS:.spec=.spec.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/include/builtin32.h $(SPEC_SRCS:.spec=.spec.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/include/builtin32.h
......
...@@ -215,6 +215,8 @@ EMULINTS = $(EMUOBJS:.o=.ln) ...@@ -215,6 +215,8 @@ EMULINTS = $(EMUOBJS:.o=.ln)
lint:: llib-lwine.ln $(EMULINTS) lint:: llib-lwine.ln $(EMULINTS)
$(LINT) $(ALLLINTFLAGS) -L. -lwine $(EMULINTS) $(LINT) $(ALLLINTFLAGS) -L. -lwine $(EMULINTS)
WINAPI_CHECK_EXTRA_FLAGS = --global
@MAKE_RULES@ @MAKE_RULES@
Make.rules: Make.rules.in configure Make.rules: Make.rules.in configure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment