Author: hpoussin
Date: Tue Oct 30 13:48:53 2007
New Revision: 29976
URL:
http://svn.reactos.org/svn/reactos?rev=29976&view=rev
Log:
Do not directly include psdk directory when building host tools
Modified:
trunk/reactos/tools/tools.mak
trunk/reactos/tools/widl/widl.mak
Modified: trunk/reactos/tools/tools.mak
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/tools.mak?rev=29976&…
==============================================================================
--- trunk/reactos/tools/tools.mak (original)
+++ trunk/reactos/tools/tools.mak Tue Oct 30 13:48:53 2007
@@ -5,8 +5,8 @@
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
Modified: trunk/reactos/tools/widl/widl.mak
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widl.mak?rev=29…
==============================================================================
--- trunk/reactos/tools/widl/widl.mak (original)
+++ trunk/reactos/tools/widl/widl.mak Tue Oct 30 13:48:53 2007
@@ -57,9 +57,9 @@
$(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)