Alexandre Julliard : makefiles: Move wineapploader to the tools directory and get rid of the programs makefile .

Alexandre Julliard julliard at winehq.org
Mon Mar 29 09:57:48 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Mar 26 09:29:10 2010 +0100

makefiles: Move wineapploader to the tools directory and get rid of the programs makefile.

---

 .gitignore                           |    2 +-
 Makefile.in                          |    2 +-
 aclocal.m4                           |    6 +++---
 configure                            |    7 +++----
 configure.ac                         |    1 -
 programs/Makefile.in                 |   13 -------------
 tools/Makefile.in                    |    4 ++++
 {programs => tools}/wineapploader.in |    0 
 8 files changed, 12 insertions(+), 23 deletions(-)

diff --git a/.gitignore b/.gitignore
index d0cf776..bb19dad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -235,7 +235,6 @@ programs/rpcss/irot.h
 programs/rpcss/irot_s.c
 programs/services/svcctl.h
 programs/services/svcctl_s.c
-programs/wineapploader
 programs/winedbg/dbg.tab.c
 programs/winedbg/dbg.tab.h
 programs/winedbg/debug.yy.c
@@ -260,6 +259,7 @@ tools/widl/parser.yy.c
 tools/widl/widl
 tools/widl/widl.man
 tools/wine.inf
+tools/wineapploader
 tools/winebuild/winebuild
 tools/winebuild/winebuild.man
 tools/winedump/winedump
diff --git a/Makefile.in b/Makefile.in
index 62ac1f6..67507a1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,7 +24,7 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 
 # Sub-directories that don't have a makefile
-EXTRASUBDIRS = dlls libs
+EXTRASUBDIRS = dlls libs programs
 
 # Destination directories for make install
 INSTALLDIRS = $(DESTDIR)$(bindir)
diff --git a/aclocal.m4 b/aclocal.m4
index 1735fd0..3a7765f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -296,11 +296,11 @@ programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
 	@cd programs/$ac_dir && \$(MAKE) install
 uninstall:: programs/$ac_dir/Makefile
 	@cd programs/$ac_dir && \$(MAKE) uninstall"
-    if test "$ac_install" = installbin -a -n "$DLLEXT" -a -z "$WOW64_DISABLE"
+    if test "$ac_install" = installbin -a -n "$DLLEXT" -a "x$enable_tools" != xno
     then
         wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
-"install install-lib:: programs \$(DESTDIR)\$(bindir)
-	\$(INSTALL_SCRIPT) programs/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
+"install install-lib:: tools \$(DESTDIR)\$(bindir)
+	\$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
 uninstall::
 	\$(RM) \$(DESTDIR)\$(bindir)/$ac_dir"
     fi])
diff --git a/configure b/configure
index 74a51a8..3186e81 100755
--- a/configure
+++ b/configure
@@ -14009,11 +14009,11 @@ programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
 	@cd programs/$ac_dir && \$(MAKE) install
 uninstall:: programs/$ac_dir/Makefile
 	@cd programs/$ac_dir && \$(MAKE) uninstall"
-    if test "$ac_install" = installbin -a -n "$DLLEXT" -a -z "$WOW64_DISABLE"
+    if test "$ac_install" = installbin -a -n "$DLLEXT" -a "x$enable_tools" != xno
     then
         wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
-"install install-lib:: programs \$(DESTDIR)\$(bindir)
-	\$(INSTALL_SCRIPT) programs/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
+"install install-lib:: tools \$(DESTDIR)\$(bindir)
+	\$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
 uninstall::
 	\$(RM) \$(DESTDIR)\$(bindir)/$ac_dir"
     fi
@@ -14633,7 +14633,6 @@ wine_fn_config_makefile libs/port enable_libs_port
 wine_fn_config_makefile libs/wine enable_libs_wine
 wine_fn_config_makefile libs/wpp enable_libs_wpp
 wine_fn_config_makefile loader enable_loader
-wine_fn_config_makefile programs enable_programs
 wine_fn_config_program attrib enable_attrib install
 wine_fn_config_program cacls enable_cacls install
 wine_fn_config_program clock enable_clock install
diff --git a/configure.ac b/configure.ac
index 68d6f45..fc05f10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2634,7 +2634,6 @@ WINE_CONFIG_MAKEFILE([libs/port])
 WINE_CONFIG_MAKEFILE([libs/wine])
 WINE_CONFIG_MAKEFILE([libs/wpp])
 WINE_CONFIG_MAKEFILE([loader])
-WINE_CONFIG_MAKEFILE([programs])
 WINE_CONFIG_PROGRAM(attrib,install)
 WINE_CONFIG_PROGRAM(cacls,install)
 WINE_CONFIG_PROGRAM(clock,install)
diff --git a/programs/Makefile.in b/programs/Makefile.in
deleted file mode 100644
index ebb7547..0000000
--- a/programs/Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
-TOPSRCDIR = @top_srcdir@
-TOPOBJDIR = ..
-SRCDIR    = @srcdir@
-VPATH     = @srcdir@
-
-PROGRAMS = wineapploader
-
- at MAKE_RULES@
-
-all: $(PROGRAMS)
-
-wineapploader: wineapploader.in
-	sed -e 's, at bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 2dd6f8a..5e005e0 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -15,6 +15,7 @@ PROGRAMS = \
 	relpath$(EXEEXT) \
 	sfnt2fnt$(EXEEXT) \
 	wine.inf \
+	wineapploader \
 	wineprefixcreate
 
 MANPAGES = \
@@ -64,6 +65,9 @@ sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
 wine.inf: wine.inf.in
 	LC_ALL=C sed -e 's, at PACKAGE_STRING\@, at PACKAGE_STRING@,g' $(SRCDIR)/wine.inf.in >$@ || ($(RM) $@ && false)
 
+wineapploader: wineapploader.in
+	sed -e 's, at bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
+
 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
 	sed -e "s, at bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s, at bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
 	chmod +x wineprefixcreate
diff --git a/programs/wineapploader.in b/tools/wineapploader.in
similarity index 100%
rename from programs/wineapploader.in
rename to tools/wineapploader.in




More information about the wine-cvs mailing list