Add CEXTRA AND CXXEXTRA fields so we can pass -mno-cygwin to winegcc
commitc7201ce3ce9c853effb19bba3b66980eb36f47ea
authorFrancois Gouget <fgouget@free.fr>
Wed, 3 Mar 2004 02:19:20 +0000 (3 02:19 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Mar 2004 02:19:20 +0000 (3 02:19 +0000)
treeff231200842951e3b79309f8898bd71fe4fdc145
parentf1c1b6d3cb884a62409a76536dd82b0315a28b9c
Add CEXTRA AND CXXEXTRA fields so we can pass -mno-cygwin to winegcc
but not to wrc which chokes on it. Add RCEXTRA for symetry and for the
user.
Remove T_INIT and get_default_init(). These are obsolete (used to
select the entry-point, WinMain or main).
If the directory contains headers, then add '.' to INCLUDE_PATH.
Specify -mnocygwin during the link stage if we are to link with the
msvcrt.
Transform XXX_APPMODE into XXX_LDFLAGS for more flexibility.
Correctly pass '-mconsole' or '-mwindows' to the link stage.
Remove XXX_BASEMODULE, XXX_SPEC_SRCS and SPEC_SRCS. They are
obsolete.
Add implicit build rules for .c, .cpp, .cxx files so that our settings
(e.g. INCLUDE_PATH) are used.
Fix the rule for building RC files (it was invalid and rejected by
make). Convert it to an implicit rule like the others.
Add rules for 'make clean'.
Add the missing rules for recursive compilation.
Remove obsolete elements from the link command (LDDLLFLAGS,
ALL_LIBRARY_PATH, LIBS).
tools/winemaker