ICU-200 os400 build update (use $(LIBICU) instead of "libicu-" everywhere)

X-SVN-Rev: 1361
This commit is contained in:
Steven R. Loomis 2000-05-13 00:13:15 +00:00
parent 88e3406421
commit b67cfb9fbe
16 changed files with 46 additions and 11 deletions

View File

@ -50,7 +50,7 @@ subdir = common
CLEANFILES = *~
## Target information
TARGET = libicu-uc.$(SO)
TARGET = $(LIBICU)uc.$(SO)
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@ -I. -I$(srcdir) -DICU_DATA_DIR=\"$(pkgdatadir)/$(VERSION)/\" -DUDATA_SO_SUFFIX=\".$(SO)\" -DU_COMMON_LIBNAME=\"$(TARGET)\"

View File

@ -26,9 +26,14 @@ SHLIB.cc= makeC++SharedLib_r -p 5000
LD_RPATH= -I
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= a
## Link commands to link to ICU libs
LIBICU-UC= -L$(top_builddir)/common -licu-uc
LIBICU-I18N= -L$(top_builddir)/i18n -licu-i18n

View File

@ -23,6 +23,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -shared
LD_RPATH=
LD_RPATH_PRE= -Wl,-rpath,
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -26,6 +26,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -b
LD_RPATH= -Wl,+b,
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= sl

View File

@ -33,6 +33,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -b
LD_RPATH= -Wl,+b,
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= sl

View File

@ -33,6 +33,9 @@ SHLIB.cc= $(CXX) -shared $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
LD_RPATH= -I
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -23,6 +23,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -shared
LD_RPATH=
LD_RPATH_PRE= -Wl,-rpath,
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -55,6 +55,9 @@ SHLIB.cc= $(LINK.cc) -Wl,dll
## Compiler switch to embed a runtime search path
LD_RPATH= -I
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix (switch to dll for shared library build)
SO= dll

View File

@ -3,9 +3,6 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
# Note: 'LIBICU' would be set to 'libicu-' for unix builds.
LIBICU = libicu
GEN_DEPS.c= $(CC1) -E -M $(DEFS) $(CPPFLAGS)
GEN_DEPS.cc= $(CXX1) -E -M $(DEFS) $(CPPFLAGS)
@ -29,6 +26,9 @@ ARFLAGS = -cuv
LD_RPATH= -I
LD_RPATH_PRE= -I
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names [Note - no hyphen for 400]
LIBICU = libicu
## object suffix
TO= o

View File

@ -24,6 +24,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -DPTX -G
LD_RPATH= -R
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -25,6 +25,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -G
LD_RPATH= -R
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -23,6 +23,9 @@ SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -G
LD_RPATH= -R
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -24,6 +24,9 @@ SHLIB.cc= $(CXX) -xtarget=ultra -xarch=v9 $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFL
LD_RPATH= -R
LD_RPATH_PRE=
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
LIBICU = libicu-
## Shared object suffix
SO= so

View File

@ -44,7 +44,7 @@ subdir = i18n
CLEANFILES = *~
## Target information
TARGET = libicu-i18n.$(SO)
TARGET = $(LIBICU)i18n.$(SO)
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(top_builddir)/common -I$(top_srcdir)/common

View File

@ -185,7 +185,7 @@ $(COMMONFILE): $(DATAFILES) gencmn/mkmap.tmp
@echo -n Generating common file $(COMMONFILE). Number of files:
-@wc -l gencmn/mkmap.tmp
-rm -f $(COMMONFILE)
@gencmn/gencmn -c -d $(OBJDATADIR) 1000000 gencmn/mkmap.tmp
(cd gencmn ; ./gencmn -c -d ../$(OBJDATADIR) 1000000 mkmap.tmp )
-@ls -l $(COMMONFILE)
build-dll: $(DATAFILES) gencmn/mkmap.tmp $(COMMONDLL)
@ -193,13 +193,13 @@ build-dll: $(DATAFILES) gencmn/mkmap.tmp $(COMMONDLL)
build-testdlls: $(TESTDATADLL) $(BASEDATADLL) $(BASETESTDATADLL)
%_dat.c: %.dat
genccode/genccode $<
(cd genccode ; ./genccode ../$< )
%_cnv.c: %.cnv
genccode/genccode $<
(cd genccode ; ./genccode ../$< )
%_brk.c: %.brk
genccode/genccode $<
(cd genccode ; ./genccode ../$< )
## Note: this generates a dummy C++ file to cause the HPUX CC linker
## to load exception handling (when requested..)
@ -217,7 +217,7 @@ hpux_junk_obj.o: hpux_junk_obj.cpp
# HPUX_JUNK_OBJ is usually unset except by mh-hpux-cc
$(OBJDATADIR)/icudata_dat.c: $(DATAFILES) gencmn/mkmap.tmp
@gencmn/gencmn -S -d $(OBJDATADIR) 1000000 gencmn/mkmap.tmp
@(cd gencmn ; gencmn -S -d ../$(OBJDATADIR) 1000000 mkmap.tmp )
$(COMMONDLL): $(OBJDATAFILES) $(HPUX_JUNK_OBJ)
$(SHLIB.c) -o $@ $^

View File

@ -44,7 +44,7 @@ subdir = tools/toolutil
CLEANFILES = *~
## Target information
TARGET = libicu-toolutil.$(SO)
TARGET = $(LIBICU)toolutil.$(SO)
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw