Added CS_DBLCLKS so that systray receives double clicks.
[wine/multimedia.git] / programs / Makefile.in
blobf8c0e766b10bbb140967cee4001b536f9318375c
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 rundll32 \
21 uninstaller \
22 view \
23 wcmd \
24 wineconsole \
25 winedbg \
26 winefile \
27 winemine \
28 winepath \
29 winhelp \
30 winver
32 # Sub-directories to run make install into
33 INSTALLSUBDIRS = \
34 avitools \
35 clock \
36 control \
37 expand \
38 notepad \
39 progman \
40 regedit \
41 regsvr32 \
42 rundll32 \
43 uninstaller \
44 wcmd \
45 wineconsole \
46 winedbg \
47 winefile \
48 winemine \
49 winepath \
50 winhelp \
51 winver
53 # Programs to install in bin directory
54 # We don't install everything to avoid polluting /usr/bin too much
55 INSTALLPROGS = \
56 notepad \
57 progman \
58 regedit \
59 regsvr32 \
60 uninstaller \
61 wcmd \
62 wineconsole \
63 winedbg \
64 winefile \
65 winemine \
66 winepath \
67 winhelp
69 # Symlinks to apps that we want to run from inside the source tree
70 SYMLINKS = \
71 wineconsole.exe \
72 winedbg.exe \
73 winhelp.exe
75 @MAKE_RULES@
77 all: wineapploader winelauncher $(SUBDIRS) $(SYMLINKS:%=%$(DLLEXT))
79 wineapploader: wineapploader.in
80 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || $(RM) $@
82 winelauncher: winelauncher.in
83 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || $(RM) $@
85 # Rules for installation
87 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
89 install-apploader: wineapploader dummy
90 $(MKINSTALLDIRS) $(bindir)
91 $(INSTALL_SCRIPT) wineapploader $(bindir)/wineapploader
93 $(INSTALLPROGS:%=%/__installprog__): install-apploader
94 $(RM) $(bindir)/`dirname $@` && $(LN) $(bindir)/wineapploader $(bindir)/`dirname $@`
96 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
97 $(RM) $(bindir)/wineapploader
99 install-progs: # nothing to do here
101 install:: winelauncher install-progs$(DLLEXT)
102 $(MKINSTALLDIRS) $(bindir)
103 $(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher
105 uninstall::
106 $(RM) $(bindir)/wineapploader $(bindir)/winelauncher $(INSTALLPROGS:%=$(bindir)/%)
107 -rmdir $(dlldir)
109 clean::
110 $(RM) wineapploader winelauncher $(SYMLINKS)
112 # Rules for testing
114 checklink:: $(SUBDIRS:%=%/__checklink__)
116 check test:: $(SUBDIRS:%=%/__test__)
118 # Rules for symlinks
120 wineconsole.exe$(DLLEXT): wineconsole/wineconsole.exe$(DLLEXT)
121 $(RM) $@ && $(LN_S) wineconsole/wineconsole.exe$(DLLEXT) $@
123 winedbg.exe$(DLLEXT): winedbg/winedbg.exe$(DLLEXT)
124 $(RM) $@ && $(LN_S) winedbg/winedbg.exe$(DLLEXT) $@
126 winhelp.exe$(DLLEXT): winhelp/winhelp.exe$(DLLEXT)
127 $(RM) $@ && $(LN_S) winhelp/winhelp.exe$(DLLEXT) $@
129 wineconsole/wineconsole.exe$(DLLEXT): wineconsole
130 winedbg/winedbg.exe$(DLLEXT): winedbg
131 winhelp/winhelp.exe$(DLLEXT): winhelp
133 ### Dependencies: