Commit graph

477 commits

Author SHA1 Message Date
Timo Kreuzer
5eb25b5c24 Create a branch for audio work
svn path=/branches/audio-bringup/; revision=49478
2010-11-05 11:04:48 +00:00
Aleksey Bragin
a24aedc9d1 - Add "bootcdregtest" in the list of well-known targets.
svn path=/trunk/; revision=47708
2010-06-09 10:34:35 +00:00
Christoph von Wittich
5e38f41aae [RBUILD]
delete outdated codeblocks backend (codeblocks does not support all features needed to build ros)

See issue #5381 for more details.

svn path=/trunk/; revision=47227
2010-05-15 20:37:24 +00:00
Colin Finck
75538f4c0a The big RosBE 1.5 compatibility patch. You will need RosBE 1.5 from this point!
- Set the minimum GCC version to 4.4.0 and minimum Binutils version to 20091016.
- Remove the -fno-unit-at-a-time hacks.
- Remove dgorbachev's temporary hacks for user-mode C++ applications.
- Merge ntoskrnl's "precomp.h" and "ntoskrnl.h" again, the PCH issues have been fixed.
- Use our "ofmt_stub.a" to be compatible with newer MinGW Runtime versions.
- Use LD's new -exclude-all-symbols option to not auto-export all symbols in case no DEF file or __declspec(dllexport) was specified.
  We used to patch our LD version to work around this problem.
- Use LD's --start-group and --end-group parameters to allow a more flexible linking order.
- Use GCC's -fno-set-stack-executable for amd64 and i386 targets to disable adding the __enable_execute_stack code.
- Change the makefile's name to "makefile-$(ARCH).auto" for all architectures.
- Remove some -Wno-error flags.

See issue #4810 for more details.

svn path=/trunk/; revision=45535
2010-02-09 18:14:58 +00:00
KJK::Hyperion
8e60110bef modified Makefile
New ${checkpoint} command to create an empty "checkpoint" file, to store the last modified date of a make target

modified   tools/rbuild/backend/mingw/rules.mak
   Rules that output more than one file at once don't mix well with parallel builds: serialize dependency checks through the use of checkpoint files. Fixes intermittent widl issues in highly parallel builds
   Bonus internal rbuild function that I had to commit one day or another

See issue #4994 for more details.

svn path=/trunk/; revision=44594
2009-12-14 23:02:28 +00:00
Ged Murphy
e1176344d4 Add the msvc10 makefile changes
svn path=/trunk/; revision=44346
2009-12-01 18:56:05 +00:00
KJK::Hyperion
43cd83d781 Nevermind.
svn path=/trunk/; revision=44314
2009-11-28 20:09:07 +00:00
KJK::Hyperion
911304e174 Removed documentation about a build system feature that's no longer supported
I give thanks for the opportunity to improve ReactOS by removing, instead of adding code

svn path=/trunk/; revision=44302
2009-11-28 14:51:52 +00:00
KJK::Hyperion
70faa1388d modified Makefile
$(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208
2009-11-17 02:54:29 +00:00
KJK::Hyperion
7f4bf6c490 modified Makefile
Give poor pefixup its own echo line

modified   ReactOS-amd64.rbuild
modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   Set global linker flags globally
   Goodbye NTOSKRNL_SHARED

modified   tools/rbuild/backend/codeblocks/codeblocks.cpp
modified   tools/rbuild/backend/msvc/vcprojmaker.cpp
   Build fixes. I really want to delete these dead backends

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   Makefile rule for the linker. Also generates the .lib and .exp for DLLs, and obsoletes a whole lot of shitty rbuild code

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   Specify module type-specific linker flags... in the specification of flags for module types, instead of wherever
   Fix generation of project-global linker and NASM flags
   Give better names to the variables that contain names of BE-provided libraries
   Don't put quotes around the names of BE-provided libraries, GNU make doesn't support quoting in any way, shape or form and quotes around filenames actually break shit on Windows (see <http://reactos-blog.blogspot.com/2009/11/gnu-make-fails-on-windows-with-multiple.html>). Just install the BE in a path without spaces in it
   Typo: LFLAGS is the flags for lex, flags for linker come from LDFLAGS

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Moved generation of linker and import library generation rules out of rbuild and into sub-makefiles. A lot of code deleted, nothing of value was lost
   More LFLAGS -> LDFLAGS
   Goodbye mangledsymbols and underscoresymbols attributes, they don't do shit other than complicating my life
   If we have to add an underscore in front of the entry point name for some architectures, how about we do it in a single place?

modified   tools/rbuild/backend/mingw/rules.mak
   Minor cosmetic change

svn path=/trunk/; revision=44091
2009-11-11 03:41:14 +00:00
Dmitry Gorbachev
ea12565cf4 Document ROS_GENERATE_RSYM environment variable.
svn path=/trunk/; revision=43301
2009-10-05 14:13:01 +00:00
KJK::Hyperion
5c0e22fb27 modified Makefile
added      tools/rbuild/backend/mingw/compilers
added      tools/rbuild/backend/mingw/compilers/gcc.mak
added      tools/rbuild/backend/mingw/compilers/msc.mak
added      tools/rbuild/backend/mingw/linkers
added      tools/rbuild/backend/mingw/linkers/ld.mak
added      tools/rbuild/backend/mingw/linkers/mslink.mak
modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/rules.mak
modified   tools/rbuild/rbuild.h
   Moved linker and compiler rules in separate files
   Renamed compiler rules to more generic names
   New compiler rules for dependencies and preprocessor modes
   Rules for Microsoft C/C++ Compiler
   Linker rule file stubs

modified   tools/rbuild/module.cpp
modified   tools/rbuild/project.cpp
   All elements now support "compilerset" and "linkerset" conditional attributes

svn path=/trunk/; revision=41368
2009-06-10 17:56:12 +00:00
KJK::Hyperion
def5539079 Supersedes r40538, r40539; RosBE bug fixed with a RosBE-specific hack (-nostdinc removed from BUILTIN_CPPFLAGS in rules.mak)
Rbuild rationalization commit, umpteenth of infinite

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/backend/mingw/rules.mak
added      tools/rbuild/compilerdirective.cpp
modified   tools/rbuild/compilerflag.cpp
modified   tools/rbuild/define.cpp
modified   tools/rbuild/include.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/pch.h
modified   tools/rbuild/project.cpp
modified   tools/rbuild/rbuild.dsp
modified   tools/rbuild/rbuild.h
modified   tools/rbuild/rbuild.mak
modified   tools/rbuild/rbuild.vcproj
modified   Makefile
modified   ReactOS-generic.rbuild
   Almost all build rules moved to a makefile.auto include (rules.mak). Size of makefile.auto reduced to about half
   The new rules correctly sort includes, defines and flags in priority order (built-in, project, module type, module, source file)
   The new rules don't duplicate flags anymore. Flag sets are defined once, as makefile variables, and then referred to by variable name
   Compiler-specific flags, includes and defines can now be set, for almost all compilers and tools
   <compilerflag>, <define> and <include> have a new "compiler" attribute, containing a comma-separated list of compilers the directive applies to
   C++ compiler renamed to "cxx", "cpp" now correctly refers to the C preprocessor (or work-alike, built-in preprocessors)
   Drop "overridable" attribute for <define>, as it never worked right
   New <redefine> tag: works like <define>, but undefines the variable before defining it. Several warnings suppressed thanks to it
   Slightly changed rule for resource file; conversion to object file now a separate phase that prints "[CVTRES]"
   Slightly changed definition of ${gas}
   Echo "[AS]" instead of "[GAS]"
   Echo "[RC]" for wrc

modified   include/crt/mingw32/intrin.h
   Now that the correct include paths are passed to the resource compiler, make headers more resource compiler-friendly

modified   dll/directx/wine/ddraw/ddraw.rbuild
   Apply GCC workaround for PSEH

modified   dll/directx/wine/wined3d/wined3d.rbuild
modified   dll/win32/riched20/riched20.rbuild
   -Wno-format no longer required

modified   dll/nls/idndl/idndl.rbuild
modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   lib/3rdparty/icu4ros/icu4ros.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
   C++ compiler now identified by "cxx"

modified   drivers/storage/ide/uniata/uniata.rbuild
modified   drivers/wdm/audio/drivers/mpu401/mpu401.rbuild
modified   drivers/wdm/audio/drm/drmk/drmk.rbuild
   Disable exceptions and RTTI for kernel mode C++ code

modified   base/services/umpnpmgr/umpnpmgr.rbuild
modified   dll/cpl/ncpa/ncpa.rbuild
modified   dll/directx/amstream/amstream.rbuild
modified   dll/directx/dinput8/dinput8.rbuild
modified   dll/directx/dinput/dinput.rbuild
modified   dll/directx/qedit/qedit.rbuild
modified   dll/directx/quartz/quartz.rbuild
modified   dll/win32/advapi32/advapi32.rbuild
modified   dll/win32/atl/atl.rbuild
modified   dll/win32/avifil32/avifil32.rbuild
modified   dll/win32/browseui/browseui.rbuild
modified   dll/win32/comcat/comcat.rbuild
modified   dll/win32/crypt32/crypt32.rbuild
modified   dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild
modified   dll/win32/imm32/imm32.rbuild
modified   dll/win32/inetcomm/inetcomm.rbuild
modified   dll/win32/localspl/localspl.rbuild
modified   dll/win32/mlang/mlang.rbuild
modified   dll/win32/msctf/msctf.rbuild
modified   dll/win32/mshtml/mshtml.rbuild
modified   dll/win32/msi/msi.rbuild
modified   dll/win32/mstask/mstask.rbuild
modified   dll/win32/msxml3/msxml3.rbuild
modified   dll/win32/ntmarta/ntmarta.rbuild
modified   dll/win32/objsel/objsel.rbuild
modified   dll/win32/ole32/ole32.rbuild
modified   dll/win32/oleaut32/oleaut32.rbuild
modified   dll/win32/pdh/pdh.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
modified   dll/win32/shell32/shell32.rbuild
modified   dll/win32/shlwapi/shlwapi.rbuild
modified   dll/win32/urlmon/urlmon.rbuild
modified   dll/win32/wuapi/wuapi.rbuild
modified   include/reactos/idl/idl.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/nls/idndl/idndl.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
modified   dll/win32/inseng/inseng.rbuild
   Use <redefine> instead of <define> for version macros

modified   base/setup/usetup/usetup.rbuild
modified   base/system/autochk/autochk.rbuild
modified   base/system/smss/smss.rbuild
modified   dll/3rdparty/dxtn/dxtn.rbuild
modified   dll/keyboard/kbda1/kbda1.rbuild
modified   dll/keyboard/kbda2/kbda2.rbuild
modified   dll/keyboard/kbda3/kbda3.rbuild
modified   dll/keyboard/kbdal/kbdal.rbuild
modified   dll/keyboard/kbdarme/kbdarme.rbuild
modified   dll/keyboard/kbdarmw/kbdarmw.rbuild
modified   dll/keyboard/kbdaze/kbdaze.rbuild
modified   dll/keyboard/kbdazel/kbdazel.rbuild
modified   dll/keyboard/kbdbe/kbdbe.rbuild
modified   dll/keyboard/kbdbga/kbdbga.rbuild
modified   dll/keyboard/kbdbgm/kbdbgm.rbuild
modified   dll/keyboard/kbdbgt/kbdbgt.rbuild
modified   dll/keyboard/kbdblr/kbdblr.rbuild
modified   dll/keyboard/kbdbr/kbdbr.rbuild
modified   dll/keyboard/kbdbur/kbdbur.rbuild
modified   dll/keyboard/kbdcan/kbdcan.rbuild
modified   dll/keyboard/kbdcr/kbdcr.rbuild
modified   dll/keyboard/kbdcz1/kbdcz1.rbuild
modified   dll/keyboard/kbdcz/kbdcz.rbuild
modified   dll/keyboard/kbdda/kbdda.rbuild
modified   dll/keyboard/kbddv/kbddv.rbuild
modified   dll/keyboard/kbdes/kbdes.rbuild
modified   dll/keyboard/kbdest/kbdest.rbuild
modified   dll/keyboard/kbdfc/kbdfc.rbuild
modified   dll/keyboard/kbdfi/kbdfi.rbuild
modified   dll/keyboard/kbdfr/kbdfr.rbuild
modified   dll/keyboard/kbdgeo/kbdgeo.rbuild
modified   dll/keyboard/kbdgerg/kbdgerg.rbuild
modified   dll/keyboard/kbdgneo/kbdgneo.rbuild
modified   dll/keyboard/kbdgr/kbdgr.rbuild
modified   dll/keyboard/kbdgrist/kbdgrist.rbuild
modified   dll/keyboard/kbdhe/kbdhe.rbuild
modified   dll/keyboard/kbdheb/kbdheb.rbuild
modified   dll/keyboard/kbdhu/kbdhu.rbuild
modified   dll/keyboard/kbdic/kbdic.rbuild
modified   dll/keyboard/kbdinasa/kbdinasa.rbuild
modified   dll/keyboard/kbdinben/kbdinben.rbuild
modified   dll/keyboard/kbdindev/kbdindev.rbuild
modified   dll/keyboard/kbdinguj/kbdinguj.rbuild
modified   dll/keyboard/kbdinmal/kbdinmal.rbuild
modified   dll/keyboard/kbdir/kbdir.rbuild
modified   dll/keyboard/kbdit/kbdit.rbuild
modified   dll/keyboard/kbdja/kbdja.rbuild
modified   dll/keyboard/kbdkaz/kbdkaz.rbuild
modified   dll/keyboard/kbdko/kbdko.rbuild
modified   dll/keyboard/kbdla/kbdla.rbuild
modified   dll/keyboard/kbdlt1/kbdlt1.rbuild
modified   dll/keyboard/kbdlv/kbdlv.rbuild
modified   dll/keyboard/kbdmac/kbdmac.rbuild
modified   dll/keyboard/kbdne/kbdne.rbuild
modified   dll/keyboard/kbdno/kbdno.rbuild
modified   dll/keyboard/kbdpl1/kbdpl1.rbuild
modified   dll/keyboard/kbdpo/kbdpo.rbuild
modified   dll/keyboard/kbdro/kbdro.rbuild
modified   dll/keyboard/kbdru1/kbdru1.rbuild
modified   dll/keyboard/kbdru/kbdru.rbuild
modified   dll/keyboard/kbdsg/kbdsg.rbuild
modified   dll/keyboard/kbdsk1/kbdsk1.rbuild
modified   dll/keyboard/kbdsk/kbdsk.rbuild
modified   dll/keyboard/kbdsw/kbdsw.rbuild
modified   dll/keyboard/kbdtat/kbdtat.rbuild
modified   dll/keyboard/kbdth0/kbdth0.rbuild
modified   dll/keyboard/kbdth1/kbdth1.rbuild
modified   dll/keyboard/kbdth2/kbdth2.rbuild
modified   dll/keyboard/kbdth3/kbdth3.rbuild
modified   dll/keyboard/kbdtuf/kbdtuf.rbuild
modified   dll/keyboard/kbdtuq/kbdtuq.rbuild
modified   dll/keyboard/kbduk/kbduk.rbuild
modified   dll/keyboard/kbdur/kbdur.rbuild
modified   dll/keyboard/kbdurs/kbdurs.rbuild
modified   dll/keyboard/kbdus/kbdus.rbuild
modified   dll/keyboard/kbdusa/kbdusa.rbuild
modified   dll/keyboard/kbdusl/kbdusl.rbuild
modified   dll/keyboard/kbdusr/kbdusr.rbuild
modified   dll/keyboard/kbdusx/kbdusx.rbuild
modified   dll/keyboard/kbduzb/kbduzb.rbuild
modified   dll/keyboard/kbdvntc/kbdvntc.rbuild
modified   dll/keyboard/kbdycc/kbdycc.rbuild
modified   dll/keyboard/kbdycl/kbdycl.rbuild
modified   dll/ntdll/ntdll.rbuild
modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/dhcpcsvc/dhcpcsvc.rbuild
modified   dll/win32/dnsapi/dnsapi.rbuild
modified   dll/win32/fmifs/fmifs.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/lpk/lpk.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
modified   dll/win32/opengl32/opengl32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/rasdlg/rasdlg.rbuild
modified   dll/win32/rasman/rasman.rbuild
modified   dll/win32/samlib/samlib.rbuild
modified   dll/win32/shimgvw/shimgvw.rbuild
modified   dll/win32/smdll/smdll.rbuild
modified   dll/win32/twain_32/twain_32.rbuild
modified   dll/win32/uext2/uext2.rbuild
modified   dll/win32/ufat/ufat.rbuild
modified   dll/win32/ufatx/ufatx.rbuild
modified   dll/win32/untfs/untfs.rbuild
modified   dll/win32/user32/user32.rbuild
modified   dll/win32/winspool/winspool.rbuild
modified   dll/win32/ws2_32/ws2_32.rbuild
modified   dll/win32/ws2help/ws2help.rbuild
modified   dll/win32/wshirda/wshirda.rbuild
modified   drivers/directx/dxapi/dxapi.rbuild
modified   drivers/directx/dxgthk/dxgthk.rbuild
modified   hal/halarm/generic/generic.rbuild
modified   hal/halarm/up/halup.rbuild
modified   hal/halppc/generic/generic.rbuild
modified   hal/halppc/up/halup.rbuild
modified   hal/halx86/generic/generic.rbuild
modified   hal/halx86/hal_generic.rbuild
modified   hal/halx86/hal_generic_pc.rbuild
modified   hal/halx86/hal_generic_up.rbuild
modified   hal/halx86/halmp.rbuild
modified   hal/halx86/halup.rbuild
modified   hal/halx86/halxbox.rbuild
modified   lib/3rdparty/libwine/libwine.rbuild
modified   lib/epsapi/epsapi.rbuild
modified   lib/fslib/ext2lib/ext2lib.rbuild
modified   lib/fslib/ntfslib/ntfslib.rbuild
modified   lib/fslib/vfatlib/vfatlib.rbuild
modified   lib/fslib/vfatxlib/vfatxlib.rbuild
modified   lib/ntdllsys/ntdllsys.rbuild
modified   lib/sdk/crt/crt.rbuild
modified   lib/sdk/dxguid/dxguid.rbuild
modified   lib/sdk/nt/nt.rbuild
modified   lib/sdk/strmiids/strmiids.rbuild
modified   lib/sdk/uuid/uuid.rbuild
modified   lib/smlib/smlib.rbuild
modified   lib/win32ksys/win32ksys.rbuild
modified   ntoskrnl/ntoskrnl-generic.rbuild
modified   subsystems/csr/csrsrv/csrsrv.rbuild
modified   subsystems/ntvdm/ntvdm.rbuild
modified   subsystems/win32/csrss/win32csr/win32csr.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   lib/drivers/oskittcp/oskittcp.rbuild
   Goodbye _DISABLE_TIDENTS, __USE_W32API

svn path=/trunk/; revision=40624
2009-04-21 00:33:41 +00:00
KJK::Hyperion
0330bad96d This is why we can't have nice things. Reverting r40538, r40539, due to RosBE differences between Windows and Linux hosts (because RosBE sucks)
svn path=/trunk/; revision=40540
2009-04-16 04:52:16 +00:00
KJK::Hyperion
5a11fa5fa1 Rbuild rationalization commit, umpteenth of infinite
modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/backend/mingw/rules.mak
added      tools/rbuild/compilerdirective.cpp
modified   tools/rbuild/compilerflag.cpp
modified   tools/rbuild/define.cpp
modified   tools/rbuild/include.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/pch.h
modified   tools/rbuild/project.cpp
modified   tools/rbuild/rbuild.dsp
modified   tools/rbuild/rbuild.h
modified   tools/rbuild/rbuild.mak
modified   tools/rbuild/rbuild.vcproj
modified   Makefile
modified   ReactOS-generic.rbuild
   Almost all build rules moved to a makefile.auto include (rules.mak). Size of makefile.auto reduced to about half
   The new rules correctly sort includes, defines and flags in priority order (built-in, project, module type, module, source file)
   The new rules don't duplicate flags anymore. Flag sets are defined once, as makefile variables, and then referred to by variable name
   Compiler-specific flags, includes and defines can now be set, for almost all compilers and tools
   <compilerflag>, <define> and <include> have a new "compiler" attribute, containing a comma-separated list of compilers the directive applies to
   C++ compiler renamed to "cxx", "cpp" now correctly refers to the C preprocessor (or work-alike, built-in preprocessors)
   Drop "overridable" attribute for <define>, as it never worked right
   New <redefine> tag: works like <define>, but undefines the variable before defining it. Several warnings suppressed thanks to it
   Slightly changed rule for resource file; conversion to object file now a separate phase that prints "[CVTRES]"
   Slightly changed definition of ${gas}
   Echo "[AS]" instead of "[GAS]"
   Echo "[RC]" for wrc

modified   include/crt/mingw32/intrin.h
   Now that the correct include paths are passed to the resource compiler, make headers more resource compiler-friendly

modified   dll/directx/wine/ddraw/ddraw.rbuild
   Apply GCC workaround for PSEH

modified   dll/directx/wine/wined3d/wined3d.rbuild
modified   dll/win32/riched20/riched20.rbuild
   -Wno-format no longer required

modified   dll/nls/idndl/idndl.rbuild
modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   lib/3rdparty/icu4ros/icu4ros.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
   C++ compiler now identified by "cxx"

modified   drivers/storage/ide/uniata/uniata.rbuild
modified   drivers/wdm/audio/drivers/mpu401/mpu401.rbuild
modified   drivers/wdm/audio/drm/drmk/drmk.rbuild
   Disable exceptions and RTTI for kernel mode C++ code

modified   base/services/umpnpmgr/umpnpmgr.rbuild
modified   dll/cpl/ncpa/ncpa.rbuild
modified   dll/directx/amstream/amstream.rbuild
modified   dll/directx/dinput8/dinput8.rbuild
modified   dll/directx/dinput/dinput.rbuild
modified   dll/directx/qedit/qedit.rbuild
modified   dll/directx/quartz/quartz.rbuild
modified   dll/win32/advapi32/advapi32.rbuild
modified   dll/win32/atl/atl.rbuild
modified   dll/win32/avifil32/avifil32.rbuild
modified   dll/win32/browseui/browseui.rbuild
modified   dll/win32/comcat/comcat.rbuild
modified   dll/win32/crypt32/crypt32.rbuild
modified   dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild
modified   dll/win32/imm32/imm32.rbuild
modified   dll/win32/inetcomm/inetcomm.rbuild
modified   dll/win32/localspl/localspl.rbuild
modified   dll/win32/mlang/mlang.rbuild
modified   dll/win32/msctf/msctf.rbuild
modified   dll/win32/mshtml/mshtml.rbuild
modified   dll/win32/msi/msi.rbuild
modified   dll/win32/mstask/mstask.rbuild
modified   dll/win32/msxml3/msxml3.rbuild
modified   dll/win32/ntmarta/ntmarta.rbuild
modified   dll/win32/objsel/objsel.rbuild
modified   dll/win32/ole32/ole32.rbuild
modified   dll/win32/oleaut32/oleaut32.rbuild
modified   dll/win32/pdh/pdh.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
modified   dll/win32/shell32/shell32.rbuild
modified   dll/win32/shlwapi/shlwapi.rbuild
modified   dll/win32/urlmon/urlmon.rbuild
modified   dll/win32/wuapi/wuapi.rbuild
modified   include/reactos/idl/idl.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/nls/idndl/idndl.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
modified   dll/win32/inseng/inseng.rbuild
   Use <redefine> instead of <define> for version macros

modified   base/setup/usetup/usetup.rbuild
modified   base/system/autochk/autochk.rbuild
modified   base/system/smss/smss.rbuild
modified   dll/3rdparty/dxtn/dxtn.rbuild
modified   dll/keyboard/kbda1/kbda1.rbuild
modified   dll/keyboard/kbda2/kbda2.rbuild
modified   dll/keyboard/kbda3/kbda3.rbuild
modified   dll/keyboard/kbdal/kbdal.rbuild
modified   dll/keyboard/kbdarme/kbdarme.rbuild
modified   dll/keyboard/kbdarmw/kbdarmw.rbuild
modified   dll/keyboard/kbdaze/kbdaze.rbuild
modified   dll/keyboard/kbdazel/kbdazel.rbuild
modified   dll/keyboard/kbdbe/kbdbe.rbuild
modified   dll/keyboard/kbdbga/kbdbga.rbuild
modified   dll/keyboard/kbdbgm/kbdbgm.rbuild
modified   dll/keyboard/kbdbgt/kbdbgt.rbuild
modified   dll/keyboard/kbdblr/kbdblr.rbuild
modified   dll/keyboard/kbdbr/kbdbr.rbuild
modified   dll/keyboard/kbdbur/kbdbur.rbuild
modified   dll/keyboard/kbdcan/kbdcan.rbuild
modified   dll/keyboard/kbdcr/kbdcr.rbuild
modified   dll/keyboard/kbdcz1/kbdcz1.rbuild
modified   dll/keyboard/kbdcz/kbdcz.rbuild
modified   dll/keyboard/kbdda/kbdda.rbuild
modified   dll/keyboard/kbddv/kbddv.rbuild
modified   dll/keyboard/kbdes/kbdes.rbuild
modified   dll/keyboard/kbdest/kbdest.rbuild
modified   dll/keyboard/kbdfc/kbdfc.rbuild
modified   dll/keyboard/kbdfi/kbdfi.rbuild
modified   dll/keyboard/kbdfr/kbdfr.rbuild
modified   dll/keyboard/kbdgeo/kbdgeo.rbuild
modified   dll/keyboard/kbdgerg/kbdgerg.rbuild
modified   dll/keyboard/kbdgneo/kbdgneo.rbuild
modified   dll/keyboard/kbdgr/kbdgr.rbuild
modified   dll/keyboard/kbdgrist/kbdgrist.rbuild
modified   dll/keyboard/kbdhe/kbdhe.rbuild
modified   dll/keyboard/kbdheb/kbdheb.rbuild
modified   dll/keyboard/kbdhu/kbdhu.rbuild
modified   dll/keyboard/kbdic/kbdic.rbuild
modified   dll/keyboard/kbdinasa/kbdinasa.rbuild
modified   dll/keyboard/kbdinben/kbdinben.rbuild
modified   dll/keyboard/kbdindev/kbdindev.rbuild
modified   dll/keyboard/kbdinguj/kbdinguj.rbuild
modified   dll/keyboard/kbdinmal/kbdinmal.rbuild
modified   dll/keyboard/kbdir/kbdir.rbuild
modified   dll/keyboard/kbdit/kbdit.rbuild
modified   dll/keyboard/kbdja/kbdja.rbuild
modified   dll/keyboard/kbdkaz/kbdkaz.rbuild
modified   dll/keyboard/kbdko/kbdko.rbuild
modified   dll/keyboard/kbdla/kbdla.rbuild
modified   dll/keyboard/kbdlt1/kbdlt1.rbuild
modified   dll/keyboard/kbdlv/kbdlv.rbuild
modified   dll/keyboard/kbdmac/kbdmac.rbuild
modified   dll/keyboard/kbdne/kbdne.rbuild
modified   dll/keyboard/kbdno/kbdno.rbuild
modified   dll/keyboard/kbdpl1/kbdpl1.rbuild
modified   dll/keyboard/kbdpo/kbdpo.rbuild
modified   dll/keyboard/kbdro/kbdro.rbuild
modified   dll/keyboard/kbdru1/kbdru1.rbuild
modified   dll/keyboard/kbdru/kbdru.rbuild
modified   dll/keyboard/kbdsg/kbdsg.rbuild
modified   dll/keyboard/kbdsk1/kbdsk1.rbuild
modified   dll/keyboard/kbdsk/kbdsk.rbuild
modified   dll/keyboard/kbdsw/kbdsw.rbuild
modified   dll/keyboard/kbdtat/kbdtat.rbuild
modified   dll/keyboard/kbdth0/kbdth0.rbuild
modified   dll/keyboard/kbdth1/kbdth1.rbuild
modified   dll/keyboard/kbdth2/kbdth2.rbuild
modified   dll/keyboard/kbdth3/kbdth3.rbuild
modified   dll/keyboard/kbdtuf/kbdtuf.rbuild
modified   dll/keyboard/kbdtuq/kbdtuq.rbuild
modified   dll/keyboard/kbduk/kbduk.rbuild
modified   dll/keyboard/kbdur/kbdur.rbuild
modified   dll/keyboard/kbdurs/kbdurs.rbuild
modified   dll/keyboard/kbdus/kbdus.rbuild
modified   dll/keyboard/kbdusa/kbdusa.rbuild
modified   dll/keyboard/kbdusl/kbdusl.rbuild
modified   dll/keyboard/kbdusr/kbdusr.rbuild
modified   dll/keyboard/kbdusx/kbdusx.rbuild
modified   dll/keyboard/kbduzb/kbduzb.rbuild
modified   dll/keyboard/kbdvntc/kbdvntc.rbuild
modified   dll/keyboard/kbdycc/kbdycc.rbuild
modified   dll/keyboard/kbdycl/kbdycl.rbuild
modified   dll/ntdll/ntdll.rbuild
modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/dhcpcsvc/dhcpcsvc.rbuild
modified   dll/win32/dnsapi/dnsapi.rbuild
modified   dll/win32/fmifs/fmifs.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/lpk/lpk.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
modified   dll/win32/opengl32/opengl32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/rasdlg/rasdlg.rbuild
modified   dll/win32/rasman/rasman.rbuild
modified   dll/win32/samlib/samlib.rbuild
modified   dll/win32/shimgvw/shimgvw.rbuild
modified   dll/win32/smdll/smdll.rbuild
modified   dll/win32/twain_32/twain_32.rbuild
modified   dll/win32/uext2/uext2.rbuild
modified   dll/win32/ufat/ufat.rbuild
modified   dll/win32/ufatx/ufatx.rbuild
modified   dll/win32/untfs/untfs.rbuild
modified   dll/win32/user32/user32.rbuild
modified   dll/win32/winspool/winspool.rbuild
modified   dll/win32/ws2_32/ws2_32.rbuild
modified   dll/win32/ws2help/ws2help.rbuild
modified   dll/win32/wshirda/wshirda.rbuild
modified   drivers/directx/dxapi/dxapi.rbuild
modified   drivers/directx/dxgthk/dxgthk.rbuild
modified   hal/halarm/generic/generic.rbuild
modified   hal/halarm/up/halup.rbuild
modified   hal/halppc/generic/generic.rbuild
modified   hal/halppc/up/halup.rbuild
modified   hal/halx86/generic/generic.rbuild
modified   hal/halx86/hal_generic.rbuild
modified   hal/halx86/hal_generic_pc.rbuild
modified   hal/halx86/hal_generic_up.rbuild
modified   hal/halx86/halmp.rbuild
modified   hal/halx86/halup.rbuild
modified   hal/halx86/halxbox.rbuild
modified   lib/3rdparty/libwine/libwine.rbuild
modified   lib/epsapi/epsapi.rbuild
modified   lib/fslib/ext2lib/ext2lib.rbuild
modified   lib/fslib/ntfslib/ntfslib.rbuild
modified   lib/fslib/vfatlib/vfatlib.rbuild
modified   lib/fslib/vfatxlib/vfatxlib.rbuild
modified   lib/ntdllsys/ntdllsys.rbuild
modified   lib/sdk/crt/crt.rbuild
modified   lib/sdk/dxguid/dxguid.rbuild
modified   lib/sdk/nt/nt.rbuild
modified   lib/sdk/strmiids/strmiids.rbuild
modified   lib/sdk/uuid/uuid.rbuild
modified   lib/smlib/smlib.rbuild
modified   lib/win32ksys/win32ksys.rbuild
modified   ntoskrnl/ntoskrnl-generic.rbuild
modified   subsystems/csr/csrsrv/csrsrv.rbuild
modified   subsystems/ntvdm/ntvdm.rbuild
modified   subsystems/win32/csrss/win32csr/win32csr.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   lib/drivers/oskittcp/oskittcp.rbuild
   Goodbye _DISABLE_TIDENTS, __USE_W32API

svn path=/trunk/; revision=40538
2009-04-16 02:27:50 +00:00
KJK::Hyperion
ba67551bdf Implement full dependencies for rbuild: changing a header file will now automatically rebuild all modules that include it, directly or indirectly. Very slow, but an irreplaceable tool for header fixing
Full dependencies can be enabled by setting ROS_RBUILDFLAGS=-df
Whether initially enabled or not, once makefile.auto is generated, full dependencies can be enabled or disabled by setting ROS_BUILDDEPS=full or ROS_BUILDDEPS=auto

In case you missed it, full dependencies are VERY SLOW

svn path=/trunk/; revision=39093
2009-01-25 16:19:45 +00:00
KJK::Hyperion
1b524afb98 Echo [HOST-CC] and [HOST-LD] instead of [HOSTCC] and [HOSTLD]
Also echo [HOST-AR] for invocations of the host "ar"
Use [HOST-CC], [HOST-LD] and [HOST-AR] in bootstrap makefiles as well

svn path=/trunk/; revision=38788
2009-01-16 13:19:14 +00:00
KJK::Hyperion
8f5afcde25 ... and echo "[HOSTLD]" for the link phase of host modules
svn path=/trunk/; revision=38786
2009-01-16 12:50:20 +00:00
KJK::Hyperion
c3fc8b5daf Echo "[HOSTCC]" instead of "[CC]" in short-hand build output when invoking the host compiler
svn path=/trunk/; revision=38785
2009-01-16 12:44:55 +00:00
KJK::Hyperion
8b822b8a26 Hopefully, the definitive spec files commit. Dedicated to Samuel Serapión, who reported issues with my previous commits.
modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Specifying .spec/.pspec files twice (<importlibrary> and <file>) didn't really make sense (stubs are unusable without the .def and viceversa), so they can now be only specified in <importlibrary>. I'd rather drop <importlibrary> completely and specify .def/.spec/.pspec as <file>s, but it's too hard so it'll have to wait. At least we got rid of one invocation of the preprocessor for .pspec files
   Simplified and improved rules to generate spec and stub files from .pspec
   Did you know we set the wrong DLL name in autogenerated .def files? Always pass the right name to winebuild with --filename, just to be sure
   Fully support compiling .pspec/.spec files from the intermediate directory
   Import libraries don't actually depend on stub/thunk files

modified   tools/rbuild/backend/mingw/modulehandler.h
   Removed some dead code

modified   tools/rbuild/backend/mingw/rule.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Allow <importlibrary dllname="..." ...> in all module types. Why? Why not?

modified   Makefile
   Added ECHO_CPP to echo invocations of the C preprocessor

Everything else: removed all <file> entries for .spec/.pspec files. It was just maintenance overhead

svn path=/trunk/; revision=37270
2008-11-10 02:31:24 +00:00
KJK::Hyperion
168997c0d1 modified base/applications/screensavers/3dtext/3dtext.rbuild
modified   lib/sdk/crt/crt.rbuild
   Split chkstk away from crt
   Link 3dtext to chkstk for Visual C++ builds (a gcc-built 3dtext would simply crash, I guess?)

modified   dll/cpl/access/display.c
modified   dll/cpl/access/general.c
modified   dll/cpl/access/keyboard.c
modified   dll/cpl/access/mouse.c
   Fixed signedness violations (thank you cl -Wall -W4)

modified   dll/win32/acledit/acledit.rbuild
modified   dll/win32/aclui/aclui.rbuild
   Removed empty stubs (thank you cl -Wall -W4)

modified   dll/win32/aclui/checklist.c
   Fixed signedness violations
   wcsnicmp is not a standard C routine
   BOOL is not a boolean
   Thank you cl -Wall -W4

modified   dll/win32/aclui/sidcache.c
   Marked possible overflow (thank you cl -Wall -W4)

modified   dll/win32/msvcrt/msvcrt.def
   __iob_func and __p_iob are the same thing
   Export non-conforming swprintf as _swprintf, too (will fix for real later)
   Thank you cl -Wall -W4

modified   include/ddk/winddk.h
   Zero-length array field in struct _SCATTER_GATHER_LIST
   Forward-declare structures out of argument lists
   Thank you cl -Wall -W4

modified   include/reactos/msvctarget.h
   No need to emulate Visual C++ flags when compiling with Visual C++

modified   lib/3rdparty/mingw/cpu_features.c
modified   lib/3rdparty/mingw/cpu_features.h
   Useless dependency from stdbool.h removed
   Now compiles with Visual C++ too

modified   lib/3rdparty/mingw/getopt.c
   Silence harmless warning

modified   lib/3rdparty/mingw/isascii.c
modified   lib/3rdparty/mingw/iscsym.c
modified   lib/3rdparty/mingw/iscsymf.c
modified   lib/3rdparty/mingw/toascii.c
   Undefine conflicting macro names before declaring the functions

modified   Makefile
   Visual C++ support is coming, did you bring your coat?

svn path=/trunk/; revision=36954
2008-10-25 17:32:54 +00:00
Christoph von Wittich
c17bcc4e92 remove sysregtest target
svn path=/trunk/; revision=35914
2008-09-03 18:21:27 +00:00
Hervé Poussineau
246c0ca9d0 Revert r34848 and r34850, and replace them by a real fix (hinted by Colin Finck)
svn path=/trunk/; revision=34856
2008-07-27 19:39:05 +00:00
Hervé Poussineau
f958aedf05 Define __LINUX__ for build tools if host is Linux
svn path=/trunk/; revision=34850
2008-07-27 15:49:18 +00:00
Hervé Poussineau
9f882f816a Define __LINUX__ for build tools if host is Linux
svn path=/trunk/; revision=34848
2008-07-27 15:32:40 +00:00
Hervé Poussineau
9ba8702be9 Apply again r34533: rename autogenerated makefile to makefile-$(ARCH).auto,
except for i386, due to a bug in RosBE which cleans only makefile.auto and not makefile*.auto

svn path=/trunk/; revision=34789
2008-07-25 19:07:36 +00:00
James Tabor
1ef680846a Fix build.
svn path=/trunk/; revision=34542
2008-07-16 02:07:55 +00:00
James Tabor
900b6e2e6a Sorry for commit my test tree,,,, good for testing Bug 2451.
svn path=/trunk/; revision=34541
2008-07-16 02:06:05 +00:00
James Tabor
702a9bb706 make does like tabs, right? Fix build.
svn path=/trunk/; revision=34540
2008-07-16 01:22:26 +00:00
Colin Finck
a9fabb5fd5 Revert r34533 (except the nice indentation in the Makefile) for unbreaking trunk.
This change is also not compatible with current cleaning scripts in RosBE and on the Buildslaves (which only delete "makefile.auto"), leading to possibly unclean builds if the generated makefile wouldn't be deleted.
The ultimate goal would be putting the generated makefiles into the intermediate directories, so we also save one cleaning step.

svn path=/trunk/; revision=34536
2008-07-15 22:04:16 +00:00
Hervé Poussineau
d1a689916c Rename makefile.auto to makefile-$(ARCH).auto
svn path=/trunk/; revision=34533
2008-07-15 20:42:08 +00:00
Hervé Poussineau
d595a43107 Add an option to disable precompiled headers
svn path=/trunk/; revision=34186
2008-06-29 12:42:11 +00:00
Marc Piulachs
9534f47230 -Remove obsolete Makefile. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=34105
2008-06-26 15:52:22 +00:00
Marc Piulachs
6cf68480b9 Add ROS_BUILDENGINE variable to determine the location of rbuild
- Allows using an rbuild executable other than the one found in the same source tree (tools\rbuild)

svn path=/trunk/; revision=33551
2008-05-17 09:56:15 +00:00
Hervé Poussineau
21ffe8e67a Change default intermediate directory to obj directory.
svn path=/trunk/; revision=33094
2008-04-22 05:52:18 +00:00
Hervé Poussineau
d3037c8cdb Display a message when directories are created
svn path=/trunk/; revision=32290
2008-02-11 14:06:37 +00:00
Colin Finck
2d23d947cf Also create the temporary directory if it does not exist.
See issue #2518 for more details.

svn path=/trunk/; revision=31676
2008-01-08 21:22:27 +00:00
Marc Piulachs
14b8e0949e Move ntstatus.h/rc generation from Makefile to ntdll.rbuild
svn path=/trunk/; revision=31410
2007-12-23 00:55:02 +00:00
Marc Piulachs
1b7ac1d2db Add support for mc files and remove hardcoded WMC instructions from Makefile . Thanks to Amine and Colin for helping to test it
svn path=/trunk/; revision=31408
2007-12-22 23:41:57 +00:00
Aleksey Bragin
aa2093d7d9 - Add a status table for ntdll, which corresponds to Windows 2003 SP1 build. ntstatus.mc is done by Dmitry Philippov, with some additional editing by me. Now we have a real autogenerated ntstatus.h (the one in include/ddk still remains for now).
- Include autogenerated resources in ntdll.dll.

svn path=/trunk/; revision=31399
2007-12-22 16:56:29 +00:00
Aleksey Bragin
55999c83fb - Turn back messagetables inlining support for now.
svn path=/trunk/; revision=31355
2007-12-20 15:30:12 +00:00
Aleksey Bragin
afa1e79577 - Remove inlining messagetables option from wmc invocations.
svn path=/trunk/; revision=31353
2007-12-20 13:17:12 +00:00
Marc Piulachs
c8a87ec7b8 - Build API stats on request (new target "make rgenstat" will create apistatus.xml)
- Partly updated apistatus.lst 

svn path=/trunk/; revision=30282
2007-11-08 20:52:42 +00:00
Hervé Poussineau
08a400e41b On *nix systems, support absolute paths in ROS_INTERMEDIATE and ROS_OUTPUT
See issue #2518 for more details.

svn path=/trunk/; revision=30238
2007-11-07 11:29:57 +00:00
Art Yerkes
0abf169695 All remaining changes from the PPC branch. Not well tested yet. Many things
are indeed still stubs or WIP code.

Some people have been interested in helping out from some time and I'm sorry
I haven't been able to do this merge finally for a while.

svn path=/trunk/; revision=29407
2007-10-06 07:53:20 +00:00
Hervé Poussineau
5fecef05ea Add back windres, it is still used after wrc invocation
svn path=/trunk/; revision=29378
2007-10-03 14:17:46 +00:00
Hervé Poussineau
09ab02f6da Remove usewrc attribute in rbuild files ; wrc should be able to compile all resources
svn path=/trunk/; revision=29377
2007-10-03 14:09:45 +00:00
Hervé Poussineau
d0ae8b7806 Try to fix Linux build
svn path=/trunk/; revision=29372
2007-10-03 11:24:56 +00:00
Hervé Poussineau
254bdce1b8 Support custom C and C++ compilers, by variables HOST_CC, HOST_CPP, TARGET_CC and TARGET_CPP
Simplify usage of ROS_PREFIX variable

svn path=/trunk/; revision=29371
2007-10-03 11:12:25 +00:00
Johannes Anderwald
5eef84319c - remove superflious calls to sysreg
svn path=/trunk/; revision=29357
2007-10-02 16:10:11 +00:00