Alexandre Julliard : makefiles: Output all the static library rules explicitly for each module.

Alexandre Julliard julliard at winehq.org
Thu Mar 25 11:44:44 CDT 2010


Module: wine
Branch: master
Commit: c2c3c21078e80c6542d71b2c2c3a01082c765178
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c2c3c21078e80c6542d71b2c2c3a01082c765178

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Mar 25 11:13:07 2010 +0100

makefiles: Output all the static library rules explicitly for each module.

---

 Makefile.in |    3 ---
 aclocal.m4  |   16 +++++++++-------
 configure   |   18 +++++++++---------
 3 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b3dbd5e..c8baf6d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -29,7 +29,6 @@ MODULE    = none
 
 ALL_DIRS           = @ALL_DIRS@
 ALL_DLL_DIRS       = @ALL_DLL_DIRS@
-ALL_STATICLIB_DIRS = @ALL_STATICLIB_DIRS@
 ALL_TOOL_DIRS      = @ALL_TOOL_DIRS@
 ALL_TOP_DIRS       = @ALL_TOP_DIRS@
 
@@ -38,7 +37,6 @@ BUILDSUBDIRS = \
 	libs/wine \
 	$(ALL_TOOL_DIRS) \
 	$(ALL_TOP_DIRS) \
-	$(ALL_STATICLIB_DIRS) \
 	$(ALL_DLL_DIRS)
 
 # Sub-directories to run make install/uninstall into
@@ -46,7 +44,6 @@ INSTALLSUBDIRS = \
 	libs/wine \
 	$(ALL_TOOL_DIRS) \
 	$(ALL_TOP_DIRS) \
-	$(ALL_STATICLIB_DIRS) \
 	$(ALL_DLL_DIRS)
 
 # Sub-directories that don't have a makefile
diff --git a/aclocal.m4 b/aclocal.m4
index 2ba382f..7a86834 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -150,7 +150,6 @@ AC_SUBST(ALL_DIRS,"")
 AC_SUBST(ALL_TOP_DIRS,"")
 AC_SUBST(ALL_DLL_DIRS,"")
 AC_SUBST(ALL_TOOL_DIRS,"")
-AC_SUBST(ALL_STATICLIB_DIRS,"")
 AC_SUBST(ALL_TEST_BINARIES,"")
 AC_SUBST(ALL_PROGRAM_BIN_INSTALL_DIRS,"")
 
@@ -184,16 +183,19 @@ wine_fn_config_lib ()
     ac_name=$[1]
     ac_dir=dlls/$ac_name
     wine_fn_append_file ALL_DIRS $ac_dir
-    wine_fn_append_file ALL_STATICLIB_DIRS $ac_dir
     wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
-"$ac_dir/__install__ $ac_dir/__install-dev__ __builddeps__: $ac_dir
+"all __builddeps__: $ac_dir
 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
-$ac_dir $ac_dir/lib$ac_name.cross.a: tools/widl tools/winebuild tools/winegcc include
-$ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile dummy
+$ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
+$ac_dir/lib$ac_name.cross.a: dummy
 	@cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
-$ac_dir/__clean__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
+$ac_dir/__clean__: $ac_dir/Makefile
 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status dlls/Makeimplib.rules \$(MAKEDEP)
-	@./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
+	@./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend
+install install-dev:: $ac_dir
+	@cd $ac_dir && \$(MAKE) install
+uninstall:: $ac_dir/Makefile
+	@cd $ac_dir && \$(MAKE) uninstall"
 }
 
 wine_fn_config_dll ()
diff --git a/configure b/configure
index be8bd2c..15a589e 100755
--- a/configure
+++ b/configure
@@ -598,7 +598,6 @@ ac_subst_vars='LTLIBOBJS
 LIBOBJS
 ALL_PROGRAM_BIN_INSTALL_DIRS
 ALL_TEST_BINARIES
-ALL_STATICLIB_DIRS
 ALL_TOOL_DIRS
 ALL_DLL_DIRS
 ALL_TOP_DIRS
@@ -13867,8 +13866,6 @@ ALL_DLL_DIRS=""
 
 ALL_TOOL_DIRS=""
 
-ALL_STATICLIB_DIRS=""
-
 ALL_TEST_BINARIES=""
 
 ALL_PROGRAM_BIN_INSTALL_DIRS=""
@@ -13909,16 +13906,19 @@ wine_fn_config_lib ()
     ac_name=$1
     ac_dir=dlls/$ac_name
     wine_fn_append_file ALL_DIRS $ac_dir
-    wine_fn_append_file ALL_STATICLIB_DIRS $ac_dir
     wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
-"$ac_dir/__install__ $ac_dir/__install-dev__ __builddeps__: $ac_dir
+"all __builddeps__: $ac_dir
 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
-$ac_dir $ac_dir/lib$ac_name.cross.a: tools/widl tools/winebuild tools/winegcc include
-$ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile dummy
+$ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
+$ac_dir/lib$ac_name.cross.a: dummy
 	@cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
-$ac_dir/__clean__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
+$ac_dir/__clean__: $ac_dir/Makefile
 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status dlls/Makeimplib.rules \$(MAKEDEP)
-	@./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
+	@./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend
+install install-dev:: $ac_dir
+	@cd $ac_dir && \$(MAKE) install
+uninstall:: $ac_dir/Makefile
+	@cd $ac_dir && \$(MAKE) uninstall"
 }
 
 wine_fn_config_dll ()




More information about the wine-cvs mailing list