kernel32/tests: Prevent memory leak.
[wine/hacks.git] / programs / Makefile.in
blob8b61cdeceb4537f6c442cb63b0d4933853455120
1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR = @top_srcdir@
4 TOPOBJDIR = ..
5 SRCDIR = @srcdir@
6 VPATH = @srcdir@
8 SUBDIRS = \
9 clock \
10 cmd \
11 cmdlgtst \
12 control \
13 eject \
14 expand \
15 explorer \
16 hh \
17 icinfo \
18 iexplore \
19 msiexec \
20 notepad \
21 oleview \
22 progman \
23 regedit \
24 regsvr32 \
25 rpcss \
26 rundll32 \
27 start \
28 taskmgr \
29 uninstaller \
30 view \
31 wineboot \
32 winebrowser \
33 winecfg \
34 wineconsole \
35 winedbg \
36 winefile \
37 winemenubuilder \
38 winemine \
39 winepath \
40 winetest \
41 winevdm \
42 winhelp \
43 winver \
44 wordpad
46 # Sub-directories to run make install into
47 INSTALLSUBDIRS = \
48 clock \
49 cmd \
50 control \
51 eject \
52 expand \
53 explorer \
54 hh \
55 icinfo \
56 iexplore \
57 msiexec \
58 notepad \
59 oleview \
60 progman \
61 regedit \
62 regsvr32 \
63 rpcss \
64 rundll32 \
65 start \
66 taskmgr \
67 uninstaller \
68 wineboot \
69 winebrowser \
70 winecfg \
71 wineconsole \
72 winedbg \
73 winefile \
74 winemenubuilder \
75 winemine \
76 winepath \
77 winevdm \
78 winhelp \
79 winver \
80 wordpad
82 # Programs to install in bin directory
83 INSTALLPROGS = \
84 msiexec \
85 notepad \
86 progman \
87 regedit \
88 regsvr32 \
89 uninstaller \
90 wineboot \
91 winebrowser \
92 winecfg \
93 wineconsole \
94 winedbg \
95 winefile \
96 winemine \
97 winepath \
98 winhelp
100 INSTALLDIRS = $(DESTDIR)$(bindir)
102 PROGRAMS = wineapploader winelauncher
104 @MAKE_RULES@
106 all: $(PROGRAMS) $(SUBDIRS)
108 wineapploader: wineapploader.in
109 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
111 winelauncher: winelauncher.in
112 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
114 # Rules for installation
116 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
118 install-apploader: wineapploader $(INSTALLDIRS) dummy
119 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
121 $(INSTALLPROGS:%=%/__installprog__): install-apploader
122 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
124 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
125 $(RM) $(DESTDIR)$(bindir)/wineapploader
127 install-progs: # nothing to do here
129 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
130 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
132 uninstall::
133 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
134 -rmdir $(DESTDIR)$(dlldir)
136 # Rules for testing
138 check test:: $(SUBDIRS:%=%/__test__)