diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-06 00:34:54 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-06 00:34:54 +0000 |
commit | 6313784ecce6e40a5a7e1466fef954c679963bb6 (patch) | |
tree | 7b5aeceac4ffddb33a998eb4fe09844b9d84c461 /libstdc++/Makefile.in | |
parent | c414a93fd4893edd93f7e93bd36716c48d177f28 (diff) | |
download | gcc-6313784ecce6e40a5a7e1466fef954c679963bb6.tar.gz |
* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
(stmp-string, ...): Dito.
(bigstmp-string, ...): Dito.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17683 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++/Makefile.in')
-rw-r--r-- | libstdc++/Makefile.in | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libstdc++/Makefile.in b/libstdc++/Makefile.in index 0ae27056016..c96ec1bd617 100644 --- a/libstdc++/Makefile.in +++ b/libstdc++/Makefile.in @@ -75,7 +75,7 @@ stdlist: $(IO_DIR)/iostream.list $(OBJS) $(SUBLIBS) $(LIBIBERTY_DIR)/libiberty.a piclist: stdlist -rm -f tlist cp stdlist tlist - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ sed 's,\([A-Za-z_]*\.o\),pic/\1,g' tlist > tlist2 ; \ mv tlist2 tlist ; \ else true ; fi @@ -125,7 +125,7 @@ stmp-string: ${srcdir}/sinst.cc ${srcdir}/std/bastring.h \ ${srcdir}/std/bastring.cc ${srcdir}/std/straits.h for name in $(STRFUNCS) $(STRIO); do \ echo c$${name}; \ - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DC -D$${name} ${srcdir}/sinst.cc \ -o pic/c$${name}.o; \ else true ; fi; \ @@ -138,7 +138,7 @@ stmp-string: ${srcdir}/sinst.cc ${srcdir}/std/bastring.h \ bigstmp-string: ${srcdir}/sinst.cc ${srcdir}/std/bastring.h \ ${srcdir}/std/bastring.cc ${srcdir}/std/straits.h echo cstring - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DC \ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/sinst.cc -o pic/cstrmain.o; \ @@ -146,7 +146,7 @@ bigstmp-string: ${srcdir}/sinst.cc ${srcdir}/std/bastring.h \ $(COMPILE.cc) -DC `for N in $(STRFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/sinst.cc -o cstrmain.o echo cstrio - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DC \ `for N in $(STRIO); do echo " -D$${N}"; done` \ $(srcdir)/sinst.cc -o pic/cstrio.o; \ @@ -165,7 +165,7 @@ stmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ ${srcdir}/std/ldcomplex.h for N in $(COMFUNCS) $(COMIO); do \ echo f$${N}; \ - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DF -D$${N} $(srcdir)/cinst.cc \ -o pic/f$${N}.o; \ else true ; fi; \ @@ -173,7 +173,7 @@ stmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DF -D$${N} ${srcdir}/cinst.cc -o f$${N}.o; \ if [ $$? -eq 0 ]; then true; else exit 1; fi; \ echo d$${N}; \ - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DD -D$${N} $(srcdir)/cinst.cc \ -o pic/d$${N}.o; \ else true ; fi; \ @@ -181,7 +181,7 @@ stmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DD -D$${N} ${srcdir}/cinst.cc -o d$${N}.o; \ if [ $$? -eq 0 ]; then true; else exit 1; fi; \ echo ld$${N}; \ - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DLD -D$${N} $(srcdir)/cinst.cc \ -o pic/ld$${N}.o; \ else true ; fi; \ @@ -195,7 +195,7 @@ bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ ${srcdir}/std/complext.cc ${srcdir}/std/dcomplex.h \ ${srcdir}/std/ldcomplex.h echo fcomplex - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DF \ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o pic/fcomplex.o; \ @@ -203,7 +203,7 @@ bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DF `for N in $(COMFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o fcomplex.o echo fcomio - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DF \ `for N in $(COMIO); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o pic/fcomio.o; \ @@ -211,7 +211,7 @@ bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DF `for N in $(COMIO); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o fcomio.o echo dcomplex - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DD \ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o pic/dcomplex.o; \ @@ -219,7 +219,7 @@ bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DD `for N in $(COMFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o dcomplex.o echo dcomio - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DD \ `for N in $(COMIO); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o pic/dcomio.o; \ @@ -227,7 +227,7 @@ bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DD `for N in $(COMIO); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o dcomio.o echo ldcomplex - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DLD \ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o pic/ldcomplex.o; \ @@ -235,7 +235,7 @@ bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \ $(COMPILE.cc) -DLD `for N in $(COMFUNCS); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o ldcomplex.o echo ldcomio - if [ -n "$(PICFLAG)" ]; then \ + if [ x"$(enable_shared)" = xyes ]; then \ $(COMPILE.cc) $(PICFLAG) -DLD \ `for N in $(COMIO); do echo " -D$${N}"; done` \ $(srcdir)/cinst.cc -o pic/ldcomio.o; \ |