16 |
# use=386-linux |
# use=386-linux |
17 |
|
|
18 |
# for main link of raw_gcl |
# for main link of raw_gcl |
19 |
LIBS= -lm |
LIBS= -lm -lreadline -lncurses -lbfd -liberty |
20 |
|
|
21 |
#The multi precision library stuff |
#The multi precision library stuff |
22 |
MPFILES=$(MPDIR)/mpi-386_no_under.o $(MPDIR)/libmport.a |
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a |
23 |
|
|
24 |
|
|
25 |
# root for the installation, eg /usr/local |
# root for the installation, eg /usr/local |
55 |
NOTIFY=yes |
NOTIFY=yes |
56 |
GCC=gcc |
GCC=gcc |
57 |
|
|
58 |
|
RL_OBJS=readline.o |
59 |
|
|
60 |
|
RL_LIB=lsp/readline.o |
61 |
|
|
62 |
|
GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0 |
|
|
|
|
GCLDIR=/fix/f/debian/mm/gcl/gcl |
|
63 |
SHELL=/bin/sh |
SHELL=/bin/sh |
64 |
MACHINE=386-linux |
MACHINE=386-linux |
65 |
|
|
74 |
|
|
75 |
LBINDIR=/usr/local/bin |
LBINDIR=/usr/local/bin |
76 |
|
|
77 |
#OFLAG = -O |
#OFLAG = -g |
78 |
OFLAG = -g |
OFLAG = -O |
79 |
LIBS = -lm |
#LIBS = -lm |
80 |
|
|
81 |
#ODIR_DEBUG= -O4 |
ODIR_DEBUG= -O4 |
82 |
ODIR_DEBUG= -g |
#ODIR_DEBUG= -g |
83 |
|
|
84 |
# This CC string will be used for compilation of the system, |
# This CC string will be used for compilation of the system, |
85 |
# and also in the compiler::*cc* variable for later compilation of |
# and also in the compiler::*cc* variable for later compilation of |
179 |
merge: |
merge: |
180 |
${CC} -o merge merge.c |
${CC} -o merge merge.c |
181 |
|
|
182 |
LISP_LIB=cmpnew/collectfn.o lsp/gprof.lsp lsp/info.o lsp/profile.lsp gcl-tk/tkl.o gcl-tk/tinfo.o gcl-tk/decode.tcl gcl-tk/demos/*.lsp gcl-tk/demos/*.lisp gcl-tk/demos/*.o |
LISP_LIB=cmpnew/collectfn.o lsp/gprof.lsp lsp/info.o lsp/profile.lsp gcl-tk/tkl.o gcl-tk/tinfo.o gcl-tk/decode.tcl gcl-tk/demos/*.lsp gcl-tk/demos/*.lisp gcl-tk/demos/*.o $(RL_LIB) |
183 |
|
|
184 |
install-command: |
install-command: |
185 |
rm -f $(DESTDIR)${prefix}/bin/gcl |
rm -f $(DESTDIR)${prefix}/bin/gcl |
189 |
echo ' -libdir' ${INSTALL_LIB_DIR}/ \\ ; \ |
echo ' -libdir' ${INSTALL_LIB_DIR}/ \\ ; \ |
190 |
echo ' -eval '\''(setq si::*allow-gzipped-file* t)'\' \\ ;\ |
echo ' -eval '\''(setq si::*allow-gzipped-file* t)'\' \\ ;\ |
191 |
! [ -d "${TK_CONFIG_PREFIX}" ] || echo ' -eval '\''(setq si::*tk-library* '\"${TK_LIBRARY}\"')'\' \\;\ |
! [ -d "${TK_CONFIG_PREFIX}" ] || echo ' -eval '\''(setq si::*tk-library* '\"${TK_LIBRARY}\"')'\' \\;\ |
192 |
|
[ "$(RL_OBJS)" = "" ] || echo ' -eval '\''(si::init-readline)'\' \\;\ |
193 |
echo ' '\"\$$@\" ) > $(DESTDIR)${prefix}/bin/gcl; |
echo ' '\"\$$@\" ) > $(DESTDIR)${prefix}/bin/gcl; |
194 |
echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' >> $(DESTDIR)${prefix}/bin/gcl |
echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' >> $(DESTDIR)${prefix}/bin/gcl |
195 |
chmod a+x $(DESTDIR)${prefix}/bin/gcl |
chmod a+x $(DESTDIR)${prefix}/bin/gcl |