mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-157 solaris support !
X-SVN-Rev: 237
This commit is contained in:
parent
e991a2450d
commit
564242465c
2 changed files with 35 additions and 18 deletions
|
@ -38,6 +38,22 @@
|
|||
*******************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/* include standard headers */
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <locale.h>
|
||||
|
||||
/* include ICU headers */
|
||||
#include "utypes.h"
|
||||
#include "umutex.h"
|
||||
#include "cmemory.h"
|
||||
#include "cstring.h"
|
||||
#include "filestrm.h"
|
||||
|
||||
/* include system headers */
|
||||
#ifdef WIN32
|
||||
# include <wtypes.h>
|
||||
|
@ -58,24 +74,11 @@
|
|||
# include <sys/ldr.h>
|
||||
#elif defined(SOLARIS) || defined(LINUX)
|
||||
# include <dlfcn.h>
|
||||
# include <link.h>
|
||||
#elif defined(HPUX)
|
||||
# include <dl.h>
|
||||
#endif
|
||||
|
||||
/* include standard headers */
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <locale.h>
|
||||
|
||||
/* include ICU headers */
|
||||
#include "utypes.h"
|
||||
#include "umutex.h"
|
||||
#include "cmemory.h"
|
||||
#include "cstring.h"
|
||||
#include "filestrm.h"
|
||||
|
||||
/* floating point implementations ------------------------------------------- */
|
||||
|
||||
|
|
|
@ -11,7 +11,12 @@ top_srcdir = @top_srcdir@
|
|||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
|
||||
CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/common
|
||||
CFLAGS = @CFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
|
||||
|
||||
@host_frag@
|
||||
|
@ -108,15 +113,24 @@ install-data: $(DATAFILES)
|
|||
|
||||
build-cmnfile: $(COMMONFILE)
|
||||
|
||||
$(COMMONFILE): $(DATAFILES)
|
||||
# argh! the -Wpath [etc] has relative DLL paths in it
|
||||
# so we have to cd into the other dir..
|
||||
|
||||
gencmn/mkmap.tmp: Makefile
|
||||
-rm -f gencmn/mkmap.tmp
|
||||
for file in $(DATAFILES); do \
|
||||
echo `pwd`/$$file >> gencmn/mkmap.tmp; \
|
||||
done;
|
||||
|
||||
|
||||
$(COMMONFILE): $(DATAFILES) gencmn/mkmap.tmp
|
||||
-rm -f $(COMMONFILE)
|
||||
echo "$(DATAFILES)" > mkmap.tmp
|
||||
ICU_DATA=$(SRCDATADIR) ./gencmn/gencmn 1000000 mkmap.tmp
|
||||
(cd gencmn ; ICU_DATA=../$(SRCDATADIR) ./gencmn 1000000 mkmap.tmp )
|
||||
|
||||
build-dll: $(COMMONDLL)
|
||||
|
||||
%_dat.c: %.dat
|
||||
./genccode/genccode $<
|
||||
(cd genccode ; ./genccode ../$< )
|
||||
|
||||
# strip is optional
|
||||
$(COMMONDLL): $(OBJDATAFILES)
|
||||
|
|
Loading…
Add table
Reference in a new issue