3
.SUFFIXES: .fn .o .c .lsp
12
OBJS = gcl_destructuring_bind.o gcl_defpackage.o gcl_make_defpackage.o gcl_loop.o $(EXTRA_LOBJS)
13
# export.o autoload.o auto_new.o
16
COMPILE_FILE=$(PORTDIR)/saved_gcl $(PORTDIR) -system-p -c-file -data-file \
17
-o-file nil -h-file -compile
18
#CFLAGS = -c -O -I../h
21
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \
22
"rm -f $*.c $*.h $*.data $*.o" \
26
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \
27
"rm -f $*.c $*.h $*.data $*.o" \
28
"$(COMPILE_FILE) $* " \
29
"$(CC) $(OFLAG) $(CFLAGS) -c $*.c " \
30
"${APPEND} ${NULLFILE} $*.data $*.o "
33
all: $(OBJS) #$(RL_OBJS)
38
$(CC) $(OFLAG) $(CFLAGS) -c $*.c
39
${APPEND} ${NULLFILE} $*.data $*.o
41
.lsp.fn: ../cmpnew/gcl_collectfn.o
42
../xbin/make-fn $*.lsp
48
fns: ../cmpnew/gcl_collectfn.o
49
$(MAKE) fns1 -e "FNS=`echo ${OBJS} | sed -e 's:\.o:\.fn:g'`"
51
#../cmpnew/collectfn.o: ../cmpnew/collectfn.lsp
52
# (cd ../cmpnew ; $(PORTDIR)/saved_gcl $(PORTDIR)/ collectfn.lisp collectfn S1000)
56
rm -f *.o core a.out *.fn *.c *.h *.data
60
dummy3 $(NEWCFILES): sys-proclaim.lisp
62
sys-proclaim.lisp: fns
63
echo '(in-package "SYSTEM")' \
64
'(load "../cmpnew/gcl_collectfn")'\
65
'(compiler::make-all-proclaims "*.fn")' | ../unixport/saved_mod_gcl
69
$(MAKE) $(OBJS) -e "NEWCFILES=`echo $(OBJS) | sed -e 's:\.o:.c:g'`"