Commit Graph

283 Commits

Author SHA1 Message Date
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
Dennis Björklund 58eee3844d Compile fix for building wine outside the source tree. 2000-12-02 20:10:38 +00:00
Alexandre Julliard caf5f89bcb Do a strip --strip-unneeded on the .tmp.o file to reduce disk usage. 2000-11-13 04:17:00 +00:00
Alexandre Julliard 000c13a0da Added support in winebuild for resolving function imports (-sym option).
Added -L option for locating imported dlls.
Changed generated exe init code to use __wine_get_main_args.
2000-11-09 20:31:18 +00:00
Alexandre Julliard 017a61e0c2 Use .mc.rc extension for rc files generated by the message compiler. 2000-11-06 05:30:48 +00:00
Alexandre Julliard 2fa4f767aa Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.
2000-10-31 00:20:51 +00:00
Alexandre Julliard cbeb644a94 Added support for loading .res files for 16-bit resources. 2000-10-25 20:33:58 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Alexandre Julliard 15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Alexandre Julliard c585a501d9 Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format.
Generate the import table directly in PE format.
Added gui/cuiexe_no_main modes in EXE spec files, and use this for the
main wine binary.
2000-09-27 23:40:43 +00:00
Marcus Meissner a387aa4868 Migrate $LDFLAGS from configure to Makefile and into main wine
executable.
2000-09-26 23:09:47 +00:00
John R. Sheets 1e8e5ba829 Converted Wine documentation to SGML format. 2000-08-08 01:24:00 +00:00
Alexandre Julliard a3502ccf93 Merged setupx.dll into setupapi.dll.
Merged sound.dll into winmm.dll.
Merged stress.dll into kernel32.dll.
2000-07-26 19:51:37 +00:00
Alexandre Julliard 7e495e1d66 Make unicode.o into a separate ELF library so that we can use it from
the wineserver too.
2000-07-25 21:01:59 +00:00
Alexandre Julliard f5aee67c07 Added rules for message compiler .mc files. 2000-07-25 17:52:08 +00:00
Alexandre Julliard cd770eafcd Temporarily moved advapi32 registry support back into libwine.so, and
made advapi32 a separate dll.
2000-07-25 15:10:52 +00:00
Alexandre Julliard 78547774cc Merged wing.dll into gdi32.dll. 2000-07-25 12:28:20 +00:00
Alexandre Julliard 37b51f4acc Merged msacm and msacm32 dlls.
Merged win87em and windebug into kernel32.dll.
2000-07-24 18:30:00 +00:00
Mike McCormack 4306eaa898 Corrected c2man flags. It still crashes anyhow :-/ 2000-07-23 19:27:00 +00:00
Mike McCormack dc2461e804 Implemented serialui dll containing CommConfigDialog,
GetDefaultCommConfig and SetDefaultCommConfig.
2000-07-15 21:35:55 +00:00
Huw D M Davies 10b1b23d40 Create rpcrt4.dll.
Implement UuidCreate (using existing code from CoCreateGuid).
CoCreateGuid calls UuidCreate.
2000-07-15 19:53:50 +00:00
Alexandre Julliard c607532ae4 Created separate libraries for dplay, shfolder, shlwapi, wow32 and
wsock32 so that we have at most one Win32 dll in each .so library.
2000-07-09 11:19:35 +00:00
Francois Jacques df5e579254 Added setupapi shared library and SetupIterateCabinet stub. 2000-07-08 18:27:03 +00:00
Alexandre Julliard e482eebf2f Split the build program in several files.
Renamed it 'winebuild' to avoid possible conflicts.
Cleaned up command-line parsing.
Make it understand -fPIC instead of -pic.
Merged call16.s and call32.s generated files.
2000-06-23 20:15:35 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
Alexandre Julliard 2f158c2678 Removed @PROGEXT@ (it was broken anyway).
Improved 'make install'.
Cleaned up the main Makefile.
2000-06-14 21:45:38 +00:00
Bertho Stultiens 3085591767 Initial release of the message compiler. 2000-06-13 04:34:41 +00:00
Alexandre Julliard 01e819ad9f Simplified wrc flags handling. 2000-06-08 04:52:11 +00:00
Dimitrie O. Paun 36b5b6b9f4 Start to separate KERNEL out of libwine. 2000-06-03 00:07:44 +00:00
Dimitrie O. Paun 84bde6a4a4 Separate wineps out of Wine's core. 2000-05-30 20:27:23 +00:00
Alexandre Julliard 442f6b1df7 Do not clear suffixes list (breaks BSD make). 2000-05-25 23:06:53 +00:00
Alexandre Julliard 24c3c5ed87 Revived the GEN_C_SRCS variable to support wrc lex/yacc sources. 2000-05-24 03:31:04 +00:00
Hidenori Takeshima 4615e29c58 If system doesn't have OpenGL, don't refer to libopengl32.so. 2000-05-23 23:36:41 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Hidenori Takeshima e75f9fb806 Added stubs for riched32.dll. 2000-05-03 18:12:19 +00:00
Patrik Stridvall 2941a2126c Compile fix for --without-x. 2000-04-25 20:34:22 +00:00
Eric Pouech 44af98cb36 Fixed winspool(.drv) loading. 2000-04-25 19:57:27 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Alexandre Julliard 819fa8ce38 Merged urlmon.dll and wininet.dll from the Corel tree (implementation
by Ulrich Czekalla <ulrichc@corel.ca>)
2000-04-11 20:07:00 +00:00
Alexandre Julliard c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Alexandre Julliard 77d5ebbb37 Link ttydrv and x11drv objects into their respective dll. 2000-03-25 14:03:50 +00:00
Alexandre Julliard 1dac57f05f Created separate dlls for user,gdi,ttydrv,x11drv.
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard ddce652cae Made ddraw and dinput separate dlls. 2000-03-17 16:58:10 +00:00
Alexandre Julliard ebc32253bc Made MPR a separate dll. 2000-03-17 15:09:48 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Alexandre Julliard 7ee3435d5d Renamed libwin32s to use the proper dll name (libw32skrnl). 2000-02-29 22:11:44 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Eric Pouech 2a3b0a1dad Moved hardware related handling to dlls/winmm/joystick driver.
Got rid of joySendMessages() hack (now implementation with a timer).
2000-02-26 13:14:04 +00:00
Sean Langley 58c71d4f7c OLEPRO32 stubs. 2000-02-07 16:26:56 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Patrik Stridvall a9ee4a2ea3 - Unixware (Solaris) linker typo fixed
- Solaris (and possibly Unixware) specific linker support for the
  GNU:ism --[no-]whole-archive
- Solaris make specific makefile fix
2000-01-30 00:36:50 +00:00
Alexandre Julliard 0adad95db3 Made --enable-dll the default.
Use $(MAKE) instead of $(SUBMAKE) for recursive makes.
Cleaned up install targets in main Makefile.
2000-01-26 01:45:58 +00:00
Marcus Meissner d43eb2d0e2 Look for our header files first, then for systems headers. 2000-01-08 22:23:43 +00:00
Alexandre Julliard 96af9aa5b8 Added dependency on winestub.o 1999-10-25 02:50:08 +00:00
Marcus Meissner 9607512134 Relink subdirectory objects on Makefile.in/Make.rules.in change. 1999-10-13 13:45:15 +00:00
Patrik Stridvall 385dc18cea Added ability to call winapi_check from the Makefiles. 1999-09-29 10:24:19 +00:00
Ulrich Weigand 8336cc9e51 Adapted to glue code generation changes. 1999-08-15 12:45:53 +00:00
Patrik Stridvall a9be64e220 Added support for Solaris Lint. 1999-07-31 17:39:44 +00:00
Patrik Stridvall 0691a59736 Made compilation of *.spec.c files use -fno-builtin regardless of
where they are.
1999-07-31 14:45:22 +00:00
Alexandre Julliard d6baf1bb1a Authors: James Juran <jrj120@psu.edu>, Andreas Mohr <cipam895@cip1.ind.uni-stuttgart.de>
Updated README and man page.
Split documentation for wine.conf into new wine.conf(5) manpage.
1999-07-18 15:47:22 +00:00
Ulrich Weigand 4b32fd0d43 Use position-independent code in assembly glue when building .so.
Include if1632/ and graphics/win16drv/ into WineLib.
Move miscemu/emulate.c into dlls/win87em/.
1999-07-15 14:51:40 +00:00
Ulrich Weigand 3dff7bb842 Modularized CallFrom/To16 routines. Adapted dependent routines,
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +00:00
James Juran ffe6b7679a Use Autoconf to find path to ldconfig. 1999-06-12 08:21:57 +00:00
Alexandre Julliard 51662375c5 Get include files from the current directory first. 1999-05-15 10:41:15 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Joerg Mayer 03b5529ab4 - Remove some old rc make stuff
- "make clean" omitted some include subdirs
1999-04-02 10:33:21 +00:00
Alexandre Julliard e66d4219ec Fixed Makefile up-to-date check to avoid relinking all the object
files.
1999-03-14 15:22:29 +00:00
Marcus Meissner ca004e5037 Check for necessary configure reruns for Makefile and Make.rules
generation.
1999-01-03 12:26:22 +00:00
Todd Vierling 8beb15aa95 Use -lwine for linking. 1998-12-18 17:30:52 +00:00
Todd Vierling 4b992b0f88 These patches add support for --enable-dll on NetBSD, and may even do so for
FreeBSD a.out.  Now, NetBSD can use libwine as a shared object.  Thanks to
mycroft@netbsd.org for doing this work!
1998-12-15 15:26:27 +00:00