1 ###########################################################################
3 ## Centre for Speech Technology Research ##
4 ## University of Edinburgh, UK ##
5 ## Copyright (c) 1996 ##
6 ## All Rights Reserved. ##
8 ## Permission is hereby granted, free of charge, to use and distribute ##
9 ## this software and its documentation without restriction, including ##
10 ## without limitation the rights to use, copy, modify, merge, publish, ##
11 ## distribute, sublicense, and/or sell copies of this work, and to ##
12 ## permit persons to whom this work is furnished to do so, subject to ##
13 ## the following conditions: ##
14 ## 1. The code must retain the above copyright notice, this list of ##
15 ## conditions and the following disclaimer. ##
16 ## 2. Any modifications must be clearly marked as such. ##
17 ## 3. Original authors' names are not deleted. ##
18 ## 4. The authors' names are not used to endorse or promote products ##
19 ## derived from this software without specific prior written ##
22 ## THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK ##
23 ## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ##
24 ## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ##
25 ## SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE ##
26 ## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ##
27 ## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ##
28 ## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ##
29 ## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ##
32 ###########################################################################
34 ## Author: Richard Caley (rjc@cstr.ed.ac.uk) ##
35 ## -------------------------------------------------------------------- ##
36 ## Very common settings to avoid repetition. ##
38 ###########################################################################
40 ###########################################################################
41 ## Installation directories
43 INSTALL_PREFIX=/usr/local
45 BINDIR=$(INSTALL_PREFIX)/bin
46 LIBDIR=$(INSTALL_PREFIX)/lib
47 INCDIR=$(INSTALL_PREFIX)/include
48 MANDIR=$(INSTALL_PREFIX)/man
50 ###########################################################################
51 ## Where the central RCS masters are stored.
53 ## Used for development at CSTR, you can probably ignore it.
57 ###########################################################################
58 ## Where to find Network Audio
60 NAS_INCLUDE = /usr/X11R6/include
61 NAS_LIB = /usr/X11R6/lib
63 ###########################################################################
64 ## Where to find Enlightenment Speech Demon
66 ESD_INCLUDE = /usr/local/include
67 ESD_LIB = /usr/local/lib
69 ###########################################################################
72 X11_INCLUDE = /usr/X11R6/include
73 X11_LIB = /usr/X11R6/lib
75 ###########################################################################
78 TCL_INCLUDE = /usr/local/include
79 TCL_LIB = /usr/local/lib
80 TCL_LIBRARY = -ltcl7.6
82 ###########################################################################
83 ## Efence library for malloc debugging
85 EFENCE_LIB = /usr/local/lib
87 ###########################################################################
94 INSTALL_PROG = install
96 ## Used to index libraries
99 ## echo without a newline
102 ## make depend for when we haven't specified a compiler
103 MAKE_DEPEND = makedepend $(INCLUDES) $(TEMPLATES) $(TEMPLATE_SPECIFIC)
105 ## Generic library building
106 BUILD_LIB =$(AR) cruv
108 ## generic library indexing
109 INDEX_LIB = $(RANLIB)
111 ## shrink executables
118 ## different types of awk. For our purposes gawk can be used for nawk
122 ## Perl. Not used in build, but we have some perl scripts.
125 ## Just in case someone has a broken test
128 ## Must understand -nt
131 ## Avoid clever RMs people may have on their path
134 ###########################################################################
135 ## Arguments for DOC++ for creating documentation
138 DOCXX_ARGS = -a -f -B banner.inc -M sane -D 'SYSTEM "$(EST_HOME)/doc/sane.dtd"'
141 COMPILER_VERSION_COMMAND=true
142 JAVA_COMPILER_VERSION_COMMAND=true
144 JAVA_SYSTEM_INCLUDES = -I$(JAVA_HOME)/include/genunix