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

Diff of /gcl/unixport/makefile

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

revision 1.9.2.1 by camm, Wed Dec 19 00:11:22 2001 UTC revision 1.9.2.2 by camm, Thu Dec 20 00:00:27 2001 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 $(RL_LIB_SPEC)  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 18  MPFILES= $(MPDIR)/mpi.o $(MPDIR)/mp2.o Line 18  MPFILES= $(MPDIR)/mpi.o $(MPDIR)/mp2.o
18  INIT_SYSTEM_LSP=init_$(SYSTEM).lsp  INIT_SYSTEM_LSP=init_$(SYSTEM).lsp
19  SPECIAL_RSYM = rsym.c  SPECIAL_RSYM = rsym.c
20    
 # If you have static GNU Readline 4.0 library, modify the following  
 # Note that it is possible to configure Readline use ncurses instead termcap  
 RL_PREFIX=/cdimage  
 RL_LIB_SPEC=-L$(RL_PREFIX)/lib -lreadline -ltermcap  
 RL_INCLUDE=-I$(RL_PREFIX)/include  
 RL_OBJS=$(OD)readline.o  
   
   
   
   
21  # begin makedefs  # begin makedefs
22    
23  # use=386-linux  # use=386-linux
# Line 42  MPFILES=$(MPDIR)/mpi-386_no_under.o $(MP Line 32  MPFILES=$(MPDIR)/mpi-386_no_under.o $(MP
32  # root for the installation, eg /usr/local  # root for the installation, eg /usr/local
33  # This would cause make install to create /usr/local/bin/gcl and  # This would cause make install to create /usr/local/bin/gcl and
34  # /usr/local/lib/gcl-2-??/* with some basic files.  # /usr/local/lib/gcl-2-??/* with some basic files.
35  prefix=/usr/local  prefix=/fix/f/debian/mm/gcl/gcl-2.5.0/../tmp
36    
37  # where to place the info files  # where to place the info files
38  INFO_DIR=/usr/info/  INFO_DIR=/usr/info/
# Line 72  TCL_LIBS=-ldl  -lm Line 62  TCL_LIBS=-ldl  -lm
62  NOTIFY=yes  NOTIFY=yes
63  GCC=gcc  GCC=gcc
64    
65    RL_OBJS=
66    
67    RL_LIB=
   
68    
69  GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0  GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0
70  SHELL=/bin/sh  SHELL=/bin/sh
# Line 91  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  LIBS    = -lm  #OFLAG  =  -O
86    #LIBS   = -lm
87    
88  ODIR_DEBUG= -O4  #ODIR_DEBUG= -O4
89    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 166  OBJS   =  $(OD)main.o $(OD)alloc.o $(OD)gb Line 158  OBJS   =  $(OD)main.o $(OD)alloc.o $(OD)gb
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          $(RL_OBJS)          $(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 175  LSPOBJS        = $(LSPDIR)/defmacro.o $(LSPDIR) Line 167  LSPOBJS        = $(LSPDIR)/defmacro.o $(LSPDIR)
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 $(LSPDIR)/info.o \
170          $(LSPDIR)/serror.o          $(LSPDIR)/serror.o $(addprefix $(LSPDIR)/,$(RL_OBJS))
171    
172  CMPOBJS = $(CMPDIR)/cmpinline.o $(CMPDIR)/cmputil.o $(CMPDIR)/cmptype.o \  CMPOBJS = $(CMPDIR)/cmpinline.o $(CMPDIR)/cmputil.o $(CMPDIR)/cmptype.o \
173          $(CMPDIR)/cmpbind.o $(CMPDIR)/cmpblock.o $(CMPDIR)/cmpcall.o \          $(CMPDIR)/cmpbind.o $(CMPDIR)/cmpblock.o $(CMPDIR)/cmpcall.o \
# Line 188  CMPOBJS        = $(CMPDIR)/cmpinline.o $(CMPDIR Line 180  CMPOBJS        = $(CMPDIR)/cmpinline.o $(CMPDIR
180    
181  SYSTEM=gcl  SYSTEM=gcl
182    
183    $(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.lsp
184            cp $< $@
185            [ "$(RL_OBJS)" = "" ] || \
186                    echo "(AUTOLOAD 'init-readline '|readline|)" >>$@
187    
188  saved_$(SYSTEM):raw_$(SYSTEM) $(RSYM) $(INIT_SYSTEM_LSP) \  saved_$(SYSTEM):raw_$(SYSTEM) $(RSYM) $(INIT_SYSTEM_LSP) \
189                  $(CMPDIR)/cmpmain.lsp \                  $(CMPDIR)/cmpmain.lsp \
190                  $(CMPDIR)/lfun_list.lsp \                  $(CMPDIR)/lfun_list.lsp \
191                  $(CMPDIR)/cmpopt.lsp ${HDIR}/cmpinclude.h                  $(CMPDIR)/cmpopt.lsp ${HDIR}/cmpinclude.h \
192                    $(LSPDIR)/auto_new.lsp
193  # if you are wfs on rascal increment the minor version number.  # if you are wfs on rascal increment the minor version number.
194          ../xbin/if-exists /usr/u9/wfs/schelter "../xbin/inc-version"          ../xbin/if-exists /usr/u9/wfs/schelter "../xbin/inc-version"
195          ../xbin/if-exists saved_$(SYSTEM) "rm -f saved_$(SYSTEM)"          ../xbin/if-exists saved_$(SYSTEM) "rm -f saved_$(SYSTEM)"
# Line 258  hpbsd-crt0-mod.o: Line 256  hpbsd-crt0-mod.o:
256    
257    
258  clean:  clean:
259          rm -f saved_$(GCL) raw_$(GCL) *.o core a.out rsym          rm -f saved_$(GCL) raw_$(GCL) *.o core a.out rsym $(LSPDIR)/auto_new.lsp

Legend:
Removed from v.1.9.2.1  
changed lines
  Added in v.1.9.2.2

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