Commit graph

473 commits

Author SHA1 Message Date
Alexandre Julliard
b07cc3fe0c makefiles: Get rid of rpath support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-09 20:30:31 +02:00
Alexandre Julliard
7571fa87df makefiles: Don't implicitly import the module itself when -nodefaultlibs is used.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-24 22:14:44 +02:00
Alexandre Julliard
66fb3802d3 winebuild: Allow specifying a spec file also for Unix libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-06 16:17:24 +02:00
Alexandre Julliard
2cf256686e makefiles: Use -munix when building a Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-01 10:59:35 +02:00
Alexandre Julliard
c873db8c1d makefiles: Also build import libs for extra test modules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-12 19:40:49 +02:00
Jacek Caban
14d97456a9 winegcc: Default to ucrtbase.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-18 19:48:56 +02:00
Jacek Caban
7a1a77b676 makedep: Install also generated typelib for installed idl files.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-18 11:54:52 +02:00
Alexandre Julliard
9b8afa0f83 ntdll: Move the Wine version functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-17 16:54:39 +02:00
Alexandre Julliard
b7e3c93159 makefiles: Add support for building Unix .so libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 23:12:31 +02:00
Jacek Caban
83d00d328f makedep: Support split debug for cross compiled modules.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 23:12:31 +02:00
Jacek Caban
c18443aadb makedep: Don't try to use .delay.a extension for non-PE delay imports.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-22 19:31:13 +02:00
Alexandre Julliard
c82c63f58a makefiles: Don't use standard libs for programs that specify -nodefaultlibs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 20:55:48 +02:00
Alexandre Julliard
5603ece70d makefiles: Don't add default libs for msvcrt builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:31:33 +02:00
Alexandre Julliard
e67ca92f57 makefiles: Always explicitly specify the C runtime import.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:30:48 +02:00
Alexandre Julliard
fbbad0f10a makefiles: Always build 16-bit modules with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:09:19 +02:00
Jacek Caban
05b774fb48 makedep: Build builtin DLLs with ucrtbase.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:32:04 +01:00
Jacek Caban
4ec4988c2e makedep: Use winebuild to build cross compiled static libraries.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 22:44:50 +01:00
Jacek Caban
0959d189c8 makedep: Build builtin programs with ucrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-02 20:29:32 +01:00
Jacek Caban
229c33791f makedep: Define _UCRT in modules that link to ucrtbase.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:30:14 +01:00
Jacek Caban
0d537c854c makedep: Use msvcrt headers for objects inside importlibs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 16:44:24 +01:00
Jacek Caban
a592c1ed08 makedep: Use -mno-cygwin for linking modules with no sources.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Alexandre Julliard
42a30a693a makefiles: Move l_intl.nls to a new nls directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:05:33 +01:00
Alexandre Julliard
0a66eaea68 wrc: Set the output format from the output file name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:38:06 +01:00
Alexandre Julliard
1d8f4fe4a0 wrc: Add an option to set the input codepage to UTF-8.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:34:59 +01:00
Alexandre Julliard
8247686c10 wmc: Set the output format from the output file name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 20:04:59 +01:00
Jacek Caban
3ad95e03b8 makedep: Link importlib object files into module only when it's explicitly imported.
To prevent msvcrt linking its own importlib into DLL.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
5b0ba5be0b makefiles: Add the builtin flag again after stripping.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47718
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 21:13:16 +01:00
Alexandre Julliard
ef2475b4f0 makefiles: Install only exe files in the bin directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:16:36 +01:00
Jacek Caban
55f803c81b makedep: Build implib cross object files with -fno-builtin.
We want to be specific about used function and not want optimizations to
interfere.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +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
Jacek Caban
3d19efae72 makedep: Use -Wl,-delayload on cross targets when supported by linker.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:36:58 +01:00
Jacek Caban
4346d68e1b makedep: Use -Wl,-delayload option for winebuild delayimports.
Also fixes winebuild to correctly handle module extensions.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 21:39:40 +01:00
Alexandre Julliard
42cf6cce4b makefiles: Pass --nostdinc also to widl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-02 13:55:16 +01:00
Alexandre Julliard
08956bc9bb winegcc: Add --wine-objdir and --winebuild options for the Wine build.
This avoids overloading the meaning of the -B and --sysroot options.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:17 +02:00
Alexandre Julliard
2477aa7a10 makefiles: Default to an msvcrt build for static libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:58:58 +02:00
Alexandre Julliard
6bce2b1365 makefiles: Support mixing Unix and msvcrt headers in a single module.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Alexandre Julliard
d014b62787 makefiles: Build fonts in quiet mode.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 21:51:00 +02:00
Alexandre Julliard
0fc2f6384e makefiles: Add install dependency for PE builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 18:01:19 +02:00
Alexandre Julliard
c4e0b9d092 makefiles: Support cross-compilation of 16-bit libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard
40a76a212b makefiles: Don't depend on cross import library if not necessary.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:50 +02:00
Alexandre Julliard
c959a18cad makefiles: Remove the check for msvcr* imports.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard
c685acba64 makefiles: Only cross-compile the static libraries that are actually used.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 11:18:00 +02:00
Alexandre Julliard
bbc302290b makefiles: Only cross-compile the import libraries that are actually used.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 11:07:23 +02:00
Alexandre Julliard
5d1febc909 makefiles: Use a separate LDFLAGS variable for cross-compilation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Alexandre Julliard
92233bfaf5 makefiles: Support delay imports for PE builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:35 +02:00
Alexandre Julliard
21e1018ebd makefiles: Don't use custom LDFLAGS to link dlls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 19:44:26 +02:00
Alexandre Julliard
8039941c52 makefiles: Also pass -fPIC flag when linking.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 22:45:35 +02:00
Alexandre Julliard
87f7818f4b makefiles: Don't allow using system headers with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 13:38:36 +02:00
Alexandre Julliard
d4ef782db7 makefiles: Build all tests with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Alexandre Julliard
629f2e10b1 makefiles: Don't use -fno-builtin flag with MinGW.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:54:14 +02:00
Alexandre Julliard
1f0a9c4c29 makefiles: Build modules that use msvcrt as PE builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:42:17 +02:00
Alexandre Julliard
0189cf21ce makefiles: Build modules that don't contain code as PE builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:26 +02:00
Alexandre Julliard
1d6a410244 makefiles: Unify APPMODE and EXTRADLLFLAGS variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Alexandre Julliard
5edcae420a makefiles: Store resource files in a separate array.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Alexandre Julliard
1459a0105d makefiles: Default to building test modules as PE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:45:59 +02:00
Alexandre Julliard
0022af881e makefiles: Default to building test resource dlls as PE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:45:50 +02:00
Alexandre Julliard
cc7c6a734b makefiles: Add a helper to generate a winegcc command line.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 14:07:10 +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
3e6a4c4a5c makefiles: Don't link against wine_port when using msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:30 +02:00
Alexandre Julliard
f689c723a2 makefiles: Don't use libwine for Windows builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Alexandre Julliard
00c57ad89a makefiles: Add support for sharing resource files with parent dll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 13:59:15 +01:00
Alexandre Julliard
1fd60d5656 makefiles: Expand more variables into the generated makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Alexandre Julliard
cb078bd3bf makefiles: Look in the extra targets for dependencies.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Alexandre Julliard
364f97c2e1 makefiles: Output rules for building generated .rc files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Alexandre Julliard
d84de4ca00 makefiles: Support specifying installed files in the top-level makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 14:48:04 +01:00
Alexandre Julliard
d076ff3c12 Revert "makefiles: Only generate proxy code for the target architecture."
This reverts commit ee206a3760.
It's the default widl behavior now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 23:11:31 +01:00
Alexandre Julliard
39b24fa3fa makefiles: Support file-specific IDL flags.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 18:54:35 +01:00
Zebediah Figura
ee206a3760 makefiles: Only generate proxy code for the target architecture.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-04 11:15:07 -05:00
Alexandre Julliard
7715a1aaef makefiles: Don't run tests for disabled dlls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 22:08:23 +02:00
Francois Gouget
776618fe80 makedep: Avoid building test resources if winetest is disabled.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Zebediah Figura
0b90dc78a4 makedep: Also pass EXTRADLLFLAGS to the cross-compiled test DLL.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 12:57:05 +02:00
Francois Gouget
f82b3e5744 makefiles: Make it possible to only build the tests.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-23 11:02:06 +02:00
Martin Storsjo
54d3e48448 makedep: Remove an incorrect -b when creating cross import libraries.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-23 11:00:26 +02:00
Alexandre Julliard
51b57133c7 makefiles: Generate dummy dependencies for header files.
This allows building when a header file is removed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:23:27 -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
2fa7ae05f2 makefiles: Generate the crosstest disabled rule from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-04 15:36:26 +01:00
Alexandre Julliard
84ddddfffb makefiles: Fix typo in documentation rules generation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-04 10:45:39 +01:00
Alexandre Julliard
dfc829ceb8 makefiles: Shared library and import library are not exclusive for PE builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 18:47:32 +01:00
Alexandre Julliard
5aa0144ec6 makefiles: Add intermediate test target to propagate test failures status properly.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 16:40:23 +01: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
fcc0e76215 makefiles: Add a helper to split large file remove commands.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 21:19:19 +01:00
Alexandre Julliard
1a49f2e044 makefiles: Generate rules for installing l_intl.nls and wine.desktop.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 20:57:15 +01:00
Alexandre Julliard
2435357d60 makefiles: Add support for creating helper dlls in tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 13:43:51 +01:00
Alexandre Julliard
54a123f4ef makefiles: Add support for a generic SOURCES variable.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 13:43:51 +01:00
Alexandre Julliard
4eb9ad983e makefiles: Split the makefile generation into multiple functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 13:43:51 +01:00
Alexandre Julliard
83fbb78d5f makedep: Output empty rule for source makefiles.
This should avoid breaking the build when a makefile is removed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-20 10:03:17 +02:00
Alexandre Julliard
8e45a6ecbf tools: Add support for generating cursor files from SVG.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 11:58:54 +02:00
Alexandre Julliard
40b7091ec5 configure: Allow specifying different CFLAGS for the cross compiler.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-08 11:20:21 +02:00
Alexandre Julliard
64124815f7 makefiles: Fix symlink rules when ln -s isn't supported.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-06 14:11:40 +09:00
Alexandre Julliard
a1cc2b185d makefiles: Use the msvcrt build flags also for cross tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:41 +09:00
Alexandre Julliard
e0d89a4954 makefiles: Generate installation rules for static and import libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:41 +09:00
Alexandre Julliard
2f956a4e06 makefiles: Support installing scripts from the tools directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:40 +09:00
Alexandre Julliard
5bec183195 makedep: Rename top_dir_path to top_src_dir_path for consistency.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:08:13 +09:00
Alexandre Julliard
512c686be9 makedep: Sort makefile variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 12:29:58 +09:00
Alexandre Julliard
444025d7fb makefiles: Add tool dependencies for winegcc and winebuild.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 12:32:15 +09:00
Alexandre Julliard
ffd2e484ba makefiles: Always expand the library name for cross-compiled import libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 23:48:46 +09: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
255b90c64c makefiles: Expand the names of static libraries in linker commands.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 15:35:18 +09:00
Matteo Bruni
5cb8f0d0dd makedep: Use an unsigned constant in hash_filename.
This fixes a "warning: this decimal constant is unsigned only in ISO
C90" with gcc 4.9.3.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 12:07:46 +09:00
Alexandre Julliard
bf6db74f85 makedep: Make the filename hashing more efficient.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 17:29:17 +09:00
Alexandre Julliard
f7a239a504 makefiles: Generate the LINGUAS file.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 15:46:54 +09:00
Alexandre Julliard
0bb029f929 makefiles: Add a makefile for the po directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 14:21:22 +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
fb43551a0d makefiles: Expand the ln -s command into the makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 15:13:00 +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
f17419ec4f makefiles: Automatically create all directories that contain a target file.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 18:00:53 +09:00
Alexandre Julliard
d5ddc93b82 makefiles: Generate top-level rules for building mo files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 18:00:17 +09:00
Alexandre Julliard
49f88527c9 makefiles: Parse the entire top-level makefile.
It's only done once so there are no longer any performance concerns.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 17:08:12 +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
3ebbfd5b6b makefiles: Explicitly import libwine only for Windows builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:00 +09:00
Alexandre Julliard
96376059ef makefiles: Generate dependencies for default import libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:21 +09:00
Alexandre Julliard
90e7a73595 makefiles: Directly return an array from the local variable helper function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 19:38:38 +09:00
Alexandre Julliard
3602962275 makefiles: Generate dependencies for static libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 19:38:37 +09:00
Alexandre Julliard
624c344e90 makefiles: Also use dll flags when building a shared library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 19:38:37 +09:00
Alexandre Julliard
364165a671 makefiles: Generate dependencies for import libraries.
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
da9381cea5 makedep: Generate testlist.c directly from the makefile data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:16 +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
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
b8d138d633 makefiles: Generate rules for installing wine.inf.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 15:16:16 +09:00
Alexandre Julliard
d1578a61ab makefiles: Add support for specifying extra dependencies in libraries and programs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 14:58:32 +09:00
Alexandre Julliard
79c852340c makefiles: Generate rules for building the libwine import library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 23:20:03 +09:00
Alexandre Julliard
fd88ff95a4 makefiles: Generate rules for installing libwine.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 23:20:02 +09:00
Alexandre Julliard
4c208c4664 makefiles: Generate rules for building libwine.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 23:20:02 +09:00
Alexandre Julliard
1db55d441e makefiles: Group uninstall files in a single command.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 23:20:02 +09:00
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
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
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
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
316448cd47 makefiles: Generate rules for installing IDL headers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 16:29:04 +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
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
7626728b56 makefiles: Generate rules for building tool binaries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +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
Felix Janda
4fde1e238b makedep: Don't mix options and arguments for wrc and widl. 2014-09-05 15:22:08 +02:00
Alexandre Julliard
c6ba107a41 makedep: Store the includes list inside the makefile structure. 2014-04-11 17:04:01 +02:00
Alexandre Julliard
b69a0e89dc makedep: Parse files as soon as they are loaded, and cache the information. 2014-04-11 16:58:50 +02:00
Alexandre Julliard
c16df0cd9b makedep: Open files from the top-level directory as far as possible. 2014-04-11 14:24:53 +02:00
Alexandre Julliard
4cb68d2322 makedep: Store the sources list inside the makefile structure. 2014-04-10 13:52:47 +02:00
Alexandre Julliard
299ce6f9f0 makedep: Add a helper function to check if a string exists in an array. 2014-04-10 13:52:44 +02:00
Alexandre Julliard
f9ddafa807 makedep: Pass a makefile pointer to all internal functions. 2014-04-10 13:52:41 +02:00
Alexandre Julliard
dcf6060ab8 makedep: Add support for specifying an object directory different from the current directory. 2014-04-10 13:52:39 +02:00
Alexandre Julliard
081df721d0 makedep: Store more variables in the makefile structure. 2014-04-09 12:35:24 +02:00
Alexandre Julliard
8fdacd15d2 makedep: Compute source paths instead of loading them from the makefile. 2014-04-09 12:34:36 +02:00
Alexandre Julliard
228684d34f makedep: Add a structure to store individual makefile parameters. 2014-04-09 12:31:01 +02:00
Alexandre Julliard
43fd82c612 makedep: Add helper functions to get and set variables in string arrays. 2014-04-02 15:46:38 +02:00
Alexandre Julliard
83fe4ffb36 makedep: Allow the top-level makefile to set default values for make variables. 2014-04-02 15:46:34 +02:00
Alexandre Julliard
3917313154 makedep: Load some variables from the top-level makefile. 2014-04-02 15:46:30 +02:00
Alexandre Julliard
6bfd2e9a75 makedep: Add phony install targets for fonts also for the ttf case. 2014-04-02 10:58:47 +02:00
Alexandre Julliard
987f29173f makedep: Add dependency for ttf font files when necessary. 2014-04-01 13:30:59 +02:00
Alexandre Julliard
727ff27907 makedep: Pass the source directory as root for building documentation. 2014-03-10 12:17:00 +01:00
Alexandre Julliard
c3c35dcff8 makedep: Add a helper function for concatenating paths. 2014-03-10 12:16:59 +01:00
Alexandre Julliard
8c0a717a5c makedep: Generate .fon rules directly into the output instead of adding generated files. 2014-02-18 16:42:36 +01:00
Alexandre Julliard
c195e1355a makedep: Look for source files only in the source directory. 2014-02-18 14:52:42 +01:00
Alexandre Julliard
50a01b095e makedep: Only add global includes to the include paths when generating the makefile. 2014-02-18 14:52:39 +01:00
Alexandre Julliard
3bae3c6514 makefiles: Generate the testlist.c files at make depend time. 2014-02-10 10:58:00 +01:00
Alexandre Julliard
7307e2be69 tools: Move sfnt2fnt to its own directory.
Also rename to sfnt2fon to better reflect usage and avoid conflicts
with the previous binary on updates.
2014-02-06 11:23:05 +01:00
Alexandre Julliard
09e70524f4 makedep: Generate install rules for TrueType fonts based on pragmas in the .sfd file. 2014-02-05 13:49:08 +01:00
Alexandre Julliard
1cccb5594a makedep: Generate rules for bitmap fonts based on pragmas in the .sfd file. 2014-02-05 13:32:33 +01:00
Alexandre Julliard
dc24a92f5b makedep: Add a helper function for computing base dir paths. 2014-01-28 19:38:44 +01:00
Alexandre Julliard
16286e45c4 makedep: Create target subdirectories at make depend time. 2014-01-15 11:52:53 +01:00
Alexandre Julliard
2da6fc368f makedep: Make the makefile mode the default behavior and remove obsolete options. 2014-01-14 21:16:40 +01:00
Alexandre Julliard
ab4fc685ba makedep: Generate dependencies for mo files when supported. 2014-01-14 11:49:42 +01:00
Alexandre Julliard
d19b68fa1a makedep: Expand compilation flags into the generated rules. 2014-01-14 11:45:58 +01:00
Alexandre Julliard
7d1d9b40f1 makedep: Expand tool names into the generated rules. 2014-01-13 17:37:31 +01:00
Alexandre Julliard
c7411e22be makedep: Expand the winegcc target arguments into the generated rules. 2014-01-13 17:37:29 +01:00
Alexandre Julliard
09a75310da makedep: Expand the script names into the generated rules. 2014-01-10 12:53:15 +01:00
Alexandre Julliard
623cfef4a0 makedep: Add helper functions for computing source dir paths. 2014-01-10 12:47:19 +01:00
Alexandre Julliard
ec8e5c610b makefiles: Generate explicit commands to create object subdirectories. 2014-01-08 16:11:30 +01:00
Alexandre Julliard
3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00