Commit 718ea42f authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 2fb30218
......@@ -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
......
......@@ -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)
......
......@@ -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])
......
......@@ -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
......
......@@ -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)
......
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)
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment