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