mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:52:57 +00:00
Move some more autogenerated files to intermediate directory
Remove POSTAUTO hack in Makefile svn path=/trunk/; revision=28126
This commit is contained in:
parent
1a47ede2ff
commit
df770c6d06
11 changed files with 42 additions and 67 deletions
|
@ -391,11 +391,11 @@ endif
|
||||||
|
|
||||||
NTOSKRNL_MC = ntoskrnl$(SEP)ntoskrnl.mc
|
NTOSKRNL_MC = ntoskrnl$(SEP)ntoskrnl.mc
|
||||||
KERNEL32_MC = dll$(SEP)win32$(SEP)kernel32$(SEP)kernel32.mc
|
KERNEL32_MC = dll$(SEP)win32$(SEP)kernel32$(SEP)kernel32.mc
|
||||||
BUILDNO_H = include$(SEP)reactos$(SEP)buildno.h
|
BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
|
||||||
BUGCODES_H = include$(SEP)reactos$(SEP)bugcodes.h
|
BUGCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)bugcodes.h
|
||||||
BUGCODES_RC = ntoskrnl$(SEP)bugcodes.rc
|
BUGCODES_RC = $(INTERMEDIATE_)ntoskrnl$(SEP)bugcodes.rc
|
||||||
ERRCODES_H = include$(SEP)reactos$(SEP)errcodes.h
|
ERRCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)errcodes.h
|
||||||
ERRCODES_RC = dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
|
ERRCODES_RC = $(INTERMEDIATE_)dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
|
||||||
|
|
||||||
|
|
||||||
include lib/lib.mak
|
include lib/lib.mak
|
||||||
|
@ -414,15 +414,10 @@ PREAUTO := \
|
||||||
$(GENDIB_DIB_FILES) \
|
$(GENDIB_DIB_FILES) \
|
||||||
$(NCI_SERVICE_FILES)
|
$(NCI_SERVICE_FILES)
|
||||||
|
|
||||||
POSTAUTO : \
|
|
||||||
psdk \
|
|
||||||
$(IDL_FILES)
|
|
||||||
|
|
||||||
$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES)
|
$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES)
|
||||||
${mkdir} $(INTERMEDIATE_)media$(SEP)inf 2>$(NUL)
|
${mkdir} $(INTERMEDIATE_)media$(SEP)inf 2>$(NUL)
|
||||||
$(ECHO_RBUILD)
|
$(ECHO_RBUILD)
|
||||||
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -rReactOS-$(ARCH).rbuild mingw
|
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -rReactOS-$(ARCH).rbuild mingw
|
||||||
@$(MAKE) POSTAUTO
|
|
||||||
|
|
||||||
world: all bootcd livecd
|
world: all bootcd livecd
|
||||||
|
|
||||||
|
@ -494,10 +489,14 @@ msvc: $(RBUILD_TARGET)
|
||||||
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) msvc
|
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) msvc
|
||||||
|
|
||||||
$(BUGCODES_H) $(BUGCODES_RC): $(WMC_TARGET) $(NTOSKRNL_MC)
|
$(BUGCODES_H) $(BUGCODES_RC): $(WMC_TARGET) $(NTOSKRNL_MC)
|
||||||
|
${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
|
||||||
|
${mkdir} $(INTERMEDIATE_)ntoskrnl 2>$(NUL)
|
||||||
$(ECHO_WMC)
|
$(ECHO_WMC)
|
||||||
$(Q)$(WMC_TARGET) -i -H $(BUGCODES_H) -o $(BUGCODES_RC) $(NTOSKRNL_MC)
|
$(Q)$(WMC_TARGET) -i -H $(BUGCODES_H) -o $(BUGCODES_RC) $(NTOSKRNL_MC)
|
||||||
|
|
||||||
$(ERRCODES_H) $(ERRCODES_RC): $(WMC_TARGET) $(KERNEL32_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)
|
$(ECHO_WMC)
|
||||||
$(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC)
|
$(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC)
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
<include>include/GL</include>
|
<include>include/GL</include>
|
||||||
<include>include/ndk</include>
|
<include>include/ndk</include>
|
||||||
<include>include/reactos</include>
|
<include>include/reactos</include>
|
||||||
|
<include root="intermediate">include/reactos</include>
|
||||||
<include>include/reactos/libs</include>
|
<include>include/reactos/libs</include>
|
||||||
|
|
||||||
<directory name="base">
|
<directory name="base">
|
||||||
|
|
|
@ -47,19 +47,8 @@
|
||||||
<directory name="inc">
|
<directory name="inc">
|
||||||
<pch>ntdll.h</pch>
|
<pch>ntdll.h</pch>
|
||||||
</directory>
|
</directory>
|
||||||
<if property="ARCH" value="i386">
|
|
||||||
<directory name="i386">
|
<directory name="." root="intermediate">
|
||||||
<file>napi.S</file>
|
<file>napi.S</file>
|
||||||
</directory>
|
</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>
|
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
<module name="kernel32" type="win32dll" baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32" installname="kernel32.dll">
|
<module name="kernel32" type="win32dll" baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32" installname="kernel32.dll">
|
||||||
<importlibrary definition="kernel32.def" />
|
<importlibrary definition="kernel32.def" />
|
||||||
<include base="kernel32">.</include>
|
<include base="kernel32">.</include>
|
||||||
|
<include base="kernel32" root="intermediate">.</include>
|
||||||
<include base="kernel32">include</include>
|
<include base="kernel32">include</include>
|
||||||
<define name="_DISABLE_TIDENTS" />
|
<define name="_DISABLE_TIDENTS" />
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
|
|
|
@ -3,20 +3,7 @@
|
||||||
<define name="__REACTOS__" />
|
<define name="__REACTOS__" />
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
|
|
||||||
<if property="ARCH" value="i386">
|
<directory name="." root="intermediate">
|
||||||
<directory name="i386">
|
<file>win32k.S</file>
|
||||||
<file>win32k.S</file>
|
</directory>
|
||||||
</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>
|
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
</if>
|
</if>
|
||||||
<include base="cmlib">.</include>
|
<include base="cmlib">.</include>
|
||||||
<include base="ntoskrnl">include</include>
|
<include base="ntoskrnl">include</include>
|
||||||
|
<include base="ntoskrnl" root="intermediate"></include>
|
||||||
<include base="ReactOS">include/reactos/drivers</include>
|
<include base="ReactOS">include/reactos/drivers</include>
|
||||||
<library>csq</library>
|
<library>csq</library>
|
||||||
<library>hal</library>
|
<library>hal</library>
|
||||||
|
@ -121,23 +122,15 @@
|
||||||
<file>dbgkutil.c</file>
|
<file>dbgkutil.c</file>
|
||||||
<file>dbgkobj.c</file>
|
<file>dbgkobj.c</file>
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="ex" root="intermediate">
|
||||||
|
<file>zw.S</file>
|
||||||
|
</directory>
|
||||||
<directory name="ex">
|
<directory name="ex">
|
||||||
<if property="ARCH" value="i386">
|
<if property="ARCH" value="i386">
|
||||||
<directory name="i386">
|
<directory name="i386">
|
||||||
<file>interlck_asm.S</file>
|
<file>interlck_asm.S</file>
|
||||||
<file>fastinterlck_asm.S</file>
|
<file>fastinterlck_asm.S</file>
|
||||||
<file>ioport.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>
|
</directory>
|
||||||
</if>
|
</if>
|
||||||
<file>atom.c</file>
|
<file>atom.c</file>
|
||||||
|
|
|
@ -12,16 +12,19 @@
|
||||||
<define name="_WIN32K_" />
|
<define name="_WIN32K_" />
|
||||||
<pch>w32k.h</pch>
|
<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">
|
<directory name="dib">
|
||||||
<file>dib1bpp.c</file>
|
<file>dib1bpp.c</file>
|
||||||
<file>dib4bpp.c</file>
|
<file>dib4bpp.c</file>
|
||||||
<file>dib8bpp.c</file>
|
<file>dib8bpp.c</file>
|
||||||
<file>dib8gen.c</file>
|
|
||||||
<file>dib16bpp.c</file>
|
<file>dib16bpp.c</file>
|
||||||
<file>dib16gen.c</file>
|
|
||||||
<file>dib24bpp.c</file>
|
<file>dib24bpp.c</file>
|
||||||
<file>dib32bpp.c</file>
|
<file>dib32bpp.c</file>
|
||||||
<file>dib32gen.c</file>
|
|
||||||
<file>dib.c</file>
|
<file>dib.c</file>
|
||||||
|
|
||||||
<if property="ARCH" value="i386">
|
<if property="ARCH" value="i386">
|
||||||
|
|
|
@ -46,5 +46,6 @@ buildno_clean:
|
||||||
clean: buildno_clean
|
clean: buildno_clean
|
||||||
|
|
||||||
$(BUILDNO_H): $(BUILDNO_TARGET)
|
$(BUILDNO_H): $(BUILDNO_TARGET)
|
||||||
|
${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
|
||||||
$(ECHO_BUILDNO)
|
$(ECHO_BUILDNO)
|
||||||
$(Q)$(BUILDNO_TARGET) $(BUILDNO_QUIET) $(BUILDNO_H)
|
$(Q)$(BUILDNO_TARGET) $(BUILDNO_QUIET) $(BUILDNO_H)
|
||||||
|
|
|
@ -41,7 +41,7 @@ gendib_clean:
|
||||||
-@$(rm) $(GENDIB_TARGET) $(GENDIB_OBJECTS) 2>$(NUL)
|
-@$(rm) $(GENDIB_TARGET) $(GENDIB_OBJECTS) 2>$(NUL)
|
||||||
clean: gendib_clean
|
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_FILES = \
|
||||||
$(GENDIB_DIB_DIR)$(SEP)dib32gen.c \
|
$(GENDIB_DIB_DIR)$(SEP)dib32gen.c \
|
||||||
|
@ -49,5 +49,6 @@ GENDIB_DIB_FILES = \
|
||||||
$(GENDIB_DIB_DIR)$(SEP)dib8gen.c
|
$(GENDIB_DIB_DIR)$(SEP)dib8gen.c
|
||||||
|
|
||||||
$(GENDIB_DIB_FILES): $(GENDIB_TARGET)
|
$(GENDIB_DIB_FILES): $(GENDIB_TARGET)
|
||||||
|
${mkdir} $(GENDIB_DIB_DIR) 2>$(NUL)
|
||||||
$(ECHO_GENDIB)
|
$(ECHO_GENDIB)
|
||||||
$(Q)$(GENDIB_TARGET) $(GENDIB_DIB_DIR)
|
$(Q)$(GENDIB_TARGET) $(GENDIB_DIB_DIR)
|
||||||
|
|
|
@ -43,16 +43,16 @@ clean: nci_clean
|
||||||
|
|
||||||
# WIN32K.SYS
|
# WIN32K.SYS
|
||||||
WIN32K_SVC_DB = subsystems$(SEP)win32$(SEP)win32k$(SEP)w32ksvc.db
|
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_SERVICE_TABLE = $(INTERMEDIATE_)subsystems$(SEP)win32$(SEP)win32k$(SEP)include$(SEP)napi.h
|
||||||
WIN32K_STUBS = lib$(SEP)win32ksys$(SEP)$(ARCH)$(SEP)win32k.S
|
WIN32K_STUBS = $(INTERMEDIATE_)lib$(SEP)win32ksys$(SEP)win32k.S
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# NTOSKRNL.EXE
|
# NTOSKRNL.EXE
|
||||||
KERNEL_SVC_DB = ntoskrnl$(SEP)sysfuncs.lst
|
KERNEL_SVC_DB = ntoskrnl$(SEP)sysfuncs.lst
|
||||||
KERNEL_SERVICE_TABLE = ntoskrnl$(SEP)include$(SEP)internal$(SEP)napi.h
|
KERNEL_SERVICE_TABLE = $(INTERMEDIATE_)ntoskrnl$(SEP)include$(SEP)internal$(SEP)napi.h
|
||||||
NTDLL_STUBS = dll$(SEP)ntdll$(SEP)$(ARCH)$(SEP)napi.S
|
NTDLL_STUBS = $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)napi.S
|
||||||
KERNEL_STUBS = ntoskrnl$(SEP)ex$(SEP)$(ARCH)$(SEP)zw.S
|
KERNEL_STUBS = $(INTERMEDIATE_)ntoskrnl$(SEP)ex$(SEP)zw.S
|
||||||
|
|
||||||
NCI_SERVICE_FILES = \
|
NCI_SERVICE_FILES = \
|
||||||
$(KERNEL_SERVICE_TABLE) \
|
$(KERNEL_SERVICE_TABLE) \
|
||||||
|
@ -64,11 +64,11 @@ NCI_SERVICE_FILES = \
|
||||||
|
|
||||||
$(NCI_SERVICE_FILES): $(NCI_TARGET) $(KERNEL_SVC_DB) $(WIN32K_SVC_DB)
|
$(NCI_SERVICE_FILES): $(NCI_TARGET) $(KERNEL_SVC_DB) $(WIN32K_SVC_DB)
|
||||||
$(ECHO_NCI)
|
$(ECHO_NCI)
|
||||||
${mkdir} dll$(SEP)ntdll$(SEP)$(ARCH) 2>$(NUL)
|
${mkdir} $(INTERMEDIATE_)ntoskrnl$(SEP)include$(SEP)internal 2>$(NUL)
|
||||||
${mkdir} ntoskrnl$(SEP)ex$(SEP)$(ARCH) 2>$(NUL)
|
${mkdir} $(INTERMEDIATE_)dll$(SEP)ntdll 2>$(NUL)
|
||||||
${mkdir} dll$(SEP)win32$(SEP)gdi32$(SEP)misc$(SEP)$(ARCH) 2>$(NUL)
|
${mkdir} $(INTERMEDIATE_)ntoskrnl$(SEP)ex$(SEP) 2>$(NUL)
|
||||||
${mkdir} dll$(SEP)win32$(SEP)user32$(SEP)misc$(SEP)$(ARCH) 2>$(NUL)
|
${mkdir} $(INTERMEDIATE_)subsystems$(SEP)win32$(SEP)win32k$(SEP)include 2>$(NUL)
|
||||||
${mkdir} lib$(SEP)win32ksys$(SEP)$(ARCH) 2>$(NUL)
|
${mkdir} $(INTERMEDIATE_)lib$(SEP)win32ksys 2>$(NUL)
|
||||||
|
|
||||||
$(Q)$(NCI_TARGET) -arch $(ARCH) \
|
$(Q)$(NCI_TARGET) -arch $(ARCH) \
|
||||||
$(KERNEL_SVC_DB) \
|
$(KERNEL_SVC_DB) \
|
||||||
|
|
|
@ -240,7 +240,7 @@ Project::WriteConfigurationFile ()
|
||||||
|
|
||||||
s = s + sprintf ( s, "#endif /* __INCLUDE_CONFIG_H */\n" );
|
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 );
|
free ( buf );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue