summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-10-14 14:39:38 +0800
committerPeng Wu <alexepico@gmail.com>2010-10-14 14:39:38 +0800
commit3a976f98a272a6391f06dc1d2d5c9de36cb1aad2 (patch)
treeb768ac460ce7ea4807c2792df4ec70387ff7f15d /src
parented23a551db0952a796fe04b3a582b3e67db0e76c (diff)
downloadlibpinyin-3a976f98a272a6391f06dc1d2d5c9de36cb1aad2.tar.gz
libpinyin-3a976f98a272a6391f06dc1d2d5c9de36cb1aad2.tar.xz
libpinyin-3a976f98a272a6391f06dc1d2d5c9de36cb1aad2.zip
add pinyin.h
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/pinyin.cpp2
-rw-r--r--src/pinyin.h10
3 files changed, 20 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6894e01..ad037fb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,6 +24,14 @@ CLEANFILES = *.bak
ACLOCAL = aclocal -I $(ac_aux_dir)
+INCLUDES = -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/include \
+ -I$(top_srcdir)/src/storage \
+ -I$(top_srcdir)/src/lookup \
+ @GLIB2_CPPFLAGS@
+
+noinst_HEADERS = pinyin.h
+
noinst_LTLIBRARIES = libpinyin.la
libpinyin_la_LDFLAGS = -static
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index f7f6a7e..27f8dbf 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -1 +1,3 @@
+#include "pinyin.h"
+
/* Place holder for combining static libraries in sub-directories. */
diff --git a/src/pinyin.h b/src/pinyin.h
new file mode 100644
index 0000000..35611ee
--- /dev/null
+++ b/src/pinyin.h
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include "novel_types.h"
+#include "memory_chunk.h"
+#include "pinyin_base.h"
+#include "pinyin_phrase.h"
+#include "pinyin_large_table.h"
+#include "phrase_large_table.h"
+#include "phrase_index.h"
+#include "ngram.h"
+#include "pinyin_lookup.h"