Commit Graph

4712 Commits

Author SHA1 Message Date
Alexandre Julliard 029c56d75f makedep: Fix a typo in the usage message.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:27 +09:00
Alexandre Julliard 6f8e5d4e10 makedep: Always open Makefile.in files from the source directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:26 +09:00
Alexandre Julliard eb15632eda makedep: Expand the rm command.
configure also hardcodes it.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:26 +09:00
Alexandre Julliard acd9c551b7 makedep: Store the include paths without the -I prefix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:25 +09:00
Alexandre Julliard 54c37238a1 makedep: Add a helper function to open a file from the include path.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:25 +09:00
Alexandre Julliard ec7664d4db makedep: Add a helper function to open a file in the parent's source directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:24 +09:00
Alexandre Julliard b06ff1e55f makefiles: Always build .in files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 18:28:28 +09:00
Alexandre Julliard fabc25d8b7 makefiles: Add support in make_makefiles for flags in sfd files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 18:09:19 +09:00
Alexandre Julliard 8a2545e487 makedep: Release extra string storage.
Also consistently use size_t type for string sizes.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 15:46:52 +09:00
Alexandre Julliard 5a1067adee makedep: Constify the makefile parameter where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 15:46:51 +09:00
Alexandre Julliard bf6af2825c makedep: Don't store install rules in the makefile object.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 12:03:52 +09:00
Alexandre Julliard 1fa7710ff9 makefiles: Get rid of the DLLPREFIX variable.
Android libraries will be handled differently.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 12:12:58 +09:00
Alexandre Julliard d9e9599310 makefiles: Only set the manpage flag for programs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 11:55:59 +09:00
Vincent Povirk d37f412189 makedep: Fix install rule for .idl files.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 14:44:49 +09:00
Alexandre Julliard 87dacc4e11 widl: Disable a noisy warning.
This could be re-enabled once there's a mechanism to avoid the warning
when building the corresponding test case.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 01:13:40 +09:00
Dmitry Timoshkov 42c328ddf4 widl: Ignore assignment of a duplicate uuid.
MSDN KB285146 article describes this behaviour, and the tests confirm
that.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:36 +09:00
Dmitry Timoshkov 58b0788a2d widl: Attributes of the alias are supposed to replace attributes of a tag in the typelib.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 18:32:01 +09:00
Dmitry Timoshkov ded915aa7c widl: Avoid generating duplicate typelib entries for structure tag names.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 18:31:53 +09:00
Dmitry Timoshkov 3cd67463bf widl: Attribute uuid() takes precedence over 'hidden'.
This means that definition like

[uuid(016fe2ec-b2c8-45f8-b23b-39e53a753900),hidden]
typedef struct _m { int m1; } m;

makes both '_m' and 'm' appear in the typelib, and the tests confirm that.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 18:31:45 +09:00
Dmitry Timoshkov f7581c763d widl: Avoid adding duplicate type definitions if tag and typedef names are the same.
Fix handing of the following .idl snippet:

typedef [uuid(b14b6bb5-904e-4ff9-b247-bd361f7a0001)]
struct g { int g1; } g;

[uuid(b14b6bb5-904e-4ff9-b247-bd361f7a0002)]
interface test_iface : IUnknown
{
    HRESULT test([in] g *ptr);
}

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 18:31:32 +09:00
Alexandre Julliard 8e81f6d582 makefiles: Generate correct dependencies for included typelib files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 17:26:30 +09:00
Martin Storsjo d33f0a492b makedep: Set use_msvcrt for ucrtbase imports as well.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 21:14:56 +09:00
Alexandre Julliard cc0420ac31 makefiles: Get rid of the obsolete IMPLIB_SRCS variable.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 17:23:03 +09:00
Alexandre Julliard a1a0139d48 makefiles: Generate rules for installing IDL include files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 17:19:47 +09:00
Alexandre Julliard 316448cd47 makefiles: Generate rules for installing IDL headers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 16:29:04 +09:00
Dmitry Timoshkov f16396ceec widl: Avoid warnings when being added dispatch guids already present in a typelib.
Silence warnings about adding a duplicate uuid when generating
stdole2.tlb.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:23 +09:00
Sebastian Lackner 736beff9c6 widl: When adding an interface typedef do check whether it has been already added while resolving the parent interface.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:23 +09:00
Alexandre Julliard d8cc1dccba makefiles: Add makedep pragmas in all IDL source files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Alexandre Julliard 9b9b0dce1f makefiles: Generate rules for installing X template files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Alexandre Julliard 4323384975 makefiles: Generate rules for installing headers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Martin Storsjo 4e4f0f295b vcruntime140: Add the new MSVC 2015 compiler specific DLL.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 15:09:35 +09:00
Alexandre Julliard 17ac5ba7f9 makefiles: Specify whether to install program binaries in the individual makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:50 +09:00
Alexandre Julliard a748b7bc47 makefiles: Fix the source path for ttf font installs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:40 +09:00
Alexandre Julliard cc5d07fc8a makefiles: Don't add source dependency for symlinks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 23:58:45 +09:00
Alexandre Julliard 356e46a1ef makefiles: Generate rules for installing symlinks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Alexandre Julliard 5cd3395975 makefiles: Generate rules for installing scripts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Alexandre Julliard da340169d6 makefiles: Generate rules for installing programs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:06 +09:00
Alexandre Julliard a1515c68d4 makefiles: Automatically add RPATH support for programs that use libwine.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:19 +09:00
Alexandre Julliard e619a15ac1 tools: Move winemaker to its own directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:18 +09:00
Alexandre Julliard bf6c3a1226 tools: Upgrade the config.guess/config.sub scripts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:18 +09:00
Alexandre Julliard 7626728b56 makefiles: Generate rules for building tool binaries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +09:00
Dmitry Timoshkov e6e7055c0b widl: Add support for unions to the typelib generator.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:40 +09:00
Alexandre Julliard 2207a8907c makefiles: Move wine.desktop to the loader directory.
Also don't install it on Mac OS X or Android.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:39 +09:00
Alexandre Julliard 581be47a45 makefiles: Fix expansion of '$$' in make variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:38 +09:00
Alexandre Julliard e0b1e8154d makefiles: Avoid running config.status when not necessary.
If it doesn't contain substitutions, we can use Makefile.in directly.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 17:52:52 +09:00
Alexandre Julliard 6222e49c37 makefiles: Get rid of the support for updating a makefile in place.
We always regenerate the makefile first nowadays.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 17:47:07 +09:00
Alexandre Julliard ef557a8a8a makefiles: Read variable definitions from the top makefile instead of using Make.vars.in.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 14:49:36 +09:00
Michael Cronenworth a35f9a13a8 winegcc: Check for linker relocation support before relying on prelink.
Prelink was used to rewrite binares and set their text segment, but
modern linkers support setting the value at link time. Prelink is
being retired by upstream.

Signed-off-by: Michael Cronenworth <mike@cchtml.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 16:57:06 +09:00
Daniel Lehman 66808858ac vcomp120: Add vcomp120 stub dll.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 14:01:57 +09:00
Dmitry Timoshkov fb5293f0ce widl: Do not create duplicate type info entries when tag and typedef names are the same.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-06 14:28:23 +09:00