7
# for main link of raw_gcl
8
LIBS= -lm -lreadline -lncurses -Wl,-static -lbfd -liberty
10
#The multi precision library stuff
11
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a
14
# root for the installation, eg /usr/local
15
# This would cause make install to create /usr/local/bin/gcl and
16
# /usr/local/lib/gcl-2-??/* with some basic files.
19
# where to place the info files
22
# where to put emacs lisp files.
23
EMACS_SITE_LISP=/usr/local/share/emacs/20.7/site-lisp
26
EMACS_DEFAULT_EL=/usr/local/share/emacs/20.7/site-lisp/default.el
28
# numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
30
TK_CONFIG_PREFIX=/usr/lib
31
TK_LIBRARY=/usr/lib/tk8.2
32
TCL_LIBRARY=/usr/lib/tcl8.2
33
TK_XINCLUDES=-I/usr/X11R6/include
34
TK_INCLUDE=-I/usr/lib/../include
35
TCL_INCLUDE=-I/usr/lib/../include
36
TK_LIB_SPEC=-L/usr/lib -ltk8.2
37
TK_BUILD_LIB_SPEC=-L/usr/lib -ltk8.2
38
TK_XLIBSW=-L/usr/X11R6/lib -lX11
39
TK_XINCLUDES=-I/usr/X11R6/include
40
TCL_LIB_SPEC=-L/usr/lib -ltcl8.2${TCL_DBGX}
51
GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0.cvs
55
# notes for redhat 6.0
56
# the configure should select the compiler GCC=/usr/bin/i386-glibc20-linux-gcc
57
# However for the gcl-tk directory, you must use plain 'gcc' since
58
# that must link with the tcl tk libs which have been compiled with it.
59
# so after configure change to GCC=gcc in the gcl-tk/makefile
62
# Machine dependent makefile definitions for intel 386,486 running linux
64
LBINDIR=/usr/local/bin
73
# This CC string will be used for compilation of the system,
74
# and also in the compiler::*cc* variable for later compilation of
76
# (the -pipe is just since our file system is slow..)
77
CC = ${GCC} -pipe -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char
79
# under redhat 6.1 and slackware 7.0 we needed to have this
80
# link be static, but should be ok with the fix to unixport/rsym_elf.c
84
# note for linuxaout on an elf machine add -b i486-linuxaout
85
# CC = gcc -pipe -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char -b i486-linuxaout
87
# Enable the fastloading mechanism which does not use ld -A
88
# requires c/rel_.. machine dependent code.
91
SFASL = $(ODIR)/sfasl.o
94
#MPFILES= $(MPDIR)/mpi-386d.o $(MPDIR)/libmport.a
97
# When using SFASL it is good to have (si::build-symbol-table)
98
INITFORM=(si::build-symbol-table)
105
# the make to use for saved_kcp the profiler.
108
MPFILES=${GMP_DIR}libgmp.a
115
mkdir -p $(DESTDIR)$(EMACS_SITE_LISP)
116
cp *.el $(DESTDIR)$(EMACS_SITE_LISP)
117
if [ "$(EMACS_DEFAULT_EL)" != "" ] ; then \
118
if test -f "$(DESTDIR)${EMACS_DEFAULT_EL}" ; then \
119
cat $(DESTDIR)${EMACS_DEFAULT_EL} | sed -e '/BEGIN gcl/,/END gcl/d' > xxx ; \
120
mv $(DESTDIR)${EMACS_DEFAULT_EL} $(DESTDIR)${EMACS_DEFAULT_EL}.prev ; \
121
rm -f $(DESTDIR)${EMACS_DEFAULT_EL}c ; \
122
cat add-default.el >> xxx ; cp xxx $(DESTDIR)${EMACS_DEFAULT_EL} ; \
124
cp add-default.el $(DESTDIR)${EMACS_DEFAULT_EL} ; fi ; \
125
chmod a+r $(DESTDIR)${EMACS_DEFAULT_EL} ; fi