Commit Graph

71 Commits

Author SHA1 Message Date
Rob Shearman b1fccd9da9 msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>. 2008-09-29 17:21:27 -05:00
Rob Shearman 07ca2b4527 msvcmaker: Fix detection of static libraries.
Also don't generate a custom build step for the .spec file for static
libraries, since they don't have a .spec file.
2008-09-29 17:21:22 -05:00
Rob Shearman f32ec6430b msvcmaker: Generate include project and make every wine module depend on it.
The include project generates .h files from .idl files so that they
can be used when compiling the modules.
2008-09-29 17:21:16 -05:00
Rob Shearman 0b334e04df msvcmaker: Generate .h files from .idl files specified in IDL_H_SRCS makefile rules. 2008-09-29 17:21:05 -05:00
Rob Shearman e842164cb8 msvcmaker: Fix invocation of winebuild to generate compatible .def files. 2008-09-29 17:20:59 -05:00
Rob Shearman 5376d37f55 msvcmaker: Add support for building wine.lib. 2008-09-29 17:19:57 -05:00
Rob Shearman e713f4bf4f msvcmaker: Update the function list for which HAVE_* defines are written into config.h.
Remove all functions for which the HAVE_ define is not used anywhere.

Add _strdup, _strtoi64 _strtoui64, chsize, strdup and vsnprintf which
are all present in MSVC headers.
2008-09-29 17:19:52 -05:00
Rob Shearman 1ab076626d msvcmaker: Remove the defining of __ASM_SHORT and __ASM_STRING in the generated config.h file.
These defines aren't needed. Move the X_DISPLAY_MISSING and __ASM_*
defines to after the PACKAGE_* defines to match config.h.in.
2008-09-29 17:19:46 -05:00
Rob Shearman efe81dd8ed msvcmaker: Update the HAVE_* defines for headers in the generated config.h file.
Update list of headers present in the MSVC build environment. fcntl.h
isn't detected by configure and so isn't needed.
2008-09-29 17:19:33 -05:00
Rob Shearman c71d16c3e9 msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment. 2008-09-29 17:19:22 -05:00
Rob Shearman fb4355cb5b msvcmaker: Factor out some common settings.
Factor out writing of common compiler settings and setting of common defines.

Factor out the writing of HAVE_* defines in include/config.h and sort
the resulting defines before writing.
2008-09-29 17:19:15 -05:00
Rob Shearman d7a5ff025e msvcmaker: Fix generated imports for Wine modules and link with delayed imports. 2008-09-29 17:19:04 -05:00
Rob Shearman 6d11ecfff4 msvcmaker: Fix the generated filename for the spec file for modules with extensions other than .dll. 2008-09-29 17:18:58 -05:00
Rob Shearman 1b2cead10b msvcmaker: Fix the arguments passed to winebuild to generate the .def file. 2008-09-29 17:18:51 -05:00
Rob Shearman 6b3b7eb6a2 msvcmaker: Define USE_COMPILER_EXCEPTIONS and HAVE_SPAWNVP. 2008-09-29 17:18:39 -05:00
Hongbo Ni e0df1b9e57 msvcmaker: Fix msvc project file generation under MinGW32.
When converting a makefile to a msvc .dsp file, if a line is ended with
a back slash, it will be joined with next line. This patch changes the
joining character from '\n' to a space in order to fix the bug of 
running MinGW32 on Windows.
2008-08-20 11:45:59 +02:00
Reece Dunn d03f4d2a49 tools/msvcmaker: Suppress deprecation warnings on VC8 and above. 2008-04-07 20:35:49 +02:00
Reece Dunn 45d248f1e0 tools: Target the version defines to Vista in msvcmaker. 2008-03-24 21:05:07 +01:00
Francois Gouget de928a09ec msvcmaker: We don't use .dbg.c files anymore. 2008-03-05 13:05:11 +01:00
Francois Gouget 19a85f3433 msvcmaker: We don't build wine.lib so don't try to copy it. 2008-03-05 13:05:02 +01:00
Francois Gouget 9a17f38d6c msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC. 2008-03-05 13:04:53 +01:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Francois Gouget d60b99bd12 msvcmaker: Remove references to wine_unicode and to .spec.c files. 2006-12-07 11:53:52 +01:00
Francois Gouget baf85ad931 msvcmaker: Link with msvcrt(d).dll rather than with the static C library. 2006-12-06 12:14:35 +01:00
Francois Gouget f1698c4b0c msvcmaker: Tweak the .dsp formatting to better match Visual Studio. 2006-12-06 12:13:52 +01:00
Francois Gouget 72d5c0ddca msvcmaker: Remove unneeded -I.. for the msvcrt tests. 2006-12-06 12:13:47 +01:00
Francois Gouget bcf4a22a5e msvcmaker: Fix the code that sets __WINETEST_OUTPUT_DIR so it does not pollute $output_dir. 2006-12-06 12:13:41 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00
Francois Gouget 77fd5aa23b msvcmaker: The msvcrt tests need '..' in the include path. 2006-09-29 17:53:06 +02:00
James Hawkins bedcdee714 msvcmaker: Remove a reference to libs/unicode in msvcmaker. 2006-09-07 13:58:48 +02:00
Colin Pitrat ab2cdead77 tools: Check for open return code in Perl scripts. 2006-08-10 11:30:37 +02:00
Rolf Kalbermatter b7142fbb86 winapi: msvcmaker adaption to new directory structure.
Fix some issues with MSVC project file generation after recent
directory restructuring.
2006-01-06 12:19:11 +01:00
Francois Gouget 5127dc9f49 Assorted spelling fixes. 2005-12-02 16:15:09 +01:00
Saulius Krasuckas e76d25f68c Sync msvcmaker with make_ctests to generate valid code. 2005-06-20 10:30:31 +00:00
Alexandre Julliard dae2b44263 Fixed a number of references to removed directories. 2005-06-09 10:24:51 +00:00
Steven Edwards fa9b9f5fea Define "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all
the targets.
2004-11-22 19:46:22 +00:00
Francois Gouget a8b09d11ca Add function prototypes.
Change the way functions are called and either alter their declaration
order or predeclare them so perl can check the prototypes.
2004-10-26 00:12:21 +00:00
Francois Gouget b4df2417c4 Review and fix regular expressions of the form /^foo|bar$/.
Replace regular expressions with simple string comparisons where
possible.
Use '(?:subregexp)' instead of '(subregexp)' wherever possible.
'dlls/gdi' does not have a win16drv subdirectory anymore so simplify
regular expressions accordingly.
2004-10-22 19:55:42 +00:00
Steven Edwards c7545d2b1c Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all
cases.
2004-10-11 19:51:43 +00:00
Martin Fuchs c35c48b983 Fix generation of config.h. 2004-10-06 18:52:15 +00:00
Martin Fuchs c7e467486f Fix msvcmaker imports. 2004-10-06 00:04:54 +00:00
Francois Gouget d8c96b08f3 Identify comm.drv as a 16bit dll. 2004-10-05 18:14:02 +00:00
Francois Gouget c2f2b990e0 Add function prototypes. 2004-10-05 18:08:40 +00:00
Francois Gouget d0882ef46d Handle the static libraries linked to using EXTRALIBS. 2004-10-04 19:14:49 +00:00
Steven Edwards d2acb8cf8b Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build. 2004-09-23 04:26:54 +00:00
Alexandre Julliard 2ceb42dd43 Moved all files from the controls/ directory to dlls/user. 2004-08-31 01:10:08 +00:00
Francois Gouget 48ea250887 Don't define __WINE_USE_MSVCRT in the Visual C++ project. It is not
needed as it is defined by the Wine headers.
Use __WINE_USE_MSVCRT to detect whether we are being compiled with the
Wine MSVCRT headers or the Windows ones. In the latter case:
 - don't try to include the Wine-specific msvcrt headers
 - skip all the headers.c tests since there's no MSVCRT_* symbols to
   check
2004-08-11 19:36:17 +00:00
Francois Gouget ad7a4fb9ee Fix msvcmaker so the generated testlist.c files include stdarg.h.
Add comments pointing out the relation between msvcmaker and
make_ctests.
2004-07-16 19:14:43 +00:00
Steven Edwards 0ea344e53a Remove reference to old graphics directory 2004-03-22 21:29:53 +00:00
Martin Fuchs f74e715bab Fixed options for winebuild. 2003-12-15 19:50:42 +00:00