Added /g debug format to dump GUIDs.
[wine/multimedia.git] / programs / Makefile.in
blob7b0a71349a3f2f1da40afd34608db96aac3b6705
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
7 SUBDIRS = \
8 $(TOPOBJDIR)/debugger \
9 avitools \
10 clock \
11 cmdlgtst \
12 control \
13 expand \
14 notepad \
15 osversioncheck \
16 progman \
17 regapi \
18 regedit \
19 regsvr32 \
20 regtest \
21 uninstaller \
22 view \
23 wcmd \
24 wineconsole \
25 winefile \
26 winemine \
27 winepath \
28 winetest \
29 winhelp \
30 winver
32 # Programs to install in bin directory
33 # We don't install everything to avoid polluting /usr/bin too much
34 INSTALLPROGS = \
35 expand \
36 notepad \
37 progman \
38 regedit \
39 regsvr32 \
40 uninstaller \
41 wcmd \
42 wineconsole \
43 winedbg \
44 winefile \
45 winemine \
46 winepath \
47 winhelp
49 # Symlinks to apps that we want to run from inside the source tree
50 SYMLINKS = \
51 wineconsole.exe \
52 winedbg.exe \
53 winetest.exe
55 @MAKE_RULES@
57 all: wineapploader $(SUBDIRS) $(SYMLINKS:%=%$(DLLEXT))
59 wineapploader: wineapploader.in
60 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || $(RM) $@
62 # Rules for installation
64 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
66 install-apploader: wineapploader dummy
67 $(MKINSTALLDIRS) $(bindir)
68 $(INSTALL_SCRIPT) wineapploader $(bindir)/wineapploader
70 $(INSTALLPROGS:%=%/__installprog__): install-apploader
71 $(RM) $(bindir)/`dirname $@` && $(LN) $(bindir)/wineapploader $(bindir)/`dirname $@`
73 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
74 $(RM) $(bindir)/wineapploader
76 install-progs: # nothing to do here
78 install:: $(SUBDIRS:%=%/__install__) install-progs$(DLLEXT)
80 uninstall:: $(SUBDIRS:%=%/__uninstall__)
81 $(RM) $(bindir)/wineapploader $(INSTALLPROGS:%=$(bindir)/%)
82 -rmdir $(dlldir)
84 clean::
85 $(RM) wineapploader $(SYMLINKS)
87 # Rules for testing
89 $(SUBDIRS:%=%/__checklink__): dummy
90 @cd `dirname $@` && $(MAKE) checklink
92 checklink:: $(SUBDIRS:%=%/__checklink__)
94 check test:: $(SUBDIRS:%=%/__test__)
96 # Rules for symlinks
98 wineconsole.exe$(DLLEXT): wineconsole/wineconsole.exe$(DLLEXT)
99 $(RM) $@ && $(LN_S) wineconsole/wineconsole.exe$(DLLEXT) $@
101 winedbg.exe$(DLLEXT): $(TOPOBJDIR)/debugger/winedbg.exe$(DLLEXT)
102 $(RM) $@ && $(LN_S) $(TOPOBJDIR)/debugger/winedbg.exe$(DLLEXT) $@
104 winetest.exe$(DLLEXT): winetest/winetest.exe$(DLLEXT)
105 $(RM) $@ && $(LN_S) winetest/winetest.exe$(DLLEXT) $@
107 wineconsole/wineconsole.exe$(DLLEXT): wineconsole
108 $(TOPOBJDIR)/debugger/winedbg.exe$(DLLEXT): $(TOPOBJDIR)/debugger
109 winetest/winetest.exe$(DLLEXT): winetest
111 ### Dependencies: