summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/TECkit-2.5.1/bin/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/teckit/TECkit-2.5.1/bin/Makefile.am')
-rw-r--r--Build/source/libs/teckit/TECkit-2.5.1/bin/Makefile.am61
1 files changed, 61 insertions, 0 deletions
diff --git a/Build/source/libs/teckit/TECkit-2.5.1/bin/Makefile.am b/Build/source/libs/teckit/TECkit-2.5.1/bin/Makefile.am
new file mode 100644
index 00000000000..59a72bd39e8
--- /dev/null
+++ b/Build/source/libs/teckit/TECkit-2.5.1/bin/Makefile.am
@@ -0,0 +1,61 @@
+AUTOMAKE_OPTIONS = 1.6
+
+bin_PROGRAMS = teckit_compile txtconv sfconv
+
+AM_CPPFLAGS = -I$(top_srcdir)/source/Public-headers
+
+expatdir = $(top_srcdir)/SFconv/expat
+
+tool_src = $(top_srcdir)/source/Sample-tools
+
+if SYSTEM_EXPAT
+EXPAT_CFLAGS = -DXML_DTD @expat_CFLAGS@
+EXPAT_SOURCES =
+else
+EXPAT_CFLAGS = -I$(expatdir)/xmlparse -I$(expatdir)/xmltok -DXML_DTD
+EXPAT_SOURCES = $(expatdir)/xmlparse/xmlparse.c
+EXPAT_SOURCES += $(expatdir)/xmlparse/hashtable.c
+EXPAT_SOURCES += $(expatdir)/xmltok/xmlrole.c
+EXPAT_SOURCES += $(expatdir)/xmltok/xmltok.c
+endif
+
+# AM_CPPFLAGS += $(EXPAT_CFLAGS)
+AM_CFLAGS = $(AM_CPPFLAGS)
+
+teckit_compile_SOURCES = $(top_srcdir)/source/Sample-tools/TECkit_Compile.cpp
+
+txtconv_SOURCES = $(top_srcdir)/source/Sample-tools/TxtConv.cpp
+
+sfconv_SOURCES = $(top_srcdir)/SFconv/SFconv.cpp
+sfconv_SOURCES += $(top_srcdir)/SFconv/ConvertUTF.c
+sfconv_SOURCES += $(EXPAT_SOURCES)
+sfconv_CPPFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS)
+sfconv_CFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS)
+
+if OLD_LIB_NAMES
+teckit_compile_LDADD = $(top_builddir)/lib/TECkit_Compiler_x86.la
+txtconv_LDADD = $(top_builddir)/lib/TECkit_x86.la
+sfconv_LDADD = $(top_builddir)/lib/TECkit_x86.la @expat_LIBS@
+else
+teckit_compile_LDADD = $(top_builddir)/lib/libTECkit_Compiler.la
+txtconv_LDADD = $(top_builddir)/lib/libTECkit.la
+sfconv_LDADD = $(top_builddir)/lib/libTECkit.la @expat_LIBS@
+endif
+
+# --> RC Support
+if OLD_LIB_NAMES
+teckit_compile_DEPENDENCIES = TECkit_Compile_ver.o
+teckit_compile_LDFLAGS = -Wl,TECkit_Compile_ver.o
+TECkit_Compile_ver.o: $(tool_src)/TECkit_Compile_ver.rc
+ $(RC) $(AM_RCFLAGS) $(RCFLAGS) -o $@ $<
+
+txtconv_DEPENDENCIES = TxtConv_ver.o
+txtconv_LDFLAGS = -Wl,TxtConv_ver.o
+TxtConv_ver.o: $(tool_src)/TxtConv_ver.rc
+ $(RC) $(AM_RCFLAGS) $(RCFLAGS) -o $@ $<
+
+sfconv_DEPENDENCIES = SFconv_ver.o
+sfconv_LDFLAGS = -Wl,SFconv_ver.o
+SFconv_ver.o: $(top_srcdir)/SFconv/SFconv_ver.rc
+ $(RC) $(AM_RCFLAGS) $(RCFLAGS) -I$(tool_src) -o $@ $<
+endif