wined3d: Move constant loading into target-specific files.
[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         cmdlgtst \
11         control \
12         eject \
13         expand \
14         explorer \
15         hh \
16         icinfo \
17         iexplore \
18         msiexec \
19         notepad \
20         progman \
21         regedit \
22         regsvr32 \
23         rpcss \
24         rundll32 \
25         start \
26         taskmgr \
27         uninstaller \
28         view \
29         wcmd \
30         wineboot \
31         winebrowser \
32         winecfg \
33         wineconsole \
34         winedbg \
35         winefile \
36         winemenubuilder \
37         winemine \
38         winepath \
39         winetest \
40         winevdm \
41         winhelp \
42         winver \
43         wordpad
44
45 # Sub-directories to run make install into
46 INSTALLSUBDIRS = \
47         clock \
48         control \
49         eject \
50         expand \
51         explorer \
52         hh \
53         icinfo \
54         iexplore \
55         msiexec \
56         notepad \
57         progman \
58         regedit \
59         regsvr32 \
60         rpcss \
61         rundll32 \
62         start \
63         taskmgr \
64         uninstaller \
65         wcmd \
66         wineboot \
67         winebrowser \
68         winecfg \
69         wineconsole \
70         winedbg \
71         winefile \
72         winemenubuilder \
73         winemine \
74         winepath \
75         winevdm \
76         winhelp \
77         winver \
78         wordpad
79
80 # Programs to install in bin directory
81 INSTALLPROGS = \
82         msiexec \
83         notepad \
84         progman \
85         regedit \
86         regsvr32 \
87         uninstaller \
88         wcmd \
89         wineboot \
90         winebrowser \
91         winecfg \
92         wineconsole \
93         winedbg \
94         winefile \
95         winemine \
96         winepath \
97         winhelp
98
99 @MAKE_RULES@
100
101 all: wineapploader winelauncher $(SUBDIRS)
102
103 wineapploader: wineapploader.in
104         sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
105
106 winelauncher: winelauncher.in
107         sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
108
109 # Rules for installation
110
111 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
112
113 install-apploader: wineapploader dummy
114         $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
115         $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
116
117 $(INSTALLPROGS:%=%/__installprog__): install-apploader
118         $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
119
120 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
121         $(RM) $(DESTDIR)$(bindir)/wineapploader
122
123 install-progs: # nothing to do here
124
125 install:: winelauncher install-progs$(DLLEXT)
126         $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
127         $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
128
129 uninstall::
130         -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
131         -rmdir $(DESTDIR)$(dlldir)
132
133 clean::
134         $(RM) wineapploader winelauncher
135
136 # Rules for testing
137
138 check test:: $(SUBDIRS:%=%/__test__)
139
140 ### Dependencies: