diff options
-rw-r--r-- | utils/storage/Makefile.am | 6 | ||||
-rw-r--r-- | utils/storage/import_interpolation.cpp | 26 |
2 files changed, 31 insertions, 1 deletions
diff --git a/utils/storage/Makefile.am b/utils/storage/Makefile.am index be6ca28..edb134b 100644 --- a/utils/storage/Makefile.am +++ b/utils/storage/Makefile.am @@ -21,7 +21,7 @@ INCLUDES = -I$(top_srcdir)/src/include \ noinst_HEADERS = tag_utility.h -noinst_PROGRAMS = gen_pinyin_table gen_binary_files export_interpolation +noinst_PROGRAMS = gen_pinyin_table gen_binary_files export_interpolation import_interpolation gen_pinyin_table_SOURCES = gen_pinyin_table.cpp @@ -40,3 +40,7 @@ noinst_LTLIBRARIES = libtagutils.la libtagutils_la_LDFLAGS = -static libtagutils_la_SOURCES = tag_utility.cpp + +import_interpolation_SOURCES = import_interpolation.cpp + +import_interpolation_LDADD = ../../src/libpinyin.la @GLIB2_LDFLAGS@ ./libtagutils.la
\ No newline at end of file diff --git a/utils/storage/import_interpolation.cpp b/utils/storage/import_interpolation.cpp new file mode 100644 index 0000000..536219d --- /dev/null +++ b/utils/storage/import_interpolation.cpp @@ -0,0 +1,26 @@ +/* + * libpinyin + * Library to deal with pinyin. + * + * Copyright (C) 2010 Peng Wu + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include <stdio.h> + +int main(int argc, char * argv[]){ + return 0; +} |