9 |
|
|
10 |
CFLAGS = -c $(DEFS) -I$(HDIR) |
CFLAGS = -c $(DEFS) -I$(HDIR) |
11 |
LDCC = $(CC) -g |
LDCC = $(CC) -g |
12 |
LIBC = -lc |
LIBC = -lc |
13 |
LIBS = -lm # -lpixrect -lc |
LIBS = -lm # -lpixrect -lc |
14 |
OLDDATE = "DATE" |
OLDDATE = "DATE" |
15 |
GCLIB = $(ODIR)/gcllib.a |
GCLIB = $(ODIR)/gcllib.a |
23 |
# use=386-linux |
# use=386-linux |
24 |
|
|
25 |
# for main link of raw_gcl |
# for main link of raw_gcl |
26 |
LIBS= -lm |
LIBS= -lm -lreadline -lncurses -lbfd -liberty |
27 |
|
|
28 |
#The multi precision library stuff |
#The multi precision library stuff |
29 |
MPFILES=$(MPDIR)/mpi-386_no_under.o $(MPDIR)/libmport.a |
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a |
30 |
|
|
31 |
|
|
32 |
# root for the installation, eg /usr/local |
# root for the installation, eg /usr/local |
62 |
NOTIFY=yes |
NOTIFY=yes |
63 |
GCC=gcc |
GCC=gcc |
64 |
|
|
65 |
|
RL_OBJS=readline.o |
66 |
|
|
67 |
|
RL_LIB=lsp/readline.o |
68 |
|
|
69 |
|
GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0 |
|
|
|
|
GCLDIR=/fix/f/debian/mm/gcl/gcl |
|
70 |
SHELL=/bin/sh |
SHELL=/bin/sh |
71 |
MACHINE=386-linux |
MACHINE=386-linux |
72 |
|
|
81 |
|
|
82 |
LBINDIR=/usr/local/bin |
LBINDIR=/usr/local/bin |
83 |
|
|
84 |
#OFLAG = -O |
#OFLAG = -g |
85 |
OFLAG = -g |
OFLAG = -O |
86 |
LIBS = -lm |
#LIBS = -lm |
87 |
|
|
88 |
#ODIR_DEBUG= -O4 |
ODIR_DEBUG= -O4 |
89 |
ODIR_DEBUG= -g |
#ODIR_DEBUG= -g |
90 |
|
|
91 |
# This CC string will be used for compilation of the system, |
# This CC string will be used for compilation of the system, |
92 |
# and also in the compiler::*cc* variable for later compilation of |
# and also in the compiler::*cc* variable for later compilation of |
157 |
$(OD)fat_string.o ${ODIR}/run_process.o \ |
$(OD)fat_string.o ${ODIR}/run_process.o \ |
158 |
$(OD)nfunlink.o $(OD)usig.o $(OD)usig2.o $(OD)utils.o \ |
$(OD)nfunlink.o $(OD)usig.o $(OD)usig2.o $(OD)utils.o \ |
159 |
$(OD)makefun.o $(OD)sockets.o $(OD)clxsocket.o \ |
$(OD)makefun.o $(OD)sockets.o $(OD)clxsocket.o \ |
160 |
$(OD)init_pari.o $(OD)nsocket.o $(NEW_INIT) $(MPFILES) $(SFASL) $(EXTRAS) |
$(OD)init_pari.o $(OD)nsocket.o $(NEW_INIT) $(MPFILES) $(SFASL) $(EXTRAS) \ |
161 |
|
$(addprefix $(OD),$(RL_OBJS)) |
162 |
|
|
163 |
LSPOBJS = $(LSPDIR)/defmacro.o $(LSPDIR)/evalmacros.o $(LSPDIR)/top.o \ |
LSPOBJS = $(LSPDIR)/defmacro.o $(LSPDIR)/evalmacros.o $(LSPDIR)/top.o \ |
164 |
$(LSPDIR)/module.o $(LSPDIR)/predlib.o $(LSPDIR)/setf.o \ |
$(LSPDIR)/module.o $(LSPDIR)/predlib.o $(LSPDIR)/setf.o \ |
166 |
$(LSPDIR)/describe.o $(LSPDIR)/iolib.o $(LSPDIR)/listlib.o \ |
$(LSPDIR)/describe.o $(LSPDIR)/iolib.o $(LSPDIR)/listlib.o \ |
167 |
$(LSPDIR)/mislib.o $(LSPDIR)/numlib.o $(LSPDIR)/packlib.o \ |
$(LSPDIR)/mislib.o $(LSPDIR)/numlib.o $(LSPDIR)/packlib.o \ |
168 |
$(LSPDIR)/seq.o $(LSPDIR)/seqlib.o $(LSPDIR)/trace.o \ |
$(LSPDIR)/seq.o $(LSPDIR)/seqlib.o $(LSPDIR)/trace.o \ |
169 |
$(LSPDIR)/sloop.o $(LSPDIR)/debug.o $(LSPDIR)/info.o \ |
$(LSPDIR)/sloop.o $(LSPDIR)/debug.o \ |
170 |
$(LSPDIR)/serror.o |
$(LSPDIR)/serror.o $(LSPDIR)/info.o $(LSPDIR)/destructuring_bind.o \ |
171 |
|
$(LSPDIR)/defpackage.o $(LSPDIR)/make_defpackage.o \ |
172 |
|
$(addprefix $(LSPDIR)/,$(RL_OBJS)) |
173 |
|
|
174 |
CMPOBJS = $(CMPDIR)/cmpinline.o $(CMPDIR)/cmputil.o $(CMPDIR)/cmptype.o \ |
CMPOBJS = $(CMPDIR)/cmpinline.o $(CMPDIR)/cmputil.o $(CMPDIR)/cmptype.o \ |
175 |
$(CMPDIR)/cmpbind.o $(CMPDIR)/cmpblock.o $(CMPDIR)/cmpcall.o \ |
$(CMPDIR)/cmpbind.o $(CMPDIR)/cmpblock.o $(CMPDIR)/cmpcall.o \ |
182 |
|
|
183 |
SYSTEM=gcl |
SYSTEM=gcl |
184 |
|
|
185 |
|
$(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.lsp |
186 |
|
cp $< $@ |
187 |
|
[ "$(RL_OBJS)" = "" ] || \ |
188 |
|
echo "(AUTOLOAD 'init-readline '|readline|)" >>$@ |
189 |
|
|
190 |
saved_$(SYSTEM):raw_$(SYSTEM) $(RSYM) $(INIT_SYSTEM_LSP) \ |
saved_$(SYSTEM):raw_$(SYSTEM) $(RSYM) $(INIT_SYSTEM_LSP) \ |
191 |
$(CMPDIR)/cmpmain.lsp \ |
$(CMPDIR)/cmpmain.lsp \ |
192 |
$(CMPDIR)/lfun_list.lsp \ |
$(CMPDIR)/lfun_list.lsp \ |
193 |
$(CMPDIR)/cmpopt.lsp ${HDIR}/cmpinclude.h |
$(CMPDIR)/cmpopt.lsp ${HDIR}/cmpinclude.h \ |
194 |
|
$(LSPDIR)/auto_new.lsp |
195 |
# if you are wfs on rascal increment the minor version number. |
# if you are wfs on rascal increment the minor version number. |
196 |
../xbin/if-exists /usr/u9/wfs/schelter "../xbin/inc-version" |
../xbin/if-exists /usr/u9/wfs/schelter "../xbin/inc-version" |
197 |
../xbin/if-exists saved_$(SYSTEM) "rm -f saved_$(SYSTEM)" |
../xbin/if-exists saved_$(SYSTEM) "rm -f saved_$(SYSTEM)" |
256 |
cp /lib/crt0.o . |
cp /lib/crt0.o . |
257 |
emacs -batch -l hpbsd-crt0.el |
emacs -batch -l hpbsd-crt0.el |
258 |
|
|
259 |
|
GCL:=gcl |
|
GCL=gcl |
|
260 |
clean: |
clean: |
261 |
rm -f saved_$(GCL) raw_$(GCL) *.o core a.out rsym foo *maxima* |
rm -f saved_$(GCL) raw_$(GCL) *.o core a.out rsym $(LSPDIR)/auto_new.lsp foo *maxima* |