# a facility for displaying DOC files and completing on them
# requires gnu emacs, to be in the search path

# A directory on peoples search path.


ELISP=gcl.el dbl.el ansi-doc.el lisp-complete.el sshell.el

# begin makedefs
GCLDIR=/usr/lib/gcl-2.1
SHELL=/bin/sh
MACHINE=386-linux
TK_LIBRARY=/usr/lib/tk
X11_INCLUDE_DIR=-I/usr/include
TK_INCLUDE_DIR=-I/usr/include/tcl
TK_LIBS=-L/usr/lib -ltk
TCL_LIBS=-L/usr/lib -ltcl
X11_LIBS=-L/usr/X11/lib -lX11
EMACS_SITE_LISP=/usr/lib/emacs/site-lisp
INFO_DIR=/usr/info

# Machine dependent makefile definitions for intel 386,486 running linux
# If using gnu libc, use version >= 4.21

LBINDIR=/usr/bin

OFLAG	= -O2 
LIBS	= -lm 
ODIR_DEBUG= 

# When the Linux kernel properly supports shared read and writeable
# mappings, this can be removed:
UNEXEC	= -DUNEXEC_USE_MAP_PRIVATE

# 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 $(UNEXEC)
CCLSP = gcc -pipe -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char
LDCC=${CC} 

# Enable the fastloading mechanism which does not use ld -A
# requires c/rel_.. machine dependent code.

RSYM	= rsym
SFASL	= $(ODIR)/sfasl.o

#  Use the mp.s file on 68k machine 

# new gcc doesn't make a good .s file using optimisations.
# so either use $(MPDIR)/mpi.o   $(MPDIR)/libmport.a
#MPFILES= $(MPDIR)/mpi-386.o   $(MPDIR)/libmport.a

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
# end makedefs
