on $(enable_shared).
From-SVN: r33918
+2000-05-15 David Edelsohn <edelsohn@gnu.org>
+
+ Makefile.in: Change "pic" to depend on $(PICFLAG), not
+ on $(enable_shared).
+
2000-05-10 Jakub Jelinek <jakub@redhat.com>
* config.table: Use mh-sparcpic for sparc*-*-*.
COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
.c.o:
- test x"$(enable_shared)" != xyes || \
- $(COMPILE.c) $(PICFLAG) $< -o pic/$@
+ if [ x"$(PICFLAG)" != x ]; then \
+ $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
+ else true; fi
$(COMPILE.c) $<
info: info-subdir
echo $(REQUIRED_OFILES) > required-list
stamp-picdir:
- if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \
+ if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir