OSDN Git Service

Use ThinLTO on llvm-mingw
[timidity41/timidity41.git] / Makefile.am
1 # TiMidity++ -- MIDI to WAVE converter and player
2 # Copyright (C) 1999-2002 Masanao Izumo <mo@goice.co.jp>
3 # Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 #
19 # This Makefile is known to work with GNU make.
20
21 ACLOCAL_AMFLAGS = -I autoconf
22 M4DIR = autoconf
23 SUBDIRS = \
24         autoconf \
25         utils \
26         libarc \
27         libunimod \
28         interface \
29         timidity \
30         windrv \
31         doc \
32         script \
33         configs
34
35 EXTRA_DIST = \
36         ChangeLog.1 \
37         ChangeLog.2 \
38         ChangeLog.3 \
39         INSTALL.ja \
40         README.ja \
41         TiMidity-uj.ad.in \
42         TiMidity.ad.in \
43         autogen.sh
44
45 TOOLSDIR = timidity-tools
46 UMPDIR = ump
47
48 dynamics:
49         cd interface; $(MAKE) $@
50
51 install.man install.manj:
52         cd doc; $(MAKE) $@
53
54 install.tk:
55         cd interface; $(MAKE) $@
56
57 install.el:
58         cd interface; $(MAKE) $@
59
60 install.bin:
61         cd timidity; $(MAKE) install
62
63 ##
64 ## Targets for timidity-tools
65 ##
66 tools:: tools-targets
67         cd $(TOOLSDIR); $(MAKE)
68
69 tools-targets: $(TOOLSDIR)/Makefile
70
71 install.tools:
72         cd $(TOOLSDIR); $(MAKE) install
73
74 $(TOOLSDIR)/Makefile: $(TOOLSDIR)/Makefile.in config.status
75         CONFIG_HEADERS='' CONFIG_FILES=$(TOOLSDIR)/Makefile $(SHELL) ./config.status
76
77 ## for developers
78 #$(TOOLSDIR)/Makefile.in: $(TOOLSDIR)/Makefile.am
79 #       $(AUTOMAKE) --gnu $(TOOLSDIR)/Makefile
80
81
82 ##
83 ## Targets for UMP
84 ##
85 ump: ump-targets
86         cd $(UMPDIR); $(MAKE) ump
87
88 ump-targets: $(UMPDIR)/Makefile
89
90 $(UMPDIR)/Makefile: $(UMPDIR)/Makefile.in config.status
91         CONFIG_HEADERS='' CONFIG_FILES=ump/Makefile $(SHELL) ./config.status
92
93 ## for developers
94 #$(UMPDIR)/Makefile.in: $(UMPDIR)/Makefile.am
95 #       $(AUTOMAKE) --gnu $(UMPSDIR)/Makefile