/[gcl]/gcl/gcl-tk/makefile
ViewVC logotype

Diff of /gcl/gcl-tk/makefile

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

revision 1.12 by camm, Sun Feb 3 18:44:07 2002 UTC revision 1.13 by camm, Thu Jun 6 18:23:12 2002 UTC
# Line 14  ODIR   = ../o Line 14  ODIR   = ../o
14  GCLIB  = ../o/gcllib.a  GCLIB  = ../o/gcllib.a
15    
16    
17  # begin makedefs  include ../makedefs
   
 # use=386-linux  
   
 # for main link of raw_gcl  
 LIBS= -lm -lreadline -lncurses -lbfd -liberty  
   
 #The multi precision library stuff  
 MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a  
   
   
 # root for the installation, eg /usr/local  
 # This would cause make install to create /usr/local/bin/gcl and  
 # /usr/local/lib/gcl-2-??/* with some basic files.  
 prefix=/usr/local  
   
 # where to place the info files  
 INFO_DIR=/usr/info/  
   
 # where to put emacs lisp files.  
 EMACS_SITE_LISP=/usr/local/share/emacs/20.7/site-lisp  
   
 # the default.el file  
 EMACS_DEFAULT_EL=/usr/local/share/emacs/20.7/site-lisp/default.el  
   
 # numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh  
 # if these are found.  
 TK_CONFIG_PREFIX=/usr/lib  
 TK_LIBRARY=/usr/lib/tk8.2  
 TCL_LIBRARY=/usr/lib/tcl8.2  
 TK_XINCLUDES=-I/usr/X11R6/include  
 TK_INCLUDE=-I/usr/lib/../include  
 TCL_INCLUDE=-I/usr/lib/../include  
 TK_LIB_SPEC=-L/usr/lib -ltk8.2  
 TK_BUILD_LIB_SPEC=-L/usr/lib -ltk8.2  
 TK_XLIBSW=-L/usr/X11R6/lib -lX11  
 TK_XINCLUDES=-I/usr/X11R6/include  
 TCL_LIB_SPEC=-L/usr/lib -ltcl8.2${TCL_DBGX}  
 TCL_DL_LIBS=-ldl  
 TCL_LIBS=-ldl  -lm  
   
 NOTIFY=yes  
 GCC=gcc  
   
 RL_OBJS=readline.o  
   
 RL_LIB=lsp/readline.o  
   
 GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0  
 SHELL=/bin/sh  
 MACHINE=386-linux  
   
 # notes for redhat 6.0  
 #  the configure should select the compiler GCC=/usr/bin/i386-glibc20-linux-gcc  
 #  However for the gcl-tk directory, you must use plain 'gcc' since  
 #  that must link with the tcl tk libs which have been compiled with it.  
 #  so after configure change to GCC=gcc in the gcl-tk/makefile  
   
   
 # Machine dependent makefile definitions for intel 386,486 running linux  
   
 LBINDIR=/usr/local/bin  
   
 #OFLAG  =  -g  
 OFLAG   =  -O  
 #LIBS   = -lm  
   
 ODIR_DEBUG= -O4  
 #ODIR_DEBUG= -g  
   
 # This CC string will be used for compilation of the system,  
 # and also in the compiler::*cc* variable for later compilation of  
 # lisp files.  
 # (the -pipe is just since our file system is slow..)  
 CC = ${GCC} -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o -fsigned-char  
   
 # under redhat 6.1 and slackware 7.0 we needed to have this  
 # link be static, but should be ok with the fix to unixport/rsym_elf.c  
 LDCC=${CC} -static  
 LDCC=${CC}  
   
 # note for linuxaout on an elf machine add -b i486-linuxaout  
 # CC = gcc -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o -fsigned-char -b i486-linuxaout  
   
 # Enable the fastloading mechanism which does not use ld -A  
 # requires c/rel_.. machine dependent code.  
   
 RSYM    = rsym  
 SFASL   = $(ODIR)/sfasl.o  
   
   
 #MPFILES= $(MPDIR)/mpi-386d.o   $(MPDIR)/libmport.a  
   
   
 # When using SFASL it is good to have (si::build-symbol-table)  
 INITFORM=(si::build-symbol-table)  
   
 # Use symbolic links  
 SYMB=-s  
   
 LIBFILES=bsearch.o  
   
 # the  make to use for saved_kcp the profiler.  
 KCP=kcp-bsd  
   
 MPFILES=${GMP_DIR}libgmp.a  
   
   
 # end makedefs  
18    
19    
20  CFLAGS1=$(CFLAGS) -I../o -I../h ${TK_INCLUDE} ${TCL_INCLUDE} ${TK_XINCLUDES}  CFLAGS1=$(CFLAGS) -I../o -I../h ${TK_INCLUDE} ${TCL_INCLUDE} ${TK_XINCLUDES}

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