15 |
|
|
16 |
FNS:= $(OBJS:.o=.fn) |
FNS:= $(OBJS:.o=.fn) |
17 |
|
|
18 |
COMPILE_FILE=$(PORTDIR)/saved_gcl $(PORTDIR) -system-p -c-file -data-file \ |
COMPILE_FILE=$(PORTDIR)/saved_pre_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 |
21 |
|
|
22 |
.lsp.c: |
.lsp.c: |
23 |
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \ |
@ ../xbin/if-exists $(PORTDIR)/saved_pre_gcl \ |
24 |
"rm -f $*.c $*.h $*.data $*.o" \ |
"rm -f $*.c $*.h $*.data $*.o" \ |
25 |
"$(COMPILE_FILE) $* " |
"$(COMPILE_FILE) $* " |
26 |
|
|
27 |
.lsp.o: |
.lsp.o: |
28 |
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \ |
@ ../xbin/if-exists $(PORTDIR)/saved_pre_gcl \ |
29 |
"rm -f $*.c $*.h $*.data $*.o" \ |
"rm -f $*.c $*.h $*.data $*.o" \ |
30 |
"$(COMPILE_FILE) $* " \ |
"$(COMPILE_FILE) $* " \ |
31 |
"$(CC) $(OFLAG) $(CFLAGS) -c $*.c" \ |
"$(CC) $(OFLAG) $(CFLAGS) -c $*.c" \ |
42 |
${APPEND} ${NULLFILE} $*.data $*.o |
${APPEND} ${NULLFILE} $*.data $*.o |
43 |
|
|
44 |
gcl_collectfn.o: |
gcl_collectfn.o: |
45 |
$(PORTDIR)/saved_gcl $(PORTDIR)/ -compile $*.lsp |
$(PORTDIR)/saved_pre_gcl $(PORTDIR)/ -compile $*.lsp |
46 |
|
|
47 |
.lisp.o: |
.lisp.o: |
48 |
@ ../xbin/if-exists $(PORTDIR)/saved_gcl \ |
@ ../xbin/if-exists $(PORTDIR)/saved_pre_gcl \ |
49 |
"$(PORTDIR)/saved_gcl $(PORTDIR)/ -compile $*.lisp " |
"$(PORTDIR)/saved_pre_gcl $(PORTDIR)/ -compile $*.lisp " |
50 |
sys-proclaim.lisp: $(FNS) |
sys-proclaim.lisp: $(FNS) |
51 |
echo '(in-package "COMPILER")' \ |
echo '(in-package "COMPILER")' \ |
52 |
'(load "../cmpnew/gcl_collectfn")(load "../lsp/sys-proclaim.lisp")'\ |
'(load "../cmpnew/gcl_collectfn")(load "../lsp/sys-proclaim.lisp")'\ |
70 |
(cd .. ; $(MAKE)) |
(cd .. ; $(MAKE)) |
71 |
|
|
72 |
clean: |
clean: |
73 |
rm -f *.o core a.out *.fn |
rm -f *.o core a.out *.fn *.c *.data *.h |
74 |
allclean: |
allclean: |
75 |
rm -f *.h *.data *.c |
rm -f *.h *.data *.c |