40 |
OBJS:=$(OBJS) $(shell ls -1 $(LSPDIR)/*.o) |
OBJS:=$(OBJS) $(shell ls -1 $(LSPDIR)/*.o) |
41 |
OBJS:=$(OBJS) $(shell ls -1 $(CMPDIR)/*.o | grep -v collectfn.o) |
OBJS:=$(OBJS) $(shell ls -1 $(CMPDIR)/*.o | grep -v collectfn.o) |
42 |
|
|
43 |
ANSIOBJS:=$(shell ls -1 $(PCLDIR)/*.o) $(shell ls -1 $(CLCSDIR)/*.o) |
PCLOBJS:=$(shell ls -1 $(PCLDIR)/*.o) |
44 |
|
ANSIOBJS:=$(PCLOBJS) $(shell ls -1 $(CLCSDIR)/*.o) |
45 |
|
|
46 |
$(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.lsp |
$(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.lsp |
47 |
cp $< $@ |
cp $< $@ |
51 |
init_gcl.lsp.tmp: init_gcl.lsp.in |
init_gcl.lsp.tmp: init_gcl.lsp.in |
52 |
cp $< $@ |
cp $< $@ |
53 |
|
|
54 |
|
init_pcl_gcl.lsp.tmp: init_pcl_gcl.lsp.in ../cmpnew/cmpmain.lsp \ |
55 |
|
../pcl/sys-package.lisp ../clcs/package.lisp \ |
56 |
|
$(shell ls -1 ../clcs/clcs_*.lisp) |
57 |
|
|
58 |
|
awk '/^ *@LI-PCL-PACKAGE@/{i=1;next} {if (i==0) print}' $< >$@ |
59 |
|
cat ../cmpnew/cmpmain.lsp >>$@ |
60 |
|
cat ../pcl/sys-package.lisp >>$@ |
61 |
|
awk '/^ *@LI-PCL-PACKAGE@/{i=1;next} {if (i==1) print}' $< >>$@ |
62 |
|
|
63 |
init_ansi_gcl.lsp.tmp: init_ansi_gcl.lsp.in ../cmpnew/cmpmain.lsp \ |
init_ansi_gcl.lsp.tmp: init_ansi_gcl.lsp.in ../cmpnew/cmpmain.lsp \ |
64 |
../pcl/sys-package.lisp ../clcs/package.lisp |
../pcl/sys-package.lisp ../clcs/package.lisp |
65 |
|
|
111 |
rm -rf $@ |
rm -rf $@ |
112 |
ar rs $@ $(filter %.o,$^) $(shell find gmp bfd -name "*.o") |
ar rs $@ $(filter %.o,$^) $(shell find gmp bfd -name "*.o") |
113 |
|
|
114 |
|
libpcl_gcl.a: $(FIRST_FILE) $(OBJS) $(PCLOBJS) sys_pcl_gcl.o $(LAST_FILE) gmpfiles bfdfiles |
115 |
|
rm -rf $@ |
116 |
|
ar rs $@ $(filter %.o,$^) $(shell find gmp bfd -name "*.o") |
117 |
|
|
118 |
raw_%: lib%.a libgclp.a $(SYSTEM_OBJS) $(EXTRAS) |
raw_%: lib%.a libgclp.a $(SYSTEM_OBJS) $(EXTRAS) |
119 |
$(CC) -o raw_$*$(EXE) $(filter %.o,$^) \ |
$(CC) -o raw_$*$(EXE) $(filter %.o,$^) \ |
120 |
-L. $(EXTRA_LD_LIBS) $(LD_LIBS_PRE) -l$* $(LD_LIBS_POST) |
-L. $(EXTRA_LD_LIBS) $(LD_LIBS_PRE) -l$* $(LD_LIBS_POST) |