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

Diff of /gcl/unixport/makefile

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

revision 1.32 by mjthomas, Sat Oct 5 10:52:25 2002 UTC revision 1.33 by mjthomas, Sat Oct 5 22:56:20 2002 UTC
# Line 1  Line 1 
1  SPECIAL_RSYM = rsym.c  SPECIAL_RSYM = rsym.c
2    
3  LIBC    = -lc  LIBC    = -lc
4    LIBGCLP = libgclp.a
5  -include ../makedefs  -include ../makedefs
6    
7  HDIR    = ../h  HDIR    = ../h
# Line 101  $(RSYM): $(SPECIAL_RSYM) $(HDIR)/mdefs.h Line 102  $(RSYM): $(SPECIAL_RSYM) $(HDIR)/mdefs.h
102  $(HDIR)/mdefs.h: $(HDIR)/include.h  $(HDIR)/mdefs.h: $(HDIR)/include.h
103          cat $(HDIR)/include.h | sed -e "/include/d" > $(HDIR)/mdefs.h          cat $(HDIR)/include.h | sed -e "/include/d" > $(HDIR)/mdefs.h
104    
105  libgcl.a: $(OBJS) $(LSPOBJS) $(CMPOBJS) sys_gcl.o gmpfiles bfdfiles  libgcl.a: $(FIRST_FILE) $(OBJS) $(LSPOBJS) $(CMPOBJS) sys_gcl.o $(LAST_FILE) gmpfiles bfdfiles
106          rm -rf $@          rm -rf $@
107          ar rs $@ $(filter %.o,$^) $(shell find gmp bfd -name "*.o")          ar rs $@ $(filter %.o,$^) $(shell find gmp bfd -name "*.o")
108    
109  raw_$(SYSTEM): libgcl.a libgclp.a $(SYSTEM_OBJS)  raw_$(SYSTEM): libgcl.a $(LIBGCLP) $(SYSTEM_OBJS)
110          $(CC) -o raw_$(SYSTEM)$(EXE) $(FIRST_FILE) $(filter %.o,$^) $(LAST_FILE) -L. $(LD_LIBS)          $(CC) -o raw_$(SYSTEM)$(EXE) $(filter %.o,$^) -L. $(LD_LIBS)
111    
112  sys_gcl.o: sys_gcl.c $(HDIR)/object.h $(HDIR)/config.h  sys_gcl.o: sys_gcl.c $(HDIR)/object.h $(HDIR)/config.h
113          $(CC) $(CFLAGS) -c -I$(HDIR) sys_gcl.c          $(CC) $(CFLAGS) -c -I$(HDIR) sys_gcl.c

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

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