3
.SUFFIXES: .fn .o .c .lsp
12
OBJS = gcl_arraylib.o gcl_assert.o gcl_defmacro.o gcl_defstruct.o \
13
gcl_describe.o gcl_evalmacros.o \
14
gcl_iolib.o gcl_listlib.o gcl_mislib.o gcl_module.o gcl_numlib.o \
15
gcl_packlib.o gcl_predlib.o \
16
gcl_seq.o gcl_seqlib.o gcl_setf.o gcl_top.o gcl_trace.o gcl_sloop.o \
17
gcl_debug.o gcl_info.o gcl_serror.o
18
# export.o autoload.o auto_new.o
21
COMPILE_FILE=$(PORTDIR)/saved_pre_gcl $(PORTDIR) -system-p -c-file -data-file \
22
-o-file nil -h-file -compile
23
#CFLAGS = -c -O -I../h
26
@ ../xbin/if-exists $(PORTDIR)/saved_pre_gcl \
27
"rm -f $*.c $*.h $*.data $*.o" \
31
@ ../xbin/if-exists $(PORTDIR)/saved_pre_gcl \
32
"rm -f $*.c $*.h $*.data $*.o" \
33
"$(COMPILE_FILE) $* " \
34
"$(CC) $(OFLAG) $(CFLAGS) -c $*.c " \
35
"${APPEND} ${NULLFILE} $*.data $*.o "
43
$(CC) $(OFLAG) $(CFLAGS) -c $*.c
44
${APPEND} ${NULLFILE} $*.data $*.o
46
.lsp.fn: ../cmpnew/gcl_collectfn.o
47
../xbin/make-fn $*.lsp
53
fns: ../cmpnew/gcl_collectfn.o
54
$(MAKE) fns1 -e "FNS=`echo ${OBJS} | sed -e 's:\.o:\.fn:g'`"
56
#../cmpnew/collectfn.o: ../cmpnew/collectfn.lsp
57
# (cd ../cmpnew ; $(PORTDIR)/saved_gcl $(PORTDIR)/ collectfn.lisp collectfn S1000)
61
rm -f *.o core a.out *.fn *.c *.h *.data
65
dummy3 $(NEWCFILES): sys-proclaim.lisp
67
sys-proclaim.lisp: fns
68
echo '(in-package "SYSTEM")' \
69
'(load "../cmpnew/gcl_collectfn")'\
70
'(compiler::make-all-proclaims "*.fn")' | ../unixport/saved_gcl
74
$(MAKE) $(OBJS) -e "NEWCFILES=`echo $(OBJS) | sed -e 's:\.o:.c:g'`"