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