From 718ea42fe4065e0f4a88c78270ddae0fe5e6a210 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 26 Mar 2010 09:29:10 +0100 Subject: [PATCH] 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(-) delete mode 100644 programs/Makefile.in rename {programs => tools}/wineapploader.in (100%) diff --git a/.gitignore b/.gitignore index d0cf7764c9c..bb19dadf57b 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 62ac1f652c9..67507a1b80d 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 1735fd0c3dd..3a7765f8ae8 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 74a51a81dc1..3186e813466 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 68d6f45e6fb..fc05f105536 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 ebb75473888..00000000000 --- a/programs/Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -TOPSRCDIR = @top_srcdir@ -TOPOBJDIR = .. -SRCDIR = @srcdir@ -VPATH = @srcdir@ - -PROGRAMS = wineapploader - -@MAKE_RULES@ - -all: $(PROGRAMS) - -wineapploader: wineapploader.in - sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false) diff --git a/tools/Makefile.in b/tools/Makefile.in index 2dd6f8a5f2d..5e005e0661f 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,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.inf.in >$@ || ($(RM) $@ && false) +wineapploader: wineapploader.in + sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false) + wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT) sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@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 -- 2.11.4.GIT