Mercurial > hg > octave-nkf
changeset 2036:91d7630f727a
[project @ 1996-03-27 12:04:06 by jwe]
author | jwe |
---|---|
date | Wed, 27 Mar 1996 12:08:14 +0000 |
parents | 809871abd06b |
children | 65e18add08a6 |
files | libcruft/Makefile.in libcruft/Makerules.in |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/Makefile.in +++ b/libcruft/Makefile.in @@ -64,7 +64,7 @@ $(AR) $(ARFLAGS) libcruft.a $(CRUFT_OBJ) $(RANLIB) libcruft.a -stamp-shared: +stamp-shared: $(CRUFT_PICOBJ) if $(SHARED_LIBS); then \ $(CXX) -shared -o libcruft.$(SHLEXT) $(CRUFT_PICOBJ) $(FLIBS); \ else true; fi
--- a/libcruft/Makerules.in +++ b/libcruft/Makerules.in @@ -16,10 +16,16 @@ CRUFT_CSRC = $(patsubst %.f, %.c, $(CRUFT_BASE)) CRUFT_OBJ = $(patsubst %.f, %.o, $(CRUFT_BASE)) +ifeq ($(SHARED_LIBS), true) + ifdef FPICFLAG + CRUFT_PICOBJ := $(addprefix pic/, $(CRUFT_OBJ)) + endif +endif + CWD = $(shell pwd) THISDIR = $(notdir $(CWD)) -all: stamp-picdir $(CRUFT_OBJ) $(SPECIAL_DEPEND) +all: stamp-picdir $(CRUFT_OBJ) $(SPECIAL_DEPEND) $(CRUFT_PICOBJ) .PHONY: all stamp-picdir: