This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Resolve (another set of) non-portable use of $<


As tested (with both GNU make and BSD make) on i386-*-freebsd[45] and
applied.  Funny how these things come in batches (the b-i-b merge
brought in similar idiomatic usage of $<)...

	* src/Makefile.am: Resolve non-portable use of $<.
	* src/Makefile.in: Rebuilt.

Index: src/Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/src/Makefile.am,v
retrieving revision 1.115
diff -c -r1.115 Makefile.am
*** src/Makefile.am	26 Dec 2002 06:10:35 -0000	1.115
--- src/Makefile.am	30 Dec 2002 23:46:25 -0000
***************
*** 39,45 ****
  if GLIBCPP_BUILD_VERSIONED_SHLIB
  version_arg = -Wl,--version-script=libstdc++-symbol.ver
  libstdc++-symbol.ver:  ${glibcpp_srcdir}/@SYMVER_MAP@
! 	@LN_S@  $< ./libstdc++-symbol.ver || true
  else
  version_arg =
  libstdc++-symbol.ver:
--- 39,45 ----
  if GLIBCPP_BUILD_VERSIONED_SHLIB
  version_arg = -Wl,--version-script=libstdc++-symbol.ver
  libstdc++-symbol.ver:  ${glibcpp_srcdir}/@SYMVER_MAP@
! 	@LN_S@  ${glibcpp_srcdir}/@SYMVER_MAP@ ./libstdc++-symbol.ver || true
  else
  version_arg =
  libstdc++-symbol.ver:
***************
*** 83,107 ****
  	time_members.cc
  
  codecvt_members.cc: ${glibcpp_srcdir}/@CCODECVT_CC@
! 	@LN_S@ $< . || true
  
  collate_members.cc: ${glibcpp_srcdir}/@CCOLLATE_CC@
! 	@LN_S@ $< . || true
  
  ctype_members.cc: ${glibcpp_srcdir}/@CCTYPE_CC@
! 	@LN_S@ $< . || true
  
  messages_members.cc: ${glibcpp_srcdir}/@CMESSAGES_CC@
! 	@LN_S@ $< . || true
  
  monetary_members.cc: ${glibcpp_srcdir}/@CMONEY_CC@
! 	@LN_S@ $< . || true
  
  numeric_members.cc: ${glibcpp_srcdir}/@CNUMERIC_CC@
! 	@LN_S@ $< . || true
  
  time_members.cc: ${glibcpp_srcdir}/@CTIME_CC@
! 	@LN_S@ $< . || true
  
  # Source files linked in via configuration/make substitution for a
  # particular target, but with ad hoc naming rules.
--- 83,107 ----
  	time_members.cc
  
  codecvt_members.cc: ${glibcpp_srcdir}/@CCODECVT_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CCODECVT_CC@ . || true
  
  collate_members.cc: ${glibcpp_srcdir}/@CCOLLATE_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CCOLLATE_CC@ . || true
  
  ctype_members.cc: ${glibcpp_srcdir}/@CCTYPE_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CCTYPE_CC@ . || true
  
  messages_members.cc: ${glibcpp_srcdir}/@CMESSAGES_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CMESSAGES_CC@ . || true
  
  monetary_members.cc: ${glibcpp_srcdir}/@CMONEY_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CMONEY_CC@ . || true
  
  numeric_members.cc: ${glibcpp_srcdir}/@CNUMERIC_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CNUMERIC_CC@ . || true
  
  time_members.cc: ${glibcpp_srcdir}/@CTIME_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CTIME_CC@ . || true
  
  # Source files linked in via configuration/make substitution for a
  # particular target, but with ad hoc naming rules.
***************
*** 110,119 ****
  	c++locale.cc 
  
  c++locale.cc: ${glibcpp_srcdir}/@CLOCALE_CC@
! 	@LN_S@ $< ./$@ || true
  
  basic_file.cc: ${glibcpp_srcdir}/@BASIC_FILE_CC@
! 	@LN_S@ $< ./$@ || true
  
  # Sources present in the src directory.
  sources = \
--- 110,119 ----
  	c++locale.cc 
  
  c++locale.cc: ${glibcpp_srcdir}/@CLOCALE_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@CLOCALE_CC@ ./$@ || true
  
  basic_file.cc: ${glibcpp_srcdir}/@BASIC_FILE_CC@
! 	@LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_CC@ ./$@ || true
  
  # Sources present in the src directory.
  sources = \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]