Commit Graph

353 Commits

Author SHA1 Message Date
Rob Shearman 0c694d710e makefiles: Split AR into AR and ARFLAGS. 2008-03-04 20:55:24 +01:00
Alexandre Julliard 1716f03fae Make.rules: Process man pages in the C locale. 2007-12-12 14:39:54 +01:00
Alexandre Julliard b0585bf10f Make.rules: Added rules for building the dlldata.c file. 2007-12-10 14:26:13 +01:00
Alexandre Julliard b64ceefde3 tools: Remove the no longer needed bin2res tool. 2007-09-18 13:36:58 +02:00
Alexandre Julliard 1f11333c7b makefiles: Build programs that link against libwine twice with appropriate rpaths.
One rpath is for installing and one is for running inside the build tree.
2007-06-20 20:03:30 +02:00
Alexandre Julliard 4091627cd7 configure: Get rid of lex compatibility support, we require flex anyway. 2007-03-08 13:19:50 +01:00
Alexandre Julliard 1df72cc794 Make.rules: Automatically generate the header for all types of idl sources. 2007-02-09 14:32:57 +01:00
Alexandre Julliard 267987b822 Make.rules: Pass all idl source files to makedep. 2007-01-19 12:44:10 +01:00
Alexandre Julliard ce25156e48 Make.rules: Be more specific in make clean, only clean targets that we have created. 2006-12-29 12:49:43 +01:00
Alexandre Julliard 12c196203c Make.rules: Added support for building IDL client/proxy/server/iid files. 2006-10-16 17:20:37 +02:00
Alexandre Julliard 8598a4c600 makefiles: Attempt to automatically run make depend when reading an updated makefile. 2006-09-14 09:40:00 +02:00
Alexandre Julliard bcdc5fb55f Make.rules: Set the default prefix for bison files from the file basename. 2006-09-11 21:47:49 +02:00
Alexandre Julliard 145a0ba508 makefiles: List bison dependencies explicitly for parallel makes, since older bisons don't support --defines. 2006-09-11 21:43:11 +02:00
Alexandre Julliard e4fca883a2 makedep: For generated headers, parse the source idl instead.
This avoids having to generate all the headers before make depend.
2006-09-10 22:04:42 +02:00
Alexandre Julliard dc8c76ae3c makefiles: Make sure that all phony targets depend on 'dummy'. 2006-09-09 23:09:04 +02:00
Alexandre Julliard 9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Alexandre Julliard 80a9a065dd makefiles: Get rid of the checklink rules, they no longer work. 2006-08-26 20:21:33 +02:00
Alexandre Julliard 13a93b4a94 configure: Set rpath on all executables that link to libwine.
Also add the -multiply_defined suppress option for executables on MacOS.
2006-08-25 17:23:44 +02:00
Alexandre Julliard 4e67a4558c Make.rules: Added rules for client/proxy/server generation from IDL files. 2006-08-09 12:38:15 +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 5012c17a05 Make.rules: Make all submake invocations silent for consistency. 2006-08-07 13:54:09 +02:00
Alexandre Julliard ded32d5194 makedep: Always search for includes in the standard directories, even without -I option. 2006-08-01 12:37:18 +02:00
Alexandre Julliard dea28ee4a6 makedep: Don't add dependencies for system headers. 2006-08-01 12:27:22 +02:00
Alexandre Julliard 853d193782 Make.rules: Replace RC_TLB by IDL_TLB_SRCS as tlb files can be used for other things than resources. 2006-07-29 11:45:24 +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
Alexandre Julliard 645cd6ff50 libs: Get rid of the symlinks for the static libs. 2006-07-11 19:33:48 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 749841148f Make.rules: Define datarootdir to avoid a configure warning. 2006-05-28 18:16:38 +02:00
Alexandre Julliard 35842ca717 tools: Added 'relpath' tool to compute relative Unix paths. 2006-02-17 11:42:17 +01:00
Alexandre Julliard 664e4106c6 Added global rules for man pages. 2005-10-06 16:06:04 +00: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 cd91bc61be Now that we are requiring bison anyway, make the .tab.c file use the
same base name as the .y file, so that we can generate correct
dependencies in all cases.
2005-09-28 18:17:08 +00:00
Alexandre Julliard 5cb97d833a Generate 16-bit spec files as assembly code too. 2005-09-21 14:23:54 +00:00
Mike McCormack b744372231 Turn off gcc 4.0's builtin wchar inlines. 2005-08-11 17:12:18 +00:00
Alexandre Julliard adbb098837 Added support for the --image-base linker option in winegcc using the
prelink tool.
2005-08-09 11:12:29 +00:00
Robert Shearman 8b00c3d6e2 ttf files for bitmap fonts should be generated with an extension of
just "." to work around a quirk in fontforge (with thanks to George
Williams for helping me fix this).
2005-07-20 17:48:26 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Hans Leidekker a764450631 Move all files from winapi_check/ to winapi/, and remove references to
winapi_check directory.  Merge winapi_check programs.
2005-05-04 09:55:17 +00:00
Alexandre Julliard bcb7591e41 Converted the make_ctests script to C (based on a patch by Royce
Mitchell III).
2005-03-16 20:02:17 +00:00
Dimitrie O. Paun c02dd0a902 Add support for .exe's with exported functions. 2005-03-08 16:55:26 +00:00
Vincent Béron 860c84beeb Make tlb generation from idl files dependent on widl. 2005-02-08 12:13:10 +00:00
Alexandre Julliard 382dba6887 Don't clean all tlb files, only the ones we generated. 2005-02-01 14:37:36 +00:00
Huw Davies 4046846a82 Added stdole32.tlb. 2005-01-28 14:13:08 +00:00
Alexandre Julliard 3a3307d4b2 Force all the tools to be rebuilt before make depend, otherwise make
will try to do that from the include directory.
2004-10-07 03:12:44 +00:00
Alexandre Julliard d062924f66 Removed no longer needed ICOM compatibility mode in widl. 2004-10-05 04:44:20 +00:00
Alexandre Julliard 47461203c4 Build the .h files from their idl source at compile time, and remove
them from CVS.
2004-09-21 00:35:02 +00:00
Alexandre Julliard 233766aafa Build idl files as part of the normal build process. 2004-09-20 21:48:42 +00:00
Alexandre Julliard 5ad619b19e Turn on warnings when building the .def file. 2004-09-13 18:14:55 +00:00
Alexandre Julliard 07a805127a Added recursive idl target to allow updating idl files private to a
dll.
2004-08-22 22:33:57 +00:00
Huw Davies 00acb5f719 First stab at Wine versions of Courier, System and MS Sans Serif
fonts.
2004-08-17 22:33:14 +00:00
Alexandre Julliard c4aacf0e81 Build the dlls with winegcc. 2004-03-24 03:34:00 +00:00
Mike McCormack c068f67051 Require bison to compile Wine. 2004-03-16 03:11:39 +00:00
Alexandre Julliard a631ef6369 Renamed the symbol for the cpp binary to avoid conflicts with
configure internals.
2004-03-03 20:30:46 +00:00
Alexandre Julliard ccc3d66c4a Build the tests with winegcc. 2004-03-02 06:58:21 +00:00
Dimitrie O. Paun f41c2b212a Instrument winegcc to use the compilers and options detected at
configure time. Add support for parsing/formatting a string array
from/to a char string. Add option to disable short wchar support in
winegcc.
2004-03-02 02:23:26 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +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 49b9c7650f Add DEFS to the resource compiler flags. 2003-12-13 03:19:34 +00:00
Alexandre Julliard 6ac34ac6ab Define an LDDLL command to link dlls, instead of using LDDLLFLAGS. 2003-10-11 01:05:18 +00:00
Dimitrie O. Paun 54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +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 af62e83d1c Got rid of 16-bit glue code generation since it is no longer used. 2003-08-23 00:45:20 +00:00
Richard Cohen 6039fb0121 Always use our own c2man. 2003-07-21 22:01:07 +00:00
Alexandre Julliard 15566391e2 Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). 2003-06-13 23:26:01 +00:00
Dimitrie O. Paun 1a1f9bffb3 Make it easy to use something other than wrc to compile resources. 2003-05-06 18:34:53 +00:00
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Alexandre Julliard 2e12d33dfd Removed no longer needed uses of LDPATH. 2003-04-21 23:54:05 +00:00
Alexandre Julliard 21ee3295fc Support resources in cross-compiled tests. 2003-04-21 22:52:31 +00:00
Alexandre Julliard fc09423d3d Allow overriding CFLAGS when running configure. Other small cleanups. 2003-04-14 21:46:41 +00:00
Alexandre Julliard aa89eccc71 Added support for generating dependencies for idl files. 2003-04-11 00:38:56 +00:00
Dimitrie O. Paun 29ba6163aa Remove the no longer needed -m option, ignore -r for compatibility
with rc.
Rename -B to --endianess, -d to --debug, -W to --pedantic.
Add a new -U,--undefine option to undefined preprocessor symbols.
Cleanup the help message (order the long options alphabetically).
2003-03-28 19:31:49 +00:00
Alexandre Julliard e048adab83 List 16-bit spec files explicitly to avoid problems with some versions
of make.
2003-03-23 20:00:02 +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 2d1c79066e Moved libwine to libs/ directory.
Some makefile fixes and cleanups.
2003-03-22 20:40:48 +00:00
Alexandre Julliard 7ab9a715a8 Moved libwine_unicode to the libs/ directory. 2003-03-21 05:06:48 +00:00
Alexandre Julliard 6692d399d6 Moved libwine_uuid to the new libs/ directory. 2003-03-20 01:30:11 +00:00
Dimitrie O. Paun d5a194b7dd Remove -J, -P, and -V as they have long options equivalents.
Update documentation, small code cleanups.
2003-03-19 22:45:51 +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
Jon Griffiths 35345f2d4f Updated rules for API doc generation.
Add sgmlpages target for making a docbook 'Wine API Guide'.
2003-03-15 19:48:34 +00:00
Alexandre Julliard f8bac62769 Do not define __WINESRC__ when building tools and miscemu. 2003-01-09 01:57:15 +00:00
Alexandre Julliard d1d5d4265e Added a few rules to rebuild idl headers. 2003-01-09 01:09:16 +00:00
Marcus Meissner 1d4db787b6 Check and define AS (for cross/biarch compiler support). 2003-01-09 00:46:54 +00:00
Dimitrie O. Paun 4a883a55f6 Collapse the -hHrs options into the -O option.
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Alexandre Julliard c5b99e7479 Removed unnecessary --add-stdcall-alias flag. 2002-12-19 23:43:02 +00:00
Alexandre Julliard ada5e6521b Implemented import libraries; on Unix we import the .def file
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Alexandre Julliard 2a93f8505c Pass the -J option to wrc to avoid including installed headers. 2002-12-11 01:34:51 +00:00
Alexandre Julliard ed2f8fc801 Added rules for compiling IDL files. 2002-12-03 23:36:05 +00:00
Dimitrie O. Paun e39e8a172b Rewrite make_ctests and runtest in shell. 2002-11-11 20:25:54 +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
Martin Fuchs 3f44167715 Corrected the alignment of unicode message table strings in wmc, and
switched to unicode for message strings, so that FormatMessage() now
works.
2002-10-19 17:15:00 +00:00
Alexandre Julliard c728efc3c9 Added --disable-win16 configure option. 2002-10-02 02:34:09 +00:00
Alexandre Julliard 137eed8d9b Moved X flags and libraries out of Make.rules into the makefiles that
need them.
2002-10-01 18:16:19 +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 c3c587eb1d Added preliminary support for cross-compiling tests using mingw on
Linux if available.
2002-09-06 19:46:00 +00:00
Alexandre Julliard edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard 1d8d0171bb Install the aclocal macros for use by Winelib apps. 2002-08-02 19:34:21 +00:00
Alexandre Julliard 4b92255cec Don't pass the perl C flags to winebuild. 2002-08-02 19:12:01 +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
Alexandre Julliard c754a89b94 Use the normal perl interpreter for test scripts that don't need to
call Windows APIs.
Don't build winetest.exe by default.
2002-07-31 23:23:32 +00:00
Steven Edwards 9138fbb6ad Fix building/linking resources on Mingw. 2002-07-29 23:28:09 +00:00
Alexandre Julliard 439bc961c4 Fixed linking rule for test programs (spotted by Gregg Mattinson). 2002-07-20 20:21:45 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +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 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Alexandre Julliard eb5f89c553 No longer need a special LDCOMBINE for cygwin/mingw. 2002-05-24 21:22:10 +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 df234a9f9f Added check for ln. 2002-05-22 02:10:39 +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 9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +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 d7c606d624 Various makefile fixes for the test environment. 2002-04-02 02:58:45 +00:00
Alexandre Julliard 77002ffc13 Fixed rule for test program. 2002-03-22 01:00:34 +00:00
Alexandre Julliard b2fffefe07 Fixed rules for main module spec file. 2002-03-20 22:58:11 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard abfcb8bfb9 Added make check target to run unit tests too since this seems to be
standard.
2002-02-28 21:43:46 +00:00
Alexandre Julliard caa03388bc Preliminary version of the C unit tests run-time environment.
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Dmitry Timoshkov 93a5b8681d Support for generation of .def files from .spec files. 2002-02-04 18:48:18 +00:00
Patrik Stridvall e2e70236a1 - Made runtest "use strict".
- Added new option -M to specify which modules should be tested as
  builtin.
2002-02-02 18:22:08 +00:00
Alexandre Julliard 9384184a11 Rewrote runtest in Perl so that it can be used on the Windows side.
Added options for include directories, debug level and target platform.
selection.
2002-01-14 19:56:46 +00:00
Alexandre Julliard 13b0c0915b Added rules for running tests. 2002-01-10 03:30:21 +00:00
Alexandre Julliard 7662ea1004 Made register and interrupt flags instead of entry point types, so
that we can have both stdcall and cdecl register functions.
Changed 16-bit .spec.c file generation to avoid including builtin16.h.
2001-12-14 23:14:22 +00:00
François Gouget 1c3a242ec2 Make out-of-source-tree builds work with Solaris make. 2001-11-09 19:15:51 +00:00
Alexandre Julliard f33f7f0ed0 Improved make_dlls script. Moved dll list out of
Make.rules.in. Removed a few no longer used rules.
2001-09-17 20:09:08 +00:00
Hidenori Takeshima 1a8b33997f Added stubs for mapi32, msimg32, sti and url. 2001-09-14 21:36:30 +00:00
Francois Gouget b83bb6dac2 Fixed man and doc-html rules. 2001-08-22 18:01:39 +00:00
Patrik Stridvall b71902952d Added a filter rule for filtering make output with
tools/winapi/make_filter.
2001-07-29 20:20:13 +00:00
Mike McCormack 76e25f697f Correct man page spec directory. 2001-07-26 20:06:00 +00:00
Hidenori Takeshima b7d4b4e73b Added stubs for quartz.dll. 2001-07-02 18:57:22 +00:00
Marcus Meissner b63ab44599 Implemented glu32.dll as libGLU.so forwarder. 2001-06-08 19:02:57 +00:00
Dmitry Timoshkov db79045531 List 16-bit resources separately as RC_SRCS16. 2001-05-31 21:37:29 +00:00
Rein Klazes 2a4c68bd0b Added new dll wintrust.dll with a stub for WinVerifyTrust(). 2001-04-16 19:36:12 +00:00
Satsuki Fujishima f34f418926 Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for scripts. 2001-03-19 19:19:23 +00:00
John R. Sheets bc80a3b4c7 Implemented stubs for IWebBrowser in shdocvw.dll. 2001-01-11 22:32:44 +00:00
Jon Griffiths 1db20bfd33 - Migrate CRTDLL to MSVCRT.
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +00:00
Alexandre Julliard c4d1176754 Renamed libuuid.a to libwine_uuid.a 2000-12-27 19:06:44 +00:00
Ove Kaaven e5557b357a Separated the MZ loader and core DOS VM into dlls/winedos. 2000-12-26 00:22:45 +00:00
Hidenori Takeshima d48ca948cb Use dllwrap for building shared libraries in cygwin. 2000-12-22 22:28:00 +00:00
Hidenori Takeshima 9c672134fd Added a spec file for 16bit imm.
Added spec files for winnls and winnls32.
2000-12-14 21:56:18 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Alexandre Julliard 5be8e7d8e0 Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
2000-12-06 01:50:47 +00:00
Alexandre Julliard b018239fef Build tsx11 layer as a separate shared library. 2000-12-06 00:04:10 +00:00
Dimitrie O. Paun 79e44abeed Use the approriate command for combining .o files. 2000-12-05 04:13:36 +00:00