winedbg: Rewrote the file handling to use SearchPath instead of home grown version.
[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         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
45
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
81
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
99
100 INSTALLDIRS = $(DESTDIR)$(bindir)
101
102 @MAKE_RULES@
103
104 all: wineapploader winelauncher $(SUBDIRS)
105
106 wineapploader: wineapploader.in
107         sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
108
109 winelauncher: winelauncher.in
110         sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
111
112 # Rules for installation
113
114 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
115
116 install-apploader: wineapploader $(INSTALLDIRS) dummy
117         $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
118
119 $(INSTALLPROGS:%=%/__installprog__): install-apploader
120         $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
121
122 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
123         $(RM) $(DESTDIR)$(bindir)/wineapploader
124
125 install-progs: # nothing to do here
126
127 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
128         $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
129
130 uninstall::
131         -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
132         -rmdir $(DESTDIR)$(dlldir)
133
134 clean::
135         $(RM) wineapploader winelauncher
136
137 # Rules for testing
138
139 check test:: $(SUBDIRS:%=%/__test__)