wine/programs/Makefile.in
Alexandre Julliard 7035aa5041 make_makefiles: Generate the top-level .gitignore file.
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00

138 lines
2.4 KiB
Makefile

# Automatically generated by make_progs; DO NOT EDIT!!
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
SUBDIRS = \
clock \
cmd \
cmdlgtst \
control \
eject \
expand \
explorer \
hh \
icinfo \
iexplore \
msiexec \
notepad \
oleview \
progman \
regedit \
regsvr32 \
rpcss \
rundll32 \
start \
taskmgr \
uninstaller \
view \
wineboot \
winebrowser \
winecfg \
wineconsole \
winedbg \
winefile \
winemenubuilder \
winemine \
winepath \
winetest \
winevdm \
winhelp \
winver \
wordpad
# Sub-directories to run make install into
INSTALLSUBDIRS = \
clock \
cmd \
control \
eject \
expand \
explorer \
hh \
icinfo \
iexplore \
msiexec \
notepad \
oleview \
progman \
regedit \
regsvr32 \
rpcss \
rundll32 \
start \
taskmgr \
uninstaller \
wineboot \
winebrowser \
winecfg \
wineconsole \
winedbg \
winefile \
winemenubuilder \
winemine \
winepath \
winevdm \
winhelp \
winver \
wordpad
# Programs to install in bin directory
INSTALLPROGS = \
msiexec \
notepad \
progman \
regedit \
regsvr32 \
uninstaller \
wineboot \
winebrowser \
winecfg \
wineconsole \
winedbg \
winefile \
winemine \
winepath \
winhelp
INSTALLDIRS = $(DESTDIR)$(bindir)
PROGRAMS = wineapploader winelauncher
@MAKE_RULES@
all: $(PROGRAMS) $(SUBDIRS)
wineapploader: wineapploader.in
sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
winelauncher: winelauncher.in
sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
# Rules for installation
.PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
install-apploader: wineapploader $(INSTALLDIRS) dummy
$(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
$(INSTALLPROGS:%=%/__installprog__): install-apploader
$(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
$(RM) $(DESTDIR)$(bindir)/wineapploader
install-progs: # nothing to do here
install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
$(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
uninstall::
-cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
-rmdir $(DESTDIR)$(dlldir)
# Rules for testing
check test:: $(SUBDIRS:%=%/__test__)