ICU-2161 added --ldflags-obsolete to icu-config

X-SVN-Rev: 11259
This commit is contained in:
Steven R. Loomis 2003-03-07 17:39:09 +00:00
parent 8b24f520fc
commit e5dcdef9da
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#******************************************************************************
# Copyright (C) 1999-2002, International Business Machines
# Corporation and others. All Rights Reserved.
# $Revision: 1.30 $
# $Revision: 1.31 $
#******************************************************************************
# This Makefile.inc is designed to be included into projects which make use
# of the ICU.
@ -90,6 +90,7 @@ ICULIBS_I18N = -l$(ICUPREFIX)i18n$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
ICULIBS_TOOLUTIL = -l$(ICUPREFIX)toolutil$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
ICULIBS_CTESTFW = -l$(ICUPREFIX)ctestfw$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
ICULIBS_USTDIO = -lustdio$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
ICULIBS_OBSOLETE = -l$(ICUPREFIX)obsolete$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
ICULIBS_LAYOUT = -l$(ICUPREFIX)le$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
ICULIBS_BASE = $(LIBS) -L$(libdir)

View File

@ -1,5 +1,5 @@
## -*-sh-*-
## BEGIN of icu-config-bottom. $Revision: 1.6 $
## BEGIN of icu-config-bottom. $Revision: 1.7 $
## Copyright (c) 2002, International Business Machines Corporation and
## others. All Rights Reserved.
@ -47,6 +47,7 @@ allflags()
echo " --ldflags-searchpath Print only -L (search path) directive"
echo " --ldflags-system Print only system libs ICU links with (-lpthread, -lm)"
echo " --ldflags-ustdio Print ICU ustdio link directive. Use in addition to --ldflags "
echo " --ldflags-obsolete Print ICU obsolete link directive. Use in addition to --ldflags. (requires icuapps/obsolete to be built and installed.) "
echo " --mandir Print manpage (man) path"
echo " --prefix Print PREFIX to icu install (/usr/local)"
echo " --prefix=XXX Set prefix to XXX for remainder of command"
@ -221,6 +222,10 @@ do
echo $ICULIBS_USTDIO
;;
--ldflags-obsolete)
echo $ICULIBS_OBSOLETE
;;
--ldflags-toolutil)
echo $ICULIBS_TOOLUTIL
;;