13 |
gcl_cmploc.o gcl_cmpmap.o gcl_cmpmulti.o gcl_cmpspecial.o gcl_cmptag.o gcl_cmptop.o \ |
gcl_cmploc.o gcl_cmpmap.o gcl_cmpmulti.o gcl_cmpspecial.o gcl_cmptag.o gcl_cmptop.o \ |
14 |
gcl_cmptype.o gcl_cmputil.o gcl_cmpvar.o gcl_cmpvs.o gcl_cmpwt.o # gcl_cmpmain.o gcl_cmpopt.o gcl_lfun_list.o |
gcl_cmptype.o gcl_cmputil.o gcl_cmpvar.o gcl_cmpvs.o gcl_cmpwt.o # gcl_cmpmain.o gcl_cmpopt.o gcl_lfun_list.o |
15 |
|
|
16 |
|
FNS:= $(OBJS:.o=.fn) |
17 |
|
|
18 |
COMPILE_FILE=$(PORTDIR)/saved_gcl $(PORTDIR) -system-p -c-file -data-file \ |
COMPILE_FILE=$(PORTDIR)/saved_gcl $(PORTDIR) -system-p -c-file -data-file \ |
19 |
-o-file nil -h-file -compile |
-o-file nil -h-file -compile |
20 |
#CFLAGS = -c -O -I../h |
#CFLAGS = -c -O -I../h |
33 |
|
|
34 |
all: $(OBJS) |
all: $(OBJS) |
35 |
|
|
36 |
.lsp.fn: ../cmpnew/collectfn.o |
.lsp.fn: ../cmpnew/gcl_collectfn.o |
37 |
../xbin/make-fn $*.lsp |
../xbin/make-fn $*.lsp |
38 |
|
|
39 |
|
|
41 |
$(CC) $(OFLAG) $(CFLAGS) -c $*.c |
$(CC) $(OFLAG) $(CFLAGS) -c $*.c |
42 |
${APPEND} ${NULLFILE} $*.data $*.o |
${APPEND} ${NULLFILE} $*.data $*.o |
43 |
|
|
44 |
collectfn.o: |
gcl_collectfn.o: |
45 |
$(PORTDIR)/saved_gcl $(PORTDIR)/ -compile $*.lsp |
$(PORTDIR)/saved_gcl $(PORTDIR)/ -compile $*.lsp |
46 |
|
|
47 |
.lisp.o: |
.lisp.o: |
48 |
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \ |
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \ |
49 |
"$(PORTDIR)/saved_gcl $(PORTDIR)/ -compile $*.lisp " |
"$(PORTDIR)/saved_gcl $(PORTDIR)/ -compile $*.lisp " |
50 |
sys-proclaim.lisp: |
sys-proclaim.lisp: $(FNS) |
51 |
echo '(in-package "COMPILER")' \ |
echo '(in-package "COMPILER")' \ |
52 |
'(load "../cmpnew/collectfn")(load "../lsp/sys-proclaim.lisp")'\ |
'(load "../cmpnew/gcl_collectfn")(load "../lsp/sys-proclaim.lisp")'\ |
53 |
'(compiler::make-all-proclaims "*.fn")' | ../xbin/gcl |
'(compiler::make-all-proclaims "*.fn")' | ../xbin/gcl |
54 |
|
|
55 |
|
|