Terminate the lfind inline function.
[wine.git] / programs / Makefile.in
blobf4909a04cb652e776154bfa6233354fba476ea00
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
7 SUBDIRS = \
8 avitools \
9 clock \
10 cmdlgtst \
11 control \
12 expand \
13 notepad \
14 osversioncheck \
15 progman \
16 regapi \
17 regedit \
18 regsvr32 \
19 regtest \
20 rpcss \
21 rundll32 \
22 start \
23 uninstaller \
24 view \
25 wcmd \
26 wineboot \
27 winecfg \
28 wineconsole \
29 winedbg \
30 winefile \
31 winemine \
32 winepath \
33 winhelp \
34 winver
36 # Sub-directories to run make install into
37 INSTALLSUBDIRS = \
38 avitools \
39 clock \
40 control \
41 expand \
42 notepad \
43 progman \
44 regedit \
45 regsvr32 \
46 rpcss \
47 rundll32 \
48 start \
49 uninstaller \
50 wcmd \
51 wineboot \
52 winecfg \
53 wineconsole \
54 winedbg \
55 winefile \
56 winemine \
57 winepath \
58 winhelp \
59 winver
61 # Programs to install in bin directory
62 # We don't install everything to avoid polluting /usr/bin too much
63 INSTALLPROGS = \
64 notepad \
65 progman \
66 regedit \
67 regsvr32 \
68 uninstaller \
69 wcmd \
70 wineboot \
71 winecfg \
72 wineconsole \
73 winedbg \
74 winefile \
75 winemine \
76 winepath \
77 winhelp
79 # Symlinks to apps that we want to run from inside the source tree
80 SYMLINKS = \
81 rpcss.exe \
82 wcmd.exe \
83 wineconsole.exe \
84 winedbg.exe \
85 winhelp.exe
87 @MAKE_RULES@
89 all: wineapploader winelauncher $(SUBDIRS) $(SYMLINKS:%=%$(DLLEXT))
91 wineapploader: wineapploader.in
92 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || $(RM) $@
94 winelauncher: winelauncher.in
95 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || $(RM) $@
97 # Rules for installation
99 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
101 install-apploader: wineapploader dummy
102 $(MKINSTALLDIRS) $(bindir)
103 $(INSTALL_SCRIPT) wineapploader $(bindir)/wineapploader
105 $(INSTALLPROGS:%=%/__installprog__): install-apploader
106 $(RM) $(bindir)/`dirname $@` && $(LN) $(bindir)/wineapploader $(bindir)/`dirname $@`
108 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
109 $(RM) $(bindir)/wineapploader
111 install-progs: # nothing to do here
113 install:: winelauncher install-progs$(DLLEXT)
114 $(MKINSTALLDIRS) $(bindir)
115 $(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher
117 uninstall::
118 $(RM) $(bindir)/wineapploader $(bindir)/winelauncher $(INSTALLPROGS:%=$(bindir)/%)
119 -rmdir $(dlldir)
121 clean::
122 $(RM) wineapploader winelauncher $(SYMLINKS)
124 # Rules for testing
126 check test:: $(SUBDIRS:%=%/__test__)
128 # Rules for symlinks
130 rpcss.exe$(DLLEXT): rpcss/rpcss.exe$(DLLEXT)
131 $(RM) $@ && $(LN_S) rpcss/rpcss.exe$(DLLEXT) $@
133 wcmd.exe$(DLLEXT): wcmd/wcmd.exe$(DLLEXT)
134 $(RM) $@ && $(LN_S) wcmd/wcmd.exe$(DLLEXT) $@
136 wineconsole.exe$(DLLEXT): wineconsole/wineconsole.exe$(DLLEXT)
137 $(RM) $@ && $(LN_S) wineconsole/wineconsole.exe$(DLLEXT) $@
139 winedbg.exe$(DLLEXT): winedbg/winedbg.exe$(DLLEXT)
140 $(RM) $@ && $(LN_S) winedbg/winedbg.exe$(DLLEXT) $@
142 winhelp.exe$(DLLEXT): winhelp/winhelp.exe$(DLLEXT)
143 $(RM) $@ && $(LN_S) winhelp/winhelp.exe$(DLLEXT) $@
145 wcmd/wcmd.exe$(DLLEXT): wcmd
146 wineconsole/wineconsole.exe$(DLLEXT): wineconsole
147 winedbg/winedbg.exe$(DLLEXT): winedbg
148 winhelp/winhelp.exe$(DLLEXT): winhelp
150 ### Dependencies: