advapi32/tests: Fix memory leaks (found by Smatch).
[wine] / programs / Makefile.in
1 # Automatically generated by make_progs; DO NOT EDIT!!
2
3 TOPSRCDIR = @top_srcdir@
4 TOPOBJDIR = ..
5 SRCDIR    = @srcdir@
6 VPATH     = @srcdir@
7
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         net \
21         notepad \
22         oleview \
23         progman \
24         regedit \
25         regsvr32 \
26         rpcss \
27         rundll32 \
28         spoolsv \
29         start \
30         taskmgr \
31         uninstaller \
32         view \
33         wineboot \
34         winebrowser \
35         winecfg \
36         wineconsole \
37         winedbg \
38         winedevice \
39         winefile \
40         winemenubuilder \
41         winemine \
42         winepath \
43         winetest \
44         winevdm \
45         winhelp \
46         winver \
47         wordpad \
48         write \
49         xcopy
50
51 # Sub-directories to run make install into
52 INSTALLSUBDIRS = \
53         clock \
54         cmd \
55         control \
56         eject \
57         expand \
58         explorer \
59         hh \
60         icinfo \
61         iexplore \
62         msiexec \
63         net \
64         notepad \
65         oleview \
66         progman \
67         regedit \
68         regsvr32 \
69         rpcss \
70         rundll32 \
71         spoolsv \
72         start \
73         taskmgr \
74         uninstaller \
75         wineboot \
76         winebrowser \
77         winecfg \
78         wineconsole \
79         winedbg \
80         winedevice \
81         winefile \
82         winemenubuilder \
83         winemine \
84         winepath \
85         winevdm \
86         winhelp \
87         winver \
88         wordpad \
89         write \
90         xcopy
91
92 # Programs to install in bin directory
93 INSTALLPROGS = \
94         msiexec \
95         notepad \
96         progman \
97         regedit \
98         regsvr32 \
99         uninstaller \
100         wineboot \
101         winebrowser \
102         winecfg \
103         wineconsole \
104         winedbg \
105         winefile \
106         winemine \
107         winepath \
108         winhelp
109
110 INSTALLDIRS = $(DESTDIR)$(bindir)
111
112 PROGRAMS = wineapploader winelauncher
113
114 @MAKE_RULES@
115
116 all: $(PROGRAMS) $(SUBDIRS)
117
118 wineapploader: wineapploader.in
119         sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
120
121 winelauncher: winelauncher.in
122         sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
123
124 # Rules for installation
125
126 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
127
128 install-apploader: wineapploader $(INSTALLDIRS) dummy
129         $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
130
131 $(INSTALLPROGS:%=%/__installprog__): install-apploader
132         $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
133
134 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
135         $(RM) $(DESTDIR)$(bindir)/wineapploader
136
137 install-progs: # nothing to do here
138
139 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
140         $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
141
142 uninstall::
143         -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
144         -rmdir $(DESTDIR)$(dlldir)
145
146 # Rules for testing
147
148 check test:: $(SUBDIRS:%=%/__test__)