Added ability to call winapi_check from the Makefiles.
This commit is contained in:
parent
410d89970d
commit
385dc18cea
|
@ -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)
|
||||||
|
|
||||||
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)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue