diff libcruft/Makerules.in @ 2036:91d7630f727a

[project @ 1996-03-27 12:04:06 by jwe]
author jwe
date Wed, 27 Mar 1996 12:08:14 +0000
parents e436e535e295
children 65e18add08a6
line wrap: on
line diff
--- a/libcruft/Makerules.in	Wed Mar 27 04:10:29 1996 +0000
+++ b/libcruft/Makerules.in	Wed Mar 27 12:08:14 1996 +0000
@@ -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: