| 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 |
SUBDIRS = \ |
| 22 |
utils \ |
| 23 |
libarc \ |
| 24 |
interface \ |
| 25 |
libunimod \ |
| 26 |
timidity \ |
| 27 |
doc \ |
| 28 |
script |
| 29 |
|
| 30 |
EXTRA_DIST = \ |
| 31 |
autoconf \ |
| 32 |
AUTHORS \ |
| 33 |
COPYING \ |
| 34 |
ChangeLog \ |
| 35 |
ChangeLog.1 \ |
| 36 |
INSTALL \ |
| 37 |
INSTALL.jp \ |
| 38 |
NEWS \ |
| 39 |
README \ |
| 40 |
README.jp \ |
| 41 |
timidity.ide \ |
| 42 |
timidity.mak \ |
| 43 |
TiMidity-uj.ad \ |
| 44 |
TiMidity.ad \ |
| 45 |
bootstrap.sh \ |
| 46 |
configs |
| 47 |
|
| 48 |
TOOLSDIR = timidity-tools |
| 49 |
UMPDIR = ump |
| 50 |
|
| 51 |
dynamics: |
| 52 |
cd interface; $(MAKE) $@ |
| 53 |
|
| 54 |
install.man install.manj: |
| 55 |
cd doc; $(MAKE) $@ |
| 56 |
|
| 57 |
install.tk: |
| 58 |
cd interface; $(MAKE) $@ |
| 59 |
|
| 60 |
install.el: |
| 61 |
cd interface; $(MAKE) $@ |
| 62 |
|
| 63 |
install.bin: |
| 64 |
cd timidity; $(MAKE) install |
| 65 |
|
| 66 |
dist-hook: |
| 67 |
CONFIG_HEADERS='' CONFIG_FILES=configs/msc-config.h $(SHELL) ./config.status |
| 68 |
cp -r configs $(distdir) |
| 69 |
chmod -R a+r $(distdir) |
| 70 |
$(AMTAR) chof - $(distdir) | bzip2 -9 - > $(distdir).tar.bz2 |
| 71 |
|
| 72 |
## |
| 73 |
## Targets for timidity-tools |
| 74 |
## |
| 75 |
tools:: tools-targets |
| 76 |
cd $(TOOLSDIR); $(MAKE) |
| 77 |
|
| 78 |
tools-targets: $(TOOLSDIR)/Makefile |
| 79 |
|
| 80 |
install.tools: |
| 81 |
cd $(TOOLSDIR); $(MAKE) install |
| 82 |
|
| 83 |
$(TOOLSDIR)/Makefile: $(TOOLSDIR)/Makefile.in config.status |
| 84 |
CONFIG_HEADERS='' CONFIG_FILES=$(TOOLSDIR)/Makefile $(SHELL) ./config.status |
| 85 |
|
| 86 |
## for developers |
| 87 |
#$(TOOLSDIR)/Makefile.in: $(TOOLSDIR)/Makefile.am |
| 88 |
# $(AUTOMAKE) --gnu $(TOOLSDIR)/Makefile |
| 89 |
|
| 90 |
|
| 91 |
## |
| 92 |
## Targets for UMP |
| 93 |
## |
| 94 |
ump: ump-targets |
| 95 |
cd $(UMPDIR); $(MAKE) ump |
| 96 |
|
| 97 |
ump-targets: $(UMPDIR)/Makefile |
| 98 |
|
| 99 |
$(UMPDIR)/Makefile: $(UMPDIR)/Makefile.in config.status |
| 100 |
CONFIG_HEADERS='' CONFIG_FILES=ump/Makefile $(SHELL) ./config.status |
| 101 |
|
| 102 |
## for developers |
| 103 |
#$(UMPDIR)/Makefile.in: $(UMPDIR)/Makefile.am |
| 104 |
# $(AUTOMAKE) --gnu $(UMPSDIR)/Makefile |