Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.

* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
        (.c.o): Check value of enable_shared, not PICFLAG.
        (stamp-picdir): Dito.

From-SVN: r17681
This commit is contained in:
Manfred Hollstein 1998-02-06 00:33:49 +00:00 committed by Jeff Law
parent 4e77e8f159
commit f5c3ae66ff
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(stamp-picdir): Dito.
Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
* config.table (vxworks configs): Default to VxWorks 5.x, as that is

View File

@ -111,7 +111,6 @@ FLAGS_TO_PASS = \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"LDFLAGS=$(LDFLAGS)" \
"LOADLIBES=$(LOADLIBES)" \
"PICFLAG=$(PICFLAG)" \
"RANLIB=$(RANLIB)" \
"SHELL=$(SHELL)"
@ -132,7 +131,7 @@ INCDIR=$(srcdir)/$(MULTISRCTOP)../include
COMPILE.c = $(CC) -c $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES)
.c.o:
test -z "$(PICFLAG)" || \
test x"$(enable_shared)" != xyes || \
$(COMPILE.c) $(PICFLAG) $< -o pic/$@
$(COMPILE.c) $<
@ -268,7 +267,7 @@ $(RULE2): $(REQUIRED_OFILES) $(HOST_OFILES)
$(RANLIB) $(TARGETLIB)
stamp-picdir:
if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir