# HG changeset patch # User jwe # Date 847492765 0 # Node ID eb3e02c0f5e264ff8818113d56597d6f4d3ed7db # Parent 269ecd74cebea8ce4e37ba35fe194b934b7b8e65 [project @ 1996-11-08 22:39:25 by jwe] diff -r 269ecd74cebe -r eb3e02c0f5e2 libcruft/Makefile.in --- a/libcruft/Makefile.in Fri Nov 08 22:39:07 1996 +0000 +++ b/libcruft/Makefile.in Fri Nov 08 22:39:25 1996 +0000 @@ -32,7 +32,7 @@ DISTFILES = Makefile.in ChangeLog Makerules.in $(SOURCES) STOP.patch -all: $(SUBDIRS) libcruft.a stamp-shared +all: $(SUBDIRS) stamp-shared .PHONY: all $(SUBDIRS): @@ -40,10 +40,13 @@ cd $@; $(MAKE) all .PHONY: $(SUBDIRS) +# XXX FIXME XXX -- this should build the shared library directly from +# a normal archive file (created from PIC code, though). + MISC_OBJ := misc/machar.o misc/dostop.o misc/f77-extern.o misc/lo-error.o CRUFT_FSRC := $(foreach dir, $(SUBDIRS), $(wildcard $(srcdir)/$(dir)/*.f)) -CRUFT_OBJ2 := $(patsubst $(srcdir)/%, %, $(CRUFT_FSRC)) +gCRUFT_OBJ2 := $(patsubst $(srcdir)/%, %, $(CRUFT_FSRC)) CRUFT_OBJ1 := $(patsubst %.f, %.o, $(CRUFT_OBJ2)) CRUFT_OBJ := $(CRUFT_OBJ1) $(MISC_OBJ) @@ -58,11 +61,6 @@ endif endif -libcruft.a: $(CRUFT_OBJ) - rm -f libcruft.a - $(AR) $(ARFLAGS) libcruft.a $(CRUFT_OBJ) - $(RANLIB) libcruft.a - stamp-shared: $(CRUFT_PICOBJ) if $(SHARED_LIBS); then \ $(CC) -shared -o libcruft.$(SHLEXT) $(CRUFT_PICOBJ) \