Do not directly include psdk directory when building host tools

svn path=/trunk/; revision=29976
This commit is contained in:
Hervé Poussineau 2007-10-30 10:48:53 +00:00
parent 6d815bb00a
commit 11f4785469
2 changed files with 4 additions and 4 deletions

View file

@ -5,8 +5,8 @@ TOOLS_INT_ = $(TOOLS_INT)$(SEP)
TOOLS_OUT = $(OUTPUT_)$(TOOLS_BASE)
TOOLS_OUT_ = $(TOOLS_OUT)$(SEP)
TOOLS_CFLAGS = -Wall -Wpointer-arith -Wno-strict-aliasing $(HOST_CFLAGS)
TOOLS_CPPFLAGS = -Wall -Wpointer-arith $(HOST_CPPFLAGS)
TOOLS_CFLAGS = -Wall -Wpointer-arith -Wno-strict-aliasing -D__REACTOS__ $(HOST_CFLAGS)
TOOLS_CPPFLAGS = -Wall -Wpointer-arith -D__REACTOS__ $(HOST_CPPFLAGS)
TOOLS_LFLAGS = $(HOST_LFLAGS)
# HACK: Remove those lines once host tools don't use target headers anymore

View file

@ -57,9 +57,9 @@ WIDL_OBJECTS = \
$(addprefix $(INTERMEDIATE_), $(WIDL_SOURCES:.c=.o))
WIDL_HOST_CFLAGS = \
-DINT16=SHORT -D__USE_W32API -DYYDEBUG=1 -D__REACTOS__=1 \
-DINT16=SHORT -DYYDEBUG=1 \
-I$(WIDL_BASE) -I$(WPP_BASE) \
-Iinclude/reactos/wine -Iinclude/reactos -Iinclude -Iinclude/psdk \
-Iinclude/reactos/wine -Iinclude/reactos \
-I$(INTERMEDIATE_)include $(TOOLS_CFLAGS)
WIDL_HOST_LFLAGS = $(TOOLS_LFLAGS)