OSDN Git Service

In the case of --enable-dynamic=emacs,alsaseq, make install timidity.el
[timidity41/timidity41.git] / common.makefile.in
index 56f59dd..a6f4b44 100644 (file)
@@ -1,22 +1,24 @@
-# TiMidity++ -- MIDI to WAVE converter and player
-# Copyright (C) 1999 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.
+## TiMidity++ -- MIDI to WAVE converter and player
+## Copyright (C) 1999-2002 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 # Define follows if you want to change.
+# Note that the definition of beginning with just one `#' implies
+# default value from configure.
 
 SHELL=@SHELL@
 
@@ -25,6 +27,13 @@ SHELL=@SHELL@
 ## Please modify and uncomment if you want to change.
 #CC= @CC@
 #CFLAGS = @CFLAGS@
+# For pentium gcc
+##CFLAGS = -O3 -mpentium -march=pentium -fomit-frame-pointer \
+##         -funroll-all-loops -malign-double -ffast-math
+# For PGCC
+##CFLAGS = -O6 -mpentium -fomit-frame-pointer -funroll-all-loops -ffast-math \
+##         -fno-peep-spills \
+##         -fno-exceptions -malign-jumps=0 -malign-loops=0 -malign-functions=0
 #CPPFLAGS = @CPPFLAGS@
 
 #DEFS = @DEFS@
@@ -40,17 +49,40 @@ SHELL=@SHELL@
 #exec_prefix = @exec_prefix@
 #bindir = @bindir@
 #libdir = @libdir@
+#datadir = @datadir@
 #mandir = @mandir@
-pkglibdir = $(libdir)/timidity
+pkglibdir = @pkglibdir@
+pkgdatadir = @pkgdatadir@
 #INSTALL = @INSTALL@
 
-# Where to install the patches, config files, and MIDI files.
-# If you change this, it's a good idea to recompile the binary,
-# or you'll need to invoke timidity with the -L option.
-TIMID_DIR = $(pkglibdir)
+# Where to install the patches, config files.
+PKGDATADIR = $(pkgdatadir)
 
-# Where to install the Tcl code, if you use the Tcl code that is.
-TCL_DIR = $(pkglibdir)
+# Where to install the Tcl code and the bitmaps.
+# It also contains bitmaps which are shared with XAW interface.
+PKGLIBDIR = $(pkglibdir)
 
+# Where to install the dynamic link interface.
+SHLIB_DIR = $(pkglibdir)
 
-.SUFFIXES: .c .h .ptcl .tcl .o .1 .5 .txt .ps .@so@
+# Where to install timidity.el
+ELISP_DIR = $(lispdir)
+
+# Where to install TiMidity.ad
+XAWRES = ${xawresdir}/app-defaults
+XAWRES_JA = ${xawresdir}/ja_JP.eucJP/app-defaults
+
+# If you want to change TCL_DIR, please do follows.
+# * Add -DTKPROGPATH=\"$(TCL_DIR)/tkmidity.tcl\" to CPPFLAGS.
+# * Make a symbolic link $(PKGLIBDIR)/bitmaps to $(TCL_DIR)/bitmaps
+TCL_DIR = $(PKGLIBDIR)
+##CPPFLAGS += -DTKPROGPATH=\"$(TCL_DIR)/tkmidity.tcl\"
+
+# Define the timidity default file search path.
+DEF_DEFAULT_PATH = -DDEFAULT_PATH=\"$(PKGDATADIR)\"
+
+# You sould not change follows definitions. 
+DEF_PKGDATADIR = -DPKGDATADIR=\"$(PKGDATADIR)\"
+DEF_PKGLIBDIR = -DPKGLIBDIR=\"$(PKGLIBDIR)\"
+DEF_SHLIB_DIR = -DSHLIB_DIR=\"$(SHLIB_DIR)\"
+BITMAP_DIR = $(TCL_DIR)/bitmaps