Author: hpoussin
Date: Fri Aug 3 15:54:33 2007
New Revision: 28126
URL:
http://svn.reactos.org/svn/reactos?rev=28126&view=rev
Log:
Move some more autogenerated files to intermediate directory
Remove POSTAUTO hack in Makefile
Modified:
trunk/reactos/Makefile
trunk/reactos/ReactOS-i386.rbuild
trunk/reactos/dll/ntdll/ntdll.rbuild
trunk/reactos/dll/win32/kernel32/kernel32.rbuild
trunk/reactos/lib/win32ksys/win32ksys.rbuild
trunk/reactos/ntoskrnl/ntoskrnl.rbuild
trunk/reactos/subsystems/win32/win32k/win32k.rbuild
trunk/reactos/tools/buildno/buildno.mak
trunk/reactos/tools/gendib/gendib.mak
trunk/reactos/tools/nci/nci.mak
trunk/reactos/tools/rbuild/project.cpp
Modified: trunk/reactos/Makefile
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/Makefile?rev=28126&r1=…
==============================================================================
--- trunk/reactos/Makefile (original)
+++ trunk/reactos/Makefile Fri Aug 3 15:54:33 2007
@@ -391,11 +391,11 @@
NTOSKRNL_MC = ntoskrnl$(SEP)ntoskrnl.mc
KERNEL32_MC = dll$(SEP)win32$(SEP)kernel32$(SEP)kernel32.mc
-BUILDNO_H = include$(SEP)reactos$(SEP)buildno.h
-BUGCODES_H = include$(SEP)reactos$(SEP)bugcodes.h
-BUGCODES_RC = ntoskrnl$(SEP)bugcodes.rc
-ERRCODES_H = include$(SEP)reactos$(SEP)errcodes.h
-ERRCODES_RC = dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
+BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
+BUGCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)bugcodes.h
+BUGCODES_RC = $(INTERMEDIATE_)ntoskrnl$(SEP)bugcodes.rc
+ERRCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)errcodes.h
+ERRCODES_RC = $(INTERMEDIATE_)dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
include lib/lib.mak
@@ -414,15 +414,10 @@
$(GENDIB_DIB_FILES) \
$(NCI_SERVICE_FILES)
-POSTAUTO : \
- psdk \
- $(IDL_FILES)
-
$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES)
${mkdir} $(INTERMEDIATE_)media$(SEP)inf 2>$(NUL)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -rReactOS-$(ARCH).rbuild mingw
- @$(MAKE) POSTAUTO
world: all bootcd livecd
@@ -494,10 +489,14 @@
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) msvc
$(BUGCODES_H) $(BUGCODES_RC): $(WMC_TARGET) $(NTOSKRNL_MC)
+ ${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)ntoskrnl 2>$(NUL)
$(ECHO_WMC)
$(Q)$(WMC_TARGET) -i -H $(BUGCODES_H) -o $(BUGCODES_RC) $(NTOSKRNL_MC)
$(ERRCODES_H) $(ERRCODES_RC): $(WMC_TARGET) $(KERNEL32_MC)
+ ${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)dll$(SEP)win32$(SEP)kernel32 2>$(NUL)
$(ECHO_WMC)
$(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC)
Modified: trunk/reactos/ReactOS-i386.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-i386.rbuild?rev=28…
==============================================================================
--- trunk/reactos/ReactOS-i386.rbuild (original)
+++ trunk/reactos/ReactOS-i386.rbuild Fri Aug 3 15:54:33 2007
@@ -65,6 +65,7 @@
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
+ <include root="intermediate">include/reactos</include>
<include>include/reactos/libs</include>
<directory name="base">
Modified: trunk/reactos/dll/ntdll/ntdll.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ntdll.rbuild?rev…
==============================================================================
--- trunk/reactos/dll/ntdll/ntdll.rbuild (original)
+++ trunk/reactos/dll/ntdll/ntdll.rbuild Fri Aug 3 15:54:33 2007
@@ -47,19 +47,8 @@
<directory name="inc">
<pch>ntdll.h</pch>
</directory>
- <if property="ARCH" value="i386">
- <directory name="i386">
- <file>napi.S</file>
- </directory>
- </if>
- <if property="ARCH" value="powerpc">
- <directory name="powerpc">
- <file>napi.S</file>
- </directory>
- </if>
- <if property="ARCH" value="mips">
- <directory name="mips">
- <file>napi.S</file>
- </directory>
- </if>
+
+ <directory name="." root="intermediate">
+ <file>napi.S</file>
+ </directory>
</module>
Modified: trunk/reactos/dll/win32/kernel32/kernel32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/kernel3…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/kernel32.rbuild (original)
+++ trunk/reactos/dll/win32/kernel32/kernel32.rbuild Fri Aug 3 15:54:33 2007
@@ -117,6 +117,7 @@
<module name="kernel32" type="win32dll"
baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32"
installname="kernel32.dll">
<importlibrary definition="kernel32.def" />
<include base="kernel32">.</include>
+ <include base="kernel32"
root="intermediate">.</include>
<include base="kernel32">include</include>
<define name="_DISABLE_TIDENTS" />
<define name="__USE_W32API" />
Modified: trunk/reactos/lib/win32ksys/win32ksys.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/win32ksys/win32ksys.rb…
==============================================================================
--- trunk/reactos/lib/win32ksys/win32ksys.rbuild (original)
+++ trunk/reactos/lib/win32ksys/win32ksys.rbuild Fri Aug 3 15:54:33 2007
@@ -3,20 +3,7 @@
<define name="__REACTOS__" />
<define name="__USE_W32API" />
- <if property="ARCH" value="i386">
- <directory name="i386">
- <file>win32k.S</file>
- </directory>
- </if>
- <if property="ARCH" value="powerpc">
- <directory name="powerpc">
- <file>win32k.S</file>
- </directory>
- </if>
- <if property="ARCH" value="mips">
- <directory name="mips">
- <file>win32k.S</file>
- </directory>
- </if>
-
+ <directory name="." root="intermediate">
+ <file>win32k.S</file>
+ </directory>
</module>
Modified: trunk/reactos/ntoskrnl/ntoskrnl.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl.rbuild?r…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl.rbuild (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl.rbuild Fri Aug 3 15:54:33 2007
@@ -14,6 +14,7 @@
</if>
<include base="cmlib">.</include>
<include base="ntoskrnl">include</include>
+ <include base="ntoskrnl"
root="intermediate"></include>
<include base="ReactOS">include/reactos/drivers</include>
<library>csq</library>
<library>hal</library>
@@ -121,23 +122,15 @@
<file>dbgkutil.c</file>
<file>dbgkobj.c</file>
</directory>
+ <directory name="ex" root="intermediate">
+ <file>zw.S</file>
+ </directory>
<directory name="ex">
<if property="ARCH" value="i386">
<directory name="i386">
<file>interlck_asm.S</file>
<file>fastinterlck_asm.S</file>
<file>ioport.S</file>
- <file>zw.S</file>
- </directory>
- </if>
- <if property="ARCH" value="powerpc">
- <directory name="powerpc">
- <file>zw.S</file>
- </directory>
- </if>
- <if property="ARCH" value="mips">
- <directory name="mips">
- <file>zw.S</file>
</directory>
</if>
<file>atom.c</file>
Modified: trunk/reactos/subsystems/win32/win32k/win32k.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/wi…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/win32k.rbuild (original)
+++ trunk/reactos/subsystems/win32/win32k/win32k.rbuild Fri Aug 3 15:54:33 2007
@@ -12,16 +12,19 @@
<define name="_WIN32K_" />
<pch>w32k.h</pch>
+ <directory name="dib" root="intermediate">
+ <file>dib8gen.c</file>
+ <file>dib16gen.c</file>
+ <file>dib32gen.c</file>
+ </directory>
+
<directory name="dib">
<file>dib1bpp.c</file>
<file>dib4bpp.c</file>
<file>dib8bpp.c</file>
- <file>dib8gen.c</file>
<file>dib16bpp.c</file>
- <file>dib16gen.c</file>
<file>dib24bpp.c</file>
<file>dib32bpp.c</file>
- <file>dib32gen.c</file>
<file>dib.c</file>
<if property="ARCH" value="i386">
Modified: trunk/reactos/tools/buildno/buildno.mak
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/buildno/buildno.mak?…
==============================================================================
--- trunk/reactos/tools/buildno/buildno.mak (original)
+++ trunk/reactos/tools/buildno/buildno.mak Fri Aug 3 15:54:33 2007
@@ -46,5 +46,6 @@
clean: buildno_clean
$(BUILDNO_H): $(BUILDNO_TARGET)
+ ${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
$(ECHO_BUILDNO)
$(Q)$(BUILDNO_TARGET) $(BUILDNO_QUIET) $(BUILDNO_H)
Modified: trunk/reactos/tools/gendib/gendib.mak
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/gendib/gendib.mak?re…
==============================================================================
--- trunk/reactos/tools/gendib/gendib.mak (original)
+++ trunk/reactos/tools/gendib/gendib.mak Fri Aug 3 15:54:33 2007
@@ -41,7 +41,7 @@
-@$(rm) $(GENDIB_TARGET) $(GENDIB_OBJECTS) 2>$(NUL)
clean: gendib_clean
-GENDIB_DIB_DIR = subsystems$(SEP)win32$(SEP)win32k$(SEP)dib
+GENDIB_DIB_DIR = $(INTERMEDIATE_)subsystems$(SEP)win32$(SEP)win32k$(SEP)dib
GENDIB_DIB_FILES = \
$(GENDIB_DIB_DIR)$(SEP)dib32gen.c \
@@ -49,5 +49,6 @@
$(GENDIB_DIB_DIR)$(SEP)dib8gen.c
$(GENDIB_DIB_FILES): $(GENDIB_TARGET)
+ ${mkdir} $(GENDIB_DIB_DIR) 2>$(NUL)
$(ECHO_GENDIB)
$(Q)$(GENDIB_TARGET) $(GENDIB_DIB_DIR)
Modified: trunk/reactos/tools/nci/nci.mak
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/nci/nci.mak?rev=2812…
==============================================================================
--- trunk/reactos/tools/nci/nci.mak (original)
+++ trunk/reactos/tools/nci/nci.mak Fri Aug 3 15:54:33 2007
@@ -43,16 +43,16 @@
# WIN32K.SYS
WIN32K_SVC_DB = subsystems$(SEP)win32$(SEP)win32k$(SEP)w32ksvc.db
-WIN32K_SERVICE_TABLE = subsystems$(SEP)win32$(SEP)win32k$(SEP)include$(SEP)napi.h
-WIN32K_STUBS = lib$(SEP)win32ksys$(SEP)$(ARCH)$(SEP)win32k.S
+WIN32K_SERVICE_TABLE =
$(INTERMEDIATE_)subsystems$(SEP)win32$(SEP)win32k$(SEP)include$(SEP)napi.h
+WIN32K_STUBS = $(INTERMEDIATE_)lib$(SEP)win32ksys$(SEP)win32k.S
# NTOSKRNL.EXE
KERNEL_SVC_DB = ntoskrnl$(SEP)sysfuncs.lst
-KERNEL_SERVICE_TABLE = ntoskrnl$(SEP)include$(SEP)internal$(SEP)napi.h
-NTDLL_STUBS = dll$(SEP)ntdll$(SEP)$(ARCH)$(SEP)napi.S
-KERNEL_STUBS = ntoskrnl$(SEP)ex$(SEP)$(ARCH)$(SEP)zw.S
+KERNEL_SERVICE_TABLE = $(INTERMEDIATE_)ntoskrnl$(SEP)include$(SEP)internal$(SEP)napi.h
+NTDLL_STUBS = $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)napi.S
+KERNEL_STUBS = $(INTERMEDIATE_)ntoskrnl$(SEP)ex$(SEP)zw.S
NCI_SERVICE_FILES = \
$(KERNEL_SERVICE_TABLE) \
@@ -64,11 +64,11 @@
$(NCI_SERVICE_FILES): $(NCI_TARGET) $(KERNEL_SVC_DB) $(WIN32K_SVC_DB)
$(ECHO_NCI)
- ${mkdir} dll$(SEP)ntdll$(SEP)$(ARCH) 2>$(NUL)
- ${mkdir} ntoskrnl$(SEP)ex$(SEP)$(ARCH) 2>$(NUL)
- ${mkdir} dll$(SEP)win32$(SEP)gdi32$(SEP)misc$(SEP)$(ARCH) 2>$(NUL)
- ${mkdir} dll$(SEP)win32$(SEP)user32$(SEP)misc$(SEP)$(ARCH) 2>$(NUL)
- ${mkdir} lib$(SEP)win32ksys$(SEP)$(ARCH) 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)ntoskrnl$(SEP)include$(SEP)internal 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)dll$(SEP)ntdll 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)ntoskrnl$(SEP)ex$(SEP) 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)subsystems$(SEP)win32$(SEP)win32k$(SEP)include 2>$(NUL)
+ ${mkdir} $(INTERMEDIATE_)lib$(SEP)win32ksys 2>$(NUL)
$(Q)$(NCI_TARGET) -arch $(ARCH) \
$(KERNEL_SVC_DB) \
Modified: trunk/reactos/tools/rbuild/project.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/project.cpp?r…
==============================================================================
--- trunk/reactos/tools/rbuild/project.cpp (original)
+++ trunk/reactos/tools/rbuild/project.cpp Fri Aug 3 15:54:33 2007
@@ -240,7 +240,7 @@
s = s + sprintf ( s, "#endif /* __INCLUDE_CONFIG_H */\n" );
- FileSupportCode::WriteIfChanged ( buf, "include" + sSep + "roscfg.h"
);
+ FileSupportCode::WriteIfChanged ( buf, Environment::GetIntermediatePath() + sSep +
"include" + sSep + "roscfg.h" );
free ( buf );
}