From b06ff1e55f6e0b2a2d0bcf08e8f67b4e3f93d5e7 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 10 Nov 2015 18:28:28 +0900 Subject: [PATCH] makefiles: Always build .in files. Signed-off-by: Alexandre Julliard --- configure | 9 +++------ configure.ac | 5 +---- tools/Makefile.in | 2 -- tools/makedep.c | 3 +-- 4 files changed, 5 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 376b3f2aef2..e1f69e0b3ea 100755 --- a/configure +++ b/configure @@ -705,11 +705,11 @@ COREFOUNDATION_LIBS LIBWINE_RULES SOCKET_LIBS DLLTOOL -LOADER_RULES ALL_TEST_RESOURCES READELF OTOOL LDD +LOADER_RULES LDRPATH_LOCAL LDRPATH_INSTALL DLLFLAGS @@ -7139,6 +7139,8 @@ LDRPATH_INSTALL="" LDRPATH_LOCAL="" +LOADER_RULES="" + LIBEXT="so" DLLEXT=".so" IMPLIBEXT="def" @@ -7863,11 +7865,6 @@ test "x$enable_win64" != "xyes" || wine_binary="wine64" loader_programs="$wine_binary" libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'` -LOADER_RULES=" -all: wine.inf -" - - case $host_os in cygwin*|mingw32*) if test -n "$ac_tool_prefix"; then diff --git a/configure.ac b/configure.ac index a516b1945f4..b9f90c7c84c 100644 --- a/configure.ac +++ b/configure.ac @@ -677,6 +677,7 @@ AC_SUBST(dlldir,"\${libdir}/wine") AC_SUBST(DLLFLAGS,"-D_REENTRANT") AC_SUBST(LDRPATH_INSTALL,"") AC_SUBST(LDRPATH_LOCAL,"") +AC_SUBST(LOADER_RULES,"") LIBEXT="so" DLLEXT=".so" IMPLIBEXT="def" @@ -689,10 +690,6 @@ test "x$enable_win64" != "xyes" || wine_binary="wine64" loader_programs="$wine_binary" libwine_soversion=`expr $libwine_version : '\([[0-9]]*\)\..*'` -AC_SUBST(LOADER_RULES,[" -all: wine.inf -"]) - case $host_os in cygwin*|mingw32*) AC_CHECK_TOOL(DLLTOOL,dlltool,false) diff --git a/tools/Makefile.in b/tools/Makefile.in index bc13cc9013f..adf53bb2c51 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -6,5 +6,3 @@ C_SRCS = \ IN_SRCS = \ wineapploader.in - -all: wineapploader diff --git a/tools/makedep.c b/tools/makedep.c index e4ba7c4882c..d8cf2f5b5ee 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2155,9 +2155,8 @@ static struct strarray output_sources( const struct makefile *make, struct strar strmake( "y%s/%s.%s", dir, symlinks.str[i], section )); free( dest ); free( dir ); - strarray_add( &all_targets, xstrdup(obj) ); } - else strarray_add( &clean_files, xstrdup(obj) ); + strarray_add( &all_targets, xstrdup(obj) ); output( "%s: %s\n", obj_dir_path( make, obj ), source->filename ); output( "\t$(SED_CMD) %s >$@ || ($(RM) $@ && false)\n", source->filename ); output( "%s:", obj_dir_path( make, obj ));