#
# This Makefile simply build 32-bit binaries. If you wish to use *.csh
# test suite execution shell script files, you will have to modify
# this Makefile to build 32-bit and 64-bit executables with -sparc, -sparcv9,
# -i386, and -amd64 appended at their names. Please see *.csh files for
# some more hints.
#
CCCSRCS = conversion-test1.c \
conversion-test2.c \
conversion-test3.c \
conversion-test-cn.c \
conversion-test-jp-2.c \
conversion-test-jp-3.c \
conversion-test-jp.c \
conversion-test-kr.c \
ucnv_getDefaultName.c \
ucnv_getMaxCharSize.c
CCSRCS = ucnv_toUChars.c \
ucnv_createConverter.c
TGCC = $(CCSRCS:%.c=%)
TGCCC = $(CCCSRCS:%.c=%)
all:
for f in $(TGCC) ; do \
echo $$f ; \
cc -o $$f-32 $$f.c -licui18n -licudata -licuuc ; \
cc -m64 -o $$f-64 $$f.c -licui18n -licudata -licuuc ; \
done
for f in $(TGCCC) ; do \
echo $$f ; \
CC -o $$f-32 $$f.c -licui18n -licudata -licuuc ; \
CC -m64 -o $$f-64 $$f.c -licui18n -licudata -licuuc ; \
done
@echo "ICU test case build done."
clean:
/bin/rm -f $(TGCC) $(TGCCC)