2000-06-29 02:34:31 +00:00
|
|
|
## -*-makefile-*-
|
2000-01-14 16:19:24 +00:00
|
|
|
#******************************************************************************
|
2001-03-21 20:31:13 +00:00
|
|
|
# Copyright (C) 1999-2001, International Business Machines
|
2000-01-14 16:19:24 +00:00
|
|
|
# Corporation and others. All Rights Reserved.
|
2002-02-12 20:04:52 +00:00
|
|
|
# $Revision: 1.24 $
|
2000-01-14 16:19:24 +00:00
|
|
|
#******************************************************************************
|
1999-10-13 06:17:37 +00:00
|
|
|
# This Makefile is designed to be included into projects which make use
|
|
|
|
# of the ICU.
|
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
SHELL = @SHELL@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPPFLAGS = @CPPFLAGS@ $(LIBCPPFLAGS) -I$(prefix)/include
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
FFLAGS = @FFLAGS@
|
|
|
|
DEFS = @DEFS@
|
2000-10-17 23:28:41 +00:00
|
|
|
ENABLE_RPATH = @ENABLE_RPATH@
|
|
|
|
ifeq ($(ENABLE_RPATH),YES)
|
|
|
|
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
|
|
|
|
endif
|
|
|
|
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
|
2000-10-13 00:26:21 +00:00
|
|
|
LIBS = @LIBS@
|
2000-10-13 17:45:47 +00:00
|
|
|
ICUPREFIX = icu
|
2001-09-21 04:29:04 +00:00
|
|
|
ICULIBSUFFIX = @ICULIBSUFFIX@
|
2001-11-12 19:22:28 +00:00
|
|
|
ICULIBS = $(LIBS) -L$(libdir) \
|
2002-02-12 20:04:52 +00:00
|
|
|
-l$(ICUPREFIX)data$(ICULIBSUFFIX) \
|
2001-11-12 19:22:28 +00:00
|
|
|
-l$(ICUPREFIX)i18n$(ICULIBSUFFIX) \
|
|
|
|
-l$(ICUPREFIX)uc$(ICULIBSUFFIX) \
|
|
|
|
-l$(ICUPREFIX)toolutil$(ICULIBSUFFIX) \
|
|
|
|
-lustdio$(ICULIBSUFFIX)
|
|
|
|
#TODO layout library probably wants to be added to ICULIBS.
|
|
|
|
# -l$(ICUPREFIX)le$(ICULIBSSUFFIX)
|
|
|
|
|
|
|
|
## Environment variable to set a runtime search path
|
|
|
|
# (Overridden when necessary in -mh files)
|
|
|
|
LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
# Force removal [for make clean]
|
|
|
|
RMV = rm -rf
|
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
prefix = @prefix@
|
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = @oldincludedir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
VERSION = @VERSION@
|
2000-10-13 18:29:14 +00:00
|
|
|
LIB_VERSION = @LIB_VERSION@
|
|
|
|
LIB_VERSION_MAJOR = @LIB_VERSION_MAJOR@
|
2000-10-13 00:26:21 +00:00
|
|
|
CC = @CC@
|
|
|
|
CXX = @CXX@
|
|
|
|
|
2001-11-12 19:22:28 +00:00
|
|
|
# Commands to make a shared library
|
|
|
|
# (Overridden when necessary in -mh files)
|
|
|
|
SHLIB.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared
|
|
|
|
SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -shared
|
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
1999-10-13 06:17:37 +00:00
|
|
|
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
2000-10-13 00:26:21 +00:00
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
1999-10-13 06:17:37 +00:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2000-10-13 00:26:21 +00:00
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
|
2001-11-10 02:21:37 +00:00
|
|
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(VERSION)
|
|
|
|
pkglibdir = $(libdir)/$(PACKAGE)/$(VERSION)
|
2000-10-24 19:50:20 +00:00
|
|
|
|
|
|
|
MKINSTALLDIRS = $(SHELL) $(pkgdatadir)/mkinstalldirs
|
1999-10-13 06:17:37 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
host = @host@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_cpu = @host_cpu@
|
|
|
|
host_vendor = @host_vendor@
|
|
|
|
host_os = @host_os@
|
1999-10-13 06:17:37 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
LIB_M = @LIB_M@
|
|
|
|
CPP = @CPP@
|
|
|
|
U_HAVE_INTTYPES_H = @U_HAVE_INTTYPES_H@
|
|
|
|
U_IS_BIG_ENDIAN = @U_IS_BIG_ENDIAN@
|
|
|
|
HAVE_INT8_T = @HAVE_INT8_T@
|
|
|
|
HAVE_UINT8_T = @HAVE_UINT8_T@
|
|
|
|
HAVE_INT16_T = @HAVE_INT16_T@
|
|
|
|
HAVE_UINT16_T = @HAVE_UINT16_T@
|
|
|
|
HAVE_INT32_T = @HAVE_INT32_T@
|
|
|
|
HAVE_UINT32_T = @HAVE_UINT32_T@
|
|
|
|
HAVE_BOOL_T = @HAVE_BOOL_T@
|
|
|
|
EXTRAS_TRUE = @EXTRAS_TRUE@
|
|
|
|
EXTRAS_FALSE = @EXTRAS_FALSE@
|
|
|
|
TESTS_TRUE = @TESTS_TRUE@
|
|
|
|
TESTS_FALSE = @TESTS_FALSE@
|
|
|
|
SAMPLES_TRUE = @SAMPLES_TRUE@
|
|
|
|
SAMPLES_FALSE = @SAMPLES_FALSE@
|
1999-10-13 06:17:37 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
platform = @platform@
|
1999-10-13 06:17:37 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
ld_rpath_suf = @ld_rpath_suf@
|
1999-10-13 06:17:37 +00:00
|
|
|
|
2001-11-14 00:16:54 +00:00
|
|
|
include $(pkgdatadir)/config/@platform_make_fragment_name@
|
1999-10-13 06:17:37 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
DEFAULT_MODE = @DATA_PACKAGING_MODE@
|
2000-06-29 02:34:31 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
GENCCODE = $(sbindir)/genccode
|
|
|
|
GENCMN = $(sbindir)/gencmn
|
2000-06-29 02:34:31 +00:00
|
|
|
|
2000-10-13 00:26:21 +00:00
|
|
|
INVOKE = $(LDLIBRARYPATH_ENVVAR)=$(libdir):$$$(LDLIBRARYPATH_ENVVAR)
|
2000-06-29 02:34:31 +00:00
|
|
|
|
2000-11-30 19:06:50 +00:00
|
|
|
# Should be the same as U_ICUDATA_NAME
|
|
|
|
ICUDATA_NAME = icudt@LIB_VERSION_MAJOR@@ICUDATA_CHAR@
|
|
|
|
ifeq ($(strip $(PKGDATA_MODE)),)
|
|
|
|
PKGDATA_MODE=@DATA_PACKAGING_MODE@
|
|
|
|
endif
|
|
|
|
ifeq ($(PKGDATA_MODE),common)
|
2001-11-10 01:54:17 +00:00
|
|
|
ICUDATA_DIR = $(pkgdatadir)
|
2001-11-14 00:16:54 +00:00
|
|
|
ICUPKGDATA_DIR = $(ICUDATA_DIR)
|
2000-11-30 19:06:50 +00:00
|
|
|
else
|
2001-11-10 01:54:17 +00:00
|
|
|
ifeq ($(PKGDATA_MODE),dll)
|
|
|
|
ICUDATA_DIR = $(pkgdatadir)
|
|
|
|
ICUPKGDATA_DIR = $(libdir)
|
|
|
|
else
|
|
|
|
ICUDATA_DIR = $(pkglibdir)
|
2001-11-14 00:16:54 +00:00
|
|
|
ICUPKGDATA_DIR = $(ICUDATA_DIR)
|
2001-11-10 01:54:17 +00:00
|
|
|
endif
|
2000-11-30 19:06:50 +00:00
|
|
|
endif
|
2001-09-21 04:29:04 +00:00
|
|
|
|