Commit Graph

245 Commits

Author SHA1 Message Date
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
Alexandre Julliard 3dfcec768d makefiles: Always create dependencies from the top-level directory. 2014-01-07 12:20:26 +01:00
Alexandre Julliard 0d533cf0bd makefiles: Allow define arguments to be specific to a single file. 2014-01-07 12:20:25 +01:00
Alexandre Julliard 1a74fdbcee makefiles: Expand define arguments directly into the generated rules. 2014-01-07 11:25:24 +01:00
Alexandre Julliard ce25c89585 makedep: Don't expand variable references that use ${}. 2014-01-04 20:33:57 +01:00
Alexandre Julliard 9c2725d5d6 makedep: Grow the include file array dynamically. 2014-01-04 12:25:56 +01:00
Alexandre Julliard b192879597 makefiles: Automatically output appropriate target flags. 2014-01-01 21:44:38 +01:00
Alexandre Julliard e9afeb2a50 makefiles: Automatically add dll flags where necessary. 2014-01-01 21:33:06 +01:00
Alexandre Julliard 1cd2786f92 makefiles: Generate cross-compile rules automatically when supported. 2014-01-01 21:28:28 +01:00
Alexandre Julliard 54300b2302 makefiles: Add support for a variable to list extra targets. 2013-12-31 19:22:57 +01:00
Alexandre Julliard a40d4d20e0 makefiles: Include manpages in the all: target. 2013-12-31 19:18:06 +01:00
Alexandre Julliard 092f37fc2d makefiles: Include program files in the all: target. 2013-12-31 19:07:49 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 6ee09e4d3c makedep: Generate rules for API documentation. 2013-12-30 20:23:16 +01:00
Alexandre Julliard 8bf0f5fe6d makedep: Generate rules for test binaries. 2013-12-30 20:19:33 +01:00
Alexandre Julliard 908dada662 makedep: Generate rules for static libraries. 2013-12-30 20:17:36 +01:00
Alexandre Julliard a37ef65ea8 makedep: Generate rules for import libraries. 2013-12-30 20:14:45 +01:00
Alexandre Julliard f6479c0513 makedep: Generate rules for the main module. 2013-12-30 20:08:13 +01:00
Alexandre Julliard 8d6e916168 makedep: Keep track of object files in separate arrays. 2013-12-30 20:07:02 +01:00
Alexandre Julliard 5706cdaa5b makedep: Pass string arrays by value in some places. 2013-12-28 19:52:33 +01:00
Alexandre Julliard 2af368b88c makedep: Manage current output column with a global variable. 2013-12-28 14:25:33 +01:00
Alexandre Julliard 8aa529417d makedep: Clean up output files on failure. 2013-12-28 14:25:32 +01:00
Alexandre Julliard 3b7cc5ec92 makedep: Generate a list of phony targets. 2013-12-28 14:25:31 +01:00
Alexandre Julliard 64b21eee94 makedep: Generate rules for TrueType fonts in maintainer mode. 2013-12-27 14:31:51 +01:00
Alexandre Julliard 2535a3b8f6 makedep: Generate rules for svg files in maintainer mode. 2013-12-27 14:31:51 +01:00
Alexandre Julliard 47c0f64fdd makedep: Manage generated source files explicitly instead of relying on name comparisons. 2013-12-27 14:31:51 +01:00
Alexandre Julliard cab558b4bd makedep: Allow overriding makefile variables through the MAKEFLAGS environment variable. 2013-12-27 14:31:51 +01:00
Alexandre Julliard ab8d61d29b makedep: Allow overriding makefile variables through the command line. 2013-12-27 14:31:51 +01:00
Alexandre Julliard c29ea61087 makedep: Use a string array to store makefile variables. 2013-12-27 14:31:50 +01:00