5 |
|
|
6 |
# note using /bin/sh (ie a copy of ash.exe) will fail if a very LONG command |
# note using /bin/sh (ie a copy of ash.exe) will fail if a very LONG command |
7 |
# line is given, eg when linking maxima. bash has more stack. |
# line is given, eg when linking maxima. bash has more stack. |
|
SHELL=bash |
|
8 |
|
|
9 |
LBINDIR=/usr/local/bin |
SHELL = bash |
10 |
|
|
11 |
OFLAG = -O |
OFLAG = -O |
12 |
LIBS = -lm |
LIBS = -lm |
13 |
LIBC = |
LIBC = |
|
|
|
|
ODIR_DEBUG= -O4 |
|
|
ODIR_DEBUG= |
|
|
|
|
|
# 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 = gnuwin32gcc -pipe -fwritable-strings -DVOL=volatile -I/usr/gnuwin32/i586-pc-cygwin32/include -I/usr/gnuwin32/include -I$(GCLDIR)/o -fsigned-char |
|
|
AS= gnuwin32as |
|
|
AR= gnuwin32ar q |
|
|
RANLIB= gnuwin32ranlib |
|
|
CROSS_PREFIX=/home/wfs2/local/cross-tools/bin/i386-mingw32msvc- |
|
|
CROSS_PREFIX= |
|
|
|
|
|
CC = ${CROSS_PREFIX}gcc -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char |
|
|
AS= ${CROSS_PREFIX}as |
|
|
AR= ${CROSS_PREFIX}ar q |
|
|
RANLIB= ${CROSS_PREFIX}ranlib |
|
14 |
|
|
15 |
|
ODIR_DEBUG = -g |
16 |
|
|
17 |
LDCC=${CC} |
CROSS_PREFIX = |
18 |
|
|
19 |
# Enable the fastloading mechanism which does not use ld -A |
CC = ${CROSS_PREFIX}gcc -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char |
20 |
# requires c/rel_.. machine dependent code. |
AS = ${CROSS_PREFIX}as |
21 |
|
AR = ${CROSS_PREFIX}ar q |
22 |
RSYM = rsym.exe |
RANLIB = ${CROSS_PREFIX}ranlib |
|
SPECIAL_RSYM = rsym_nt.c |
|
|
SFASL = $(ODIR)/sfasl.o |
|
23 |
|
|
24 |
|
|
25 |
|
LDCC = ${CC} |
26 |
|
|
27 |
MPFILES= $(MPDIR)/mpi-386-winnt.o $(MPDIR)/libmport.a |
# Enable the fastloading mechanism which does not use ld -A |
28 |
MPFILES= $(MPDIR)/mpi.o $(MPDIR)/libmport.a |
# requires c/rel_.. machine dependent code. |
|
FIRST_FILE=$(ODIR)/firstfile.o |
|
|
LAST_FILE=$(ODIR)/lastfile.o |
|
29 |
|
|
30 |
|
RSYM = rsym.exe |
31 |
|
SPECIAL_RSYM = rsym_nt.c |
32 |
|
SFASL = $(ODIR)/sfasl.o |
33 |
|
|
34 |
|
FIRST_FILE = $(ODIR)/firstfile.o |
35 |
|
LAST_FILE = $(ODIR)/lastfile.o |
36 |
|
|
37 |
# When using SFASL it is good to have (si::build-symbol-table) |
# When using SFASL it is good to have (si::build-symbol-table) |
38 |
INITFORM=(si::build-symbol-table) |
INITFORM = (si::build-symbol-table) |
39 |
|
|
40 |
# Use symbolic links |
# Use symbolic links |
41 |
SYMB=-s |
SYMB = -s |
42 |
APPEND=../bin/append |
APPEND = ../bin/append |
43 |
|
|
44 |
# suffix for executables |
# suffix for executables |
45 |
EXE=.exe |
EXE = .exe |
46 |
LIBFILES=bsearch.o bcmp.o bzero.o bcopy.o |
LIBFILES = bsearch.o bcmp.o bzero.o bcopy.o |
47 |
EXTRAS=${OD}mingwin.o ${OD}mingfile.o |
EXTRAS = ${OD}mingwin.o ${OD}mingfile.o |
48 |
|
|
49 |
# the make to use for saved_kcp the profiler. |
# the make to use for saved_kcp the profiler. |
50 |
KCP=kcp-bsd |
KCP = kcp-bsd |
51 |
|
|
52 |
# using gcc so dont need |
# using gcc so dont need |
53 |
GNULIB1= |
GNULIB1 = |
54 |
|
|
|
WINKILL=winkill.exe |
|
55 |
|
WINKILL = winkill.exe tclwinkill.dll |