/[gcl]/gcl/unixport/makefile
ViewVC logotype

Diff of /gcl/unixport/makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by camm, Wed Feb 26 22:21:43 2003 UTC revision 1.42 by camm, Thu Feb 27 18:32:10 2003 UTC
# Line 40  OBJS:=$(shell j=$$(ar t $(ODIR)/gcllib.a Line 40  OBJS:=$(shell j=$$(ar t $(ODIR)/gcllib.a
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 $< $@
# Line 50  $(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.l Line 51  $(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.l
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    
# Line 101  libansi_gcl.a: $(FIRST_FILE) $(OBJS) $(A Line 111  libansi_gcl.a: $(FIRST_FILE) $(OBJS) $(A
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)

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26