Commit graph

49 commits

Author SHA1 Message Date
Alexandre Julliard
a82f1b0ebb makefiles: Avoid empty variables in substitutions, it's broken on BSD make. 2006-09-09 22:28:53 +02:00
Alexandre Julliard
4e8cb6170f configure: Setting rpath should no longer be needed for dlls. 2006-08-16 13:25:08 +02:00
Alexandre Julliard
2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Alexandre Julliard
523e46debb winegcc: Automatically add the correct lib paths when building inside the Wine tree. 2006-07-11 21:32:36 +02:00
Mike McCormack
6d9af55a12 configure: Remove the --disable-debug and --disable-trace options. 2006-04-17 12:38:52 +02:00
Alexandre Julliard
1fd32cfa13 configure: Use --rpath when linking dlls too. 2006-03-20 22:08:26 +01:00
Alexandre Julliard
5319db6332 Remove some no longer needed library paths. 2006-03-16 16:28:43 +01:00
Mike Frysinger
5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Alexandre Julliard
7ddab75619 Declare debug channels as static variables so that we don't need to
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
Alexandre Julliard
15ac6847e0 Build and load import libraries directly from the dll directory where
possible, and only create symlinks for directories that don't have the
correct name.
2005-05-10 13:21:04 +00:00
Alexandre Julliard
2dabac08ee Added support in winebuild for specifying import libraries directly on
the command line without the -l option.
Changed the -d option to only mark the library as delayed, the actual
loading is now done separately.
2005-05-06 15:54:41 +00:00
Vincent Béron
6cef9c09c2 APPMODE can now be one of -mwindows or -mconsole. 2005-03-05 10:47:42 +00:00
Vincent Béron
1f504141b7 Use a new DLLDEFS variable in configure/Makefiles to actually remove
all the debug messages (minus ERRs) if the user decides so.
2004-10-19 23:06:11 +00:00
Alexandre Julliard
6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard
4d6b27ec3a Avoid some redundant libraries on the winegcc command line. 2004-03-03 22:39:22 +00:00
Alexandre Julliard
6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +00:00
Alexandre Julliard
095b498b17 Renamed --exe-mode option to --mode now that it can be used for dlls
too.
2004-02-16 22:24:24 +00:00
Alexandre Julliard
c3eac43839 Moved libuuid to the dlls directory, and moved the DirectX GUIDs into
a separate libdxguid library.
2004-01-26 21:29:05 +00:00
Alexandre Julliard
6ac34ac6ab Define an LDDLL command to link dlls, instead of using LDDLLFLAGS. 2003-10-11 01:05:18 +00:00
Alexandre Julliard
16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Alexandre Julliard
15566391e2 Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). 2003-06-13 23:26:01 +00:00
Alexandre Julliard
2e12d33dfd Removed no longer needed uses of LDPATH. 2003-04-21 23:54:05 +00:00
Alexandre Julliard
9e4fc4c9b6 Converted winebuild option parsing to use getopt_long. Added a number
of long aliases for the existing short options.
2003-03-23 01:12:30 +00:00
Alexandre Julliard
6a9fe36de2 Created a separate static portability library and moved some of the
libwine routines in there.
2003-03-19 22:09:16 +00:00
Alexandre Julliard
ae4311c71c Defined NONAMELESSUNION/STRUCT directly in the files that need it
instead of globally in the makefile.
2003-01-07 23:11:12 +00:00
Alexandre Julliard
3144b3c85d -DSTRICT is now the default behavior. 2002-12-10 22:49:15 +00:00
Alexandre Julliard
310de886e9 Check file header to differentiate between object files and resources
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Alexandre Julliard
e0c6370c75 Removed some checklink rules made unnecessary by the -z defs linker
flag.
2002-11-30 19:19:44 +00:00
Alexandre Julliard
1550044e5d Add -lc when linking dlls to avoid warnings on FreeBSD. 2002-11-21 03:47:45 +00:00
Alexandre Julliard
910851a20e Added winebuild -e option to specify the entry point and removed the
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Alexandre Julliard
4b9344eb15 Moved ts_xlib.c into x11drv and removed libwine_tsx11. 2002-09-25 03:29:55 +00:00
Alexandre Julliard
edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard
526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Steven Edwards
9138fbb6ad Fix building/linking resources on Mingw. 2002-07-29 23:28:09 +00:00
Alexandre Julliard
4b9cc8684b Added dependency on program symlink for unit tests. 2002-06-20 23:10:19 +00:00
Alexandre Julliard
f673b71ece Fixed make install target to work even when nothing has been compiled
yet.
Added install-lib and install-dev targets to allow partial
installations; moved winemaker.man and winelauncher.in to better fit
in the new install categories.
2002-06-14 23:48:27 +00:00
Alexandre Julliard
3536316a31 New loading scheme for Winelib apps, makes them behave like builtin
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Alexandre Julliard
cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard
ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
fc01b729f6 Added some support for cross-compilation using mingw32. 2002-05-12 03:16:39 +00:00
Alexandre Julliard
67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Alexandre Julliard
32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard
13b0c0915b Added rules for running tests. 2002-01-10 03:30:21 +00:00
Alexandre Julliard
bef8e16fdf Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. 2001-11-24 17:07:08 +00:00
Dennis Bjorklund
93dd2d694f Remove old link before creating the new one. 2000-12-10 23:11:41 +00:00
Alexandre Julliard
e2222fd8ff Use libwine and libwine_unicode directly from their build directory
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Alexandre Julliard
218188c2d2 Always put the dll constructor in the .init section, and like the
.spec.o file first to ensure correct calling order of the constructors.
2000-12-02 20:38:47 +00:00
Alexandre Julliard
626f425b6a Added Makeprog.rules.in containing rules for building Winelib
programs.
2000-11-10 23:35:20 +00:00