1 ###########################################################################
2 ##                                                                       ##
3 ##                Centre for Speech Technology Research                  ##
4 ##                     University of Edinburgh, UK                       ##
5 ##                         Copyright (c) 1996                            ##
6 ##                        All Rights Reserved.                           ##
7 ##                                                                       ##
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        ##
20 ##      permission.                                                      ##
21 ##                                                                       ##
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       ##
30 ##  THIS SOFTWARE.                                                       ##
31 ##                                                                       ##
32 ###########################################################################
33 ##                                                                       ##
34 ##                 Author: Richard Caley (rjc@cstr.ed.ac.uk)             ##
35 ## --------------------------------------------------------------------  ##
36 ## Very common settings to avoid repetition.                             ##
37 ##                                                                       ##
38 ###########################################################################
39
40###########################################################################
41## Installation directories
42
43INSTALL_PREFIX=/usr/local
44
45BINDIR=$(INSTALL_PREFIX)/bin
46LIBDIR=$(INSTALL_PREFIX)/lib
47INCDIR=$(INSTALL_PREFIX)/include
48MANDIR=$(INSTALL_PREFIX)/man
49
50###########################################################################
51## Where the central RCS masters are stored.
52##
53## Used for development at CSTR, you can probably ignore it.
54
55LOCAL_REPOSITORY =
56
57###########################################################################
58## Where to find Network Audio
59
60NAS_INCLUDE = /usr/local/include
61NAS_LIB = /usr/local/lib
62
63###########################################################################
64## Where to find Enlightenment Speech Demon
65
66ESD_INCLUDE = /usr/local/include
67ESD_LIB = /usr/local/lib
68
69###########################################################################
70## Where to find X11
71
72X11_INCLUDE = /usr/local/include
73X11_LIB     = /usr/local/lib
74
75###########################################################################
76## TCL support
77
78TCL_INCLUDE = /usr/local/include
79TCL_LIB     = /usr/local/lib
80TCL_LIBRARY = -ltcl7.6
81
82###########################################################################
83## Efence library for malloc debugging
84
85EFENCE_LIB = /usr/local/lib
86
87###########################################################################
88## Commands.
89
90## Must support -nt
91GNUTEST = gnutest
92
93##
94INSTALL_PROG = install
95
96## Used to index libraries
97RANLIB = ranlib
98
99## echo without a newline
100ECHO_N = echo -n
101
102## make depend for when we haven't specified a compiler
103MAKE_DEPEND = makedepend $(INCLUDES) $(TEMPLATES) $(TEMPLATE_SPECIFIC)
104
105## Generic library building
106BUILD_LIB =$(AR) cruv
107
108## generic library indexing
109INDEX_LIB = $(RANLIB)
110
111## shrink executables
112STRIP = strip
113
114## Useful sloth
115DO_NOTHING = true
116DO_NOTHING_ARGS = :
117
118## different types of awk. For our purposes gawk can be used for nawk
119AWK = awk
120NAWK = nawk
121
122## Perl. Not used in build, but we have some perl scripts.
123PERL=/usr/bin/perl
124
125## Just in case someone has a broken test
126TEST = test
127
128## Must understand -nt
129GNUTEST = gnutest
130
131## Avoid clever RMs people may have on their path
132RM = /bin/rm
133
134###########################################################################
135## Arguments for DOC++ for creating documentation
136
137DOCXX = doc++_sane
138DOCXX_ARGS = -a -f -B banner.inc -M sane -D 'SYSTEM "$(EST_HOME)/doc/sane.dtd"'
139
140
141COMPILER_VERSION_COMMAND=true
142JAVA_COMPILER_VERSION_COMMAND=true
143
144JAVA_SYSTEM_INCLUDES  = -I$(JAVA_HOME)/include/genunix
145