Commit Graph

228 Commits

Author SHA1 Message Date
Alexandre Julliard a4b01382e1 makefiles: Add support for building libraries imported from external sources.
Based on a patch by Rémi Bernon.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 11:07:07 +02:00
Jacek Caban b070eb78cc configure: Try using pure clang as a cross compiler when mingw is not available.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-17 20:41:25 +02:00
Sergei Trofimovich d7645b67c3 aclocal.m4: Fix compatibility with upcoming autoconf-2.70.
Under autoconf 2.69c (beta) `./configure` fails as:

```
./configure
...
checking for msgfmt... msgfmt
./configure: line 7441: syntax error near unexpected token `newline'
./configure: line 7441: `    '''
```

This happens due to underquoting of a snippet
argument for `AS_VAR_SET_IF` call.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-30 10:34:13 +01:00
Alexandre Julliard 468af5bbb4 makefiles: Remove directory variables that are redundant with non-recursive make.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-14 19:42:40 +02:00
Jacek Caban 3cae9288ea configure: Assume that -delayload linker argument is supported when -target argument is used.
In practice, it's present only on clang and it always needs to be used
there. mingw and msvc targets have different syntax. We take care of
that in winegcc.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 20:53:02 +02:00
Jacek Caban f29d4a43e2 configure: Use -nostartfiles -nodefaultlibs in cross compiler checks.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:05:00 +01:00
Alexandre Julliard 4152f944f6 makefiles: Create source dir symlinks from the makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 14:45:10 +01:00
Evgeny Litvinenko 11b8bbc7b9 aclocal.m4: Allow nesting WINE_TRY_SHLIB_FLAGS.
Signed-off-by: Evgeny Litvinenko <evgeny.v.litvinenko@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 19:06:15 +02:00
Alexandre Julliard 92714fcb62 configure: Also cache negative results of soname checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-14 15:10:31 +02:00
Huw Davies 56a30ff60e configure: Use a separate cache variable for the cross-compiler flags.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:22 +02:00
Alexandre Julliard 870f99eced configure: Check for supported warning flags also for the cross-compiler.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:31 +02:00
Alexandre Julliard faac33827c makefiles: Create 64-bit winewrapper symlink in the WoW64 build tree.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 14:21:57 +01:00
Martin Storsjo 31de3c6907 configure: Detect MinGW-w64 ARM64 toolchains.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 08:37:22 +02:00
Alexandre Julliard 3aecaf1da7 makefiles: Treat all directories the same way in configure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:23:28 -06:00
Alexandre Julliard 431b645998 makefiles: Generate the tools dependencies from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:23:27 -06:00
Alexandre Julliard acc6306bcf makefiles: Generate the winetest resource list from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:23:27 -06:00
Alexandre Julliard e91304e416 makefiles: Generate the remaining top-level rules from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:23:36 +01:00
Alexandre Julliard 2b59daf326 makefiles: Generate the top-level test rules from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 17:33:12 +01:00
Alexandre Julliard 1c31b75e62 makefiles: Generate the top-level import library rules from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 17:33:05 +01:00
Alexandre Julliard 733ed05650 makefiles: Generate the top-level install rules using the subdirs rules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:34:56 +01:00
Alexandre Julliard 1a52ba0bc8 makefiles: Generate the uninstall rule using the subdirs file lists.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 12:29:06 +01:00
Alexandre Julliard 832a40109e makefiles: Make the directory specifications a bit more standard.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 12:25:26 +01:00
Alexandre Julliard 11ecc76dd0 makefiles: Generate the clean rule using the subdirs file lists.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 22:13:59 +01:00
Alexandre Julliard 3e6c12e7a9 makefiles: Generate the testclean rule using the subdirs file lists.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 21:23:13 +01:00
Alexandre Julliard 4100c9210d configure: Replace AC_HEADER_MAJOR macro to handle glibc 2.25 sys/types.h breakage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:56:54 +01:00
Alasdair Sinclair 6981a86441 configure: Fix make install for mf3216.dll.
Signed-off-by: Alasdair Sinclair <alasdairsinc@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 09:17:25 +01:00
Alexandre Julliard 27528e5498 makefiles: Build import libraries that contain object files as static libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 15:40:12 +09:00
Alexandre Julliard c6d6dcee47 configure: Don't create makefiles in directories that are symlinks in a Wow64 build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-07 16:26:42 +09:00
Alexandre Julliard 850df9d5a5 configure: Support setting the corresponding enable variable directly from the WINE_NOTICE_WITH macros.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 15:46:55 +09:00
Alexandre Julliard dcc16c7cac makefiles: Don't generate global rules in disabled directories.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:00 +09:00
Alexandre Julliard 77c1b7e352 makefiles: Generate the top-level .gitignore and the distclean rules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 18:06:25 +09:00
Alexandre Julliard f74638f940 makefiles: Generate rules for import libraries symlinks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 15:10:06 +09:00
Alexandre Julliard ce231568a9 makefiles: Generate top-level rules for pot files.
Get rid of the rsrc.pot and msg.pot hacks, use each individual source
file instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 17:07:09 +09:00
Alexandre Julliard 8a064a7d12 makefiles: Import libraries don't need to depend on subdirectories even when there's a static lib.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Alexandre Julliard cd0af88591 makefiles: Generate makefile dependencies from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 21:02:46 +09:00
Alexandre Julliard ba416a5781 makefiles: Generate distclean rules from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:17 +09:00
Alexandre Julliard 8f57dfedf8 makefiles: Generate all makefiles at once.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:16 +09:00
André Hentschel fad6dc66df configure: Detect MinGW-w64 ARM toolchains.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:16 +09:00
André Hentschel 39b7c0695d configure: Detect MinGW-w64 Clang cross toolchain.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 17:27:52 +01:00
André Hentschel 8ea38973dc configure: Get rid of the prog parameter in WINE_CHECK_MINGW_PROG.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 16:13:59 +01:00
Alexandre Julliard 480e95ae97 makefiles: Generate makefiles and po rules only for disabled dlls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:38 +09:00
Alexandre Julliard ca2cb6011c makefiles: Remove support for running subdirectory makefiles through config.status.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:54 +09:00
Alexandre Julliard 3042f720d8 makefiles: Generate makefiles and po rules also for disabled modules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 13:32:24 +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
Francois Gouget bc52901c73 configure: Fix the notices handling in WINE_PRINT_MESSAGES().
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:52 +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 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 Müller 2bb9ece0e9 aclocal.m4: Search for otool using AC_CHECK_TOOL. 2015-07-14 14:54:53 +09:00
Alexandre Julliard 237d7891ef configure: Avoid printing empty warning lines. 2014-03-04 14:40:39 +01:00
Alexandre Julliard 3bae3c6514 makefiles: Generate the testlist.c files at make depend time. 2014-02-10 10:58:00 +01:00