1# Copyright (C) 1999, 2000 Core Technologies.
2#
3# This file is part of e93.
4#
5# e93 is free software; you can redistribute it and/or modify
6# it under the terms of the e93 LICENSE AGREEMENT.
7#
8# e93 is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# e93 LICENSE AGREEMENT for more details.
12#
13# You should have received a copy of the e93 LICENSE AGREEMENT
14# along with e93; see the file "LICENSE.TXT".
15
16# ----------------------------------------------------
17# Machine specific portion of make process for e93
18# You may need to edit this file to get e93 to compile
19# for your platform
20# This will be made more automatic in the future. At
21# the moment, it is set up for most Linux machines...
22# ----------------------------------------------------
23
24# Set path used to install e93
25# You may wish to change this to /usr
26# or to "~"
27#
28# e93 will install its single executable "e93" in $PREFIX/bin
29# and it will place a directory called "e93lib" in $PREFIX/lib
30PREFIX?=/usr/local
31
32
33# The following lines may need to be altered if the Tcl
34# files are located elsewhere on your system:
35TCL_INCLUDE=-I$(TCL_INCLUDEDIR)
36TCL_LIB=-L/usr/lib/x86_64-linux-gnu
37# uncomment and change if you want to link with specific versions of Tcl
38#TCL_VERSION=8.5
39
40
41# The following lines may need to be altered if the X include and library
42# files are located elsewhere on your system:
43X_INCLUDE=-I$(LOCALBASE)/include
44X_LIB=-L$(LOCALBASE)/lib
45
46
47# if your system needs some extra libraries, add them here:
48EXTRALIBS=-lm -ldl
49
50# Uncomment this line if running Solaris:
51#MACHINESPEC=-DSOLARIS
52
53# set compiler to use
54CC?=gcc
55
56
57# set some compiler options
58OPTIONS=-Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
59#OPTIONS = -Wall -O2 -x c++ -mcpu=21164a -Wa,-m21164a -g
60