ICU-157 solaris support !

X-SVN-Rev: 237
This commit is contained in:
Steven R. Loomis 1999-11-23 05:34:05 +00:00
parent e991a2450d
commit 564242465c
2 changed files with 35 additions and 18 deletions

View file

@ -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 ------------------------------------------- */

View file

@ -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)