Debian Codegraph @

lsp/makefile

raw
1
2 .SUFFIXES:
3 .SUFFIXES: .fn .o .c .lsp
4
5 -include ../makedefs
6
7
8 PORTDIR = ../unixport
9 CAT=cat
10 APPEND=../xbin/append
11
12 OBJS = gcl_sharp.o gcl_arraylib.o gcl_assert.o gcl_defmacro.o gcl_defstruct.o \
13 gcl_describe.o gcl_evalmacros.o gcl_fpe.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_parse_namestring.o gcl_make_pathname.o gcl_namestring.o gcl_translate_pathname.o\
17 gcl_logical_pathname_translations.o gcl_directory.o gcl_merge_pathnames.o gcl_truename.o gcl_sharp_uv.o\
18 gcl_seq.o gcl_seqlib.o gcl_setf.o gcl_top.o gcl_trace.o gcl_sloop.o \
19 gcl_debug.o gcl_info.o gcl_serror.o gcl_restart.o \
20 gcl_rename_file.o gcl_pathname_match_p.o gcl_wild_pathname_p.o \
21 gcl_destructuring_bind.o gcl_defpackage.o gcl_make_defpackage.o gcl_loop.o $(EXTRA_LOBJS)
22 # export.o autoload.o auto_new.o
23
24 LISP=$(PORTDIR)/saved_pre_gcl$(EXE)
25 COMPILE_FILE=$(LISP) $(PORTDIR) -system-p -c-file -data-file -h-file -compile
26
27 %.o: $(PORTDIR)/saved_pre_gcl$(EXE) %.lsp
28 $(COMPILE_FILE) $*
29
30 all: $(OBJS) #$(RL_OBJS)
31
32 .lsp.fn: ../cmpnew/gcl_collectfn.o
33 ../xbin/make-fn $*.lsp $(LISP)
34
35 all: $(OBJS)
36
37 fns1: $(FNS)
38
39 fns: ../cmpnew/gcl_collectfn.o
40 $(MAKE) fns1 -e "FNS=`echo ${OBJS} | sed -e 's:\.o:\.fn:g'`"
41
42 #../cmpnew/gcl_collectfn.o: ../cmpnew/gcl_collectfn.lsp
43 # (cd ../cmpnew ; $(PORTDIR)/saved_gcl $(PORTDIR)/ gcl_collectfn.lisp gcl_collectfn S1000)
44
45
46 clean:
47 rm -f *.o core a.out *.fn *.c *.data *.h
48 allclean:
49 rm -f *.h *.data *.c
50
51 dummy3 $(NEWCFILES): sys-proclaim.lisp
52
53 sys-proclaim.lisp: fns
54 echo '(in-package "SYSTEM")' \
55 '(load "../cmpnew/gcl_collectfn")'\
56 '(compiler::make-all-proclaims "*.fn")' | ../xbin/gcl
57
58
59 newc:
60 $(MAKE) $(OBJS) -e "NEWCFILES=`echo $(OBJS) | sed -e 's:\.o:.c:g'`"
61
62