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).
tracing macros in Winelib applications.
The wine/lib, wine/ole, wine/unicode directories are gone. Simplify
the wine_unicode and wine_uuid detection.
Fix generation of the clean target (in some corner cases it could
generate a $(RM) command with no parameter).
Move the distclean target to the top-level Makefile and make it more
thorough.
Update a few autoconf constructs.
Remote commented out code in wrapper.c. If we need that code we can
always get it from CVS.
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
- fix perl syntax error in generate_wrapper_file()
- fix order of arguments generate_from_template() in generate_wrapper_file()
- don't ignore command line -l, -I, and -i arguments
- build wrapper with a minimal set of DLLs/libraries
- fix autoconf invocation to support both 2.5x and 2.13
- fix usage message for --nodlls
- target_init(\$global_settings) must not be done after reading command line
- fix appName declaration in wrapper code
in each Makefile.in file.
Introduce generate_from_template which replaces generate_configure
and generate_generic
Simplify the wrapper generation by using generate_from_template.
Rename configure.in to configure.ac. Now works with autoconf 2.5x.
file.
- Added imports and resources to Makefile.in.
- Checked for __sparc__ and __sun__, same as Wine's configure.
- Checked $WINE_ROOT/library for library files.
- Changed mixedcrt directory to msvcrt.
specified path.
Libraries and wine dlls are separate notions that need separate paths
-> add WINE_DLL_{ROOT,PATH}, --with-wine-dlls and a '-P' option.
Small fixes to the search order.
the INSTALL* variables.
Winelib applications don't need to link with X, i386, ossaudio, xpg4,
mmap, util, dl or curses. Only wine does (normally).
Remove YACC & LEX variables (Make.rules.in).
Winemaker's makefiles don't use ldconfig.
When case fixing #includes, take into account that the file may have
been renamed (closes#161).
Better support of $(SRCDIR) in -I directives.
RTF was not recognised in rc files because it was in the wrong place.
Escape weird characters when putting the rc filename in the spec file.
The wrapper code needs to import dlls too.
All the generated wrapper files were identical, the 'variable'
subsitution was done on the template itself. Oups!
- Uppercase extensions are not supported after all (hint: $(SRC:.c=.o))
- Pass the global defines and include path to WRC
- Base the cleanup on the OBJS variable so that it works even if the
sources are in a subdirectory
- In interactive mode, print "./" for the top level directory rather
than an empty string
- We don't need to force a space before assignments
- Align TOPSRCDIR & co like all the other assignements
- Compile Dlls first (dependencies would do it more or less anyway)
- Wording change in the usage
Renamed LIBRARIES to DLLS to avoid confusion with the above, renamed
PROGRAMS to EXES to match.
Added a '-i' option for importing a Winelib library. '-l' is still
there but is only used for linking in the Unix sense.
Disabled the 'wrapper' options. It will be removed as a separate
patch.
No longer link with all of Wine's libraries.
Import the same default set of dlls as Visual Studio.
Avoid duplicate imports when generating the .spec file.
Updated the way winebuild is used.
Link applications as libraries and create a symbolic link to wine.
Detect where 'wine' is located in the configure script.
Removed unused/no longer used variables: DLLFLAGS, XLIB, X_DLLS,
XFILES, DLLS (configure.in)
Updated LDSHARED AND LDDLLFLAGS detection (configure.in).
Removed the rules pertaining to spec files from the Make.rules.
Updated the clean command to remove the symbolic links.
Added AC_PATH_HEADER and AC_PATH_LIBRARY
Better header/library detection. Now works if things are already in
the include/library path
Look for the wine/MFC headers and libraries in more places so that it
works out of the box if Wine/MFC is installed in a standard place
(although there is not really a standard place yet for the MFC)
Renamed the '--with-xxx' options to have simpler more natural names
Renamed the corresponding 'WINELIB_xxx' variables to 'WINE_xxx'
default
Added --no-lower-include option to override the above
Beautified the interactive mode output to make it easier to follow
Interactive mode: support the --mfc and --wrap options for both
projects and targets
Fixed the mfc/wrap propagation between project and targets (goes both
ways)
Autodetect MFC based projects by looking for an 'stdafx.(cpp|h)' file
Don't put the stdafx.cpp file in the list of files to compile (it's
just there for pre-compiled headers, yuk)
Fixed LD_LIBRARY_PATH when linking an application with a library from
the same makefile
Don't forget 'extra' sources when looking for a file for configure.in
Renamed the '--no-makefile' option to '-no-generated-file'
Modified get_real_include_name so that it can follow an include path
starting with $(TOPSRCDIR)
Indent the debug messages a bit more so that winemaker's is still
readable when they are on
The ATL_INCLUDE_ROOT variable was set wrong (configure.in)
The MFC include path must contain the path to the ATL headers
(configure.in)