summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.6/samples/ufortune/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-4.6/samples/ufortune/Makefile')
-rw-r--r--Build/source/libs/icu/icu-4.6/samples/ufortune/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.6/samples/ufortune/Makefile b/Build/source/libs/icu/icu-4.6/samples/ufortune/Makefile
new file mode 100644
index 00000000000..258959a8f5a
--- /dev/null
+++ b/Build/source/libs/icu/icu-4.6/samples/ufortune/Makefile
@@ -0,0 +1,55 @@
+# Copyright (c) 2001-2003 IBM, Inc. and others
+
+#
+# File
+# icu/source/samples/ufortune/Makefile
+#
+# Usage:
+# - configure and build ICU [see the docs] .. use "--prefix=" something
+#
+# - do 'make install' of icu
+#
+# - make sure the script 'icu-config' is executable in your PATH
+#
+# - do 'gmake' in this directory
+# - do 'gmake check' to run the sample.
+
+
+# Load ICU information
+include ../defs.mk
+
+include fortunedefs.mk
+
+# Name of your target
+TARGET=ufortune
+
+# All object files (C or C++)
+OBJECTS=ufortune.o
+
+# dir containing resources
+RESDIR=resources
+
+# hook variables to tell rules.mk we want subdirectory processing
+ALL_SUBDIR= all-$(RESDIR)
+CLEAN_SUBDIR= clean-$(RESDIR)
+
+# Need: ustdio, and to link with ufortune
+XTRALIBS=$(RESLDFLAGS)
+LDFLAGS += $(LDFLAGS_USTDIO)
+CPPFLAGS += $(RESCPPFLAGS)
+
+### Include standard rules
+include ../rules.mk
+
+# subdirectory processing
+all-$(RESDIR):
+ $(MAKE) -C $(RESDIR)
+
+clean-$(RESDIR):
+ -$(MAKE) -C $(RESDIR) clean
+
+
+install-$(RESDIR):
+ $(MAKE) -C $(RESDIR) install
+
+install: install-$(RESDIR) \ No newline at end of file