/[gcl]/gcl/unixport/makefile
ViewVC logotype

Diff of /gcl/unixport/makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by camm, Mon Jan 7 16:44:36 2002 UTC revision 1.13 by camm, Sun Feb 3 18:44:08 2002 UTC
# Line 9  GMP_DIR        = ../gmp/ Line 9  GMP_DIR        = ../gmp/
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
# Line 23  SPECIAL_RSYM = rsym.c Line 23  SPECIAL_RSYM = rsym.c
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
# Line 62  TCL_LIBS=-ldl  -lm Line 62  TCL_LIBS=-ldl  -lm
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    
# Line 81  MACHINE=386-linux Line 81  MACHINE=386-linux
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
# Line 157  OBJS   =  $(OD)main.o $(OD)alloc.o $(OD)gb Line 157  OBJS   =  $(OD)main.o $(OD)alloc.o $(OD)gb
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 \
# Line 165  LSPOBJS        = $(LSPDIR)/defmacro.o $(LSPDIR) Line 166  LSPOBJS        = $(LSPDIR)/defmacro.o $(LSPDIR)
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 \
# Line 179  CMPOBJS        = $(CMPDIR)/cmpinline.o $(CMPDIR Line 182  CMPOBJS        = $(CMPDIR)/cmpinline.o $(CMPDIR
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)"
# Line 247  hpbsd-crt0-mod.o: Line 256  hpbsd-crt0-mod.o:
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*

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26