diff options
author | Peng Wu <alexepico@gmail.com> | 2014-03-14 11:05:01 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-03-14 11:05:01 +0800 |
commit | f87a66ba88cd855a40cc941c5381c5ceb9be3df7 (patch) | |
tree | 5bbc64a4159cbcf25af0683ff786e3f71a704042 /src | |
parent | 1198e8342b43d318fa20e913aec0a5648c73a562 (diff) | |
download | ibus-libzhuyin-f87a66ba88cd855a40cc941c5381c5ceb9be3df7.tar.gz ibus-libzhuyin-f87a66ba88cd855a40cc941c5381c5ceb9be3df7.tar.xz ibus-libzhuyin-f87a66ba88cd855a40cc941c5381c5ceb9be3df7.zip |
fixes compiling
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 67 | ||||
-rw-r--r-- | src/ZYMain.cc | 32 |
2 files changed, 88 insertions, 11 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8ea3486..6116789 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,17 +18,62 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -AM_CPPFLAGS = \ - -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ - -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \ - -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \ - $(IBUS_LIBZHUYIN_CFLAGS) +libexec_PROGRAMS = ibus-engine-libzhuyin -AM_CFLAGS =\ - -Wall\ - -g +#ibus_engine_libzhuyin_built_c_sources = \ +# $(NULL) +#ibus_engine_libzhuyin_built_h_sources = \ +# ZYPunctTable.h \ +# ZYSimpTradConverterTable.h \ +# $(NULL) -ibus_engine_libzhuyin_LDFLAGS = \ - -Wl,--export-dynamic +ibus_engine_libzhuyin_c_sources = \ + ZYConfig.cc \ + ZYEditor.cc \ + ZYZhuyinProperties.cc \ + ZYMain.cc \ + $(NULL) -ibus_engine_libzhuyin_LDADD = $(IBUS_LIBZHUYIN_LIBS) +ibus_engine_libzhuyin_h_sources = \ + ZYBus.h \ + ZYConfig.h \ + ZYEditor.h \ + ZYLookupTable.h \ + ZYObject.h \ + ZYPinyinProperties.h \ + ZYPointer.h \ + ZYProperty.h \ + ZYRawEditor.h \ + ZYSignal.h \ + ZYString.h \ + ZYText.h \ + ZYTypes.h \ + ZYUtil.h \ + $(NULL) + +#ibus_engine_libzhuyin_c_sources += \ +# ZYZConfig.cc \ +# ZYZPhoneticEditor.cc \ +# ZYZFullPinyinEditor.cc \ +# ZYZZhuyinEditor.cc \ +# ZYZPinyinEngine.cc \ +# ZYZZhuyinEngine.cc \ +# $(NULL) + +ibus_engine_libzhuyin_SOURCES = \ + $(ibus_engine_libzhuyin_c_sources) \ + $(ibus_engine_libzhuyin_h_sources) \ + $(NULL) + +ibus_engine_libzhuyin_CXXFLAGS = \ + @IBUS_CFLAGS@ \ + @LIBZHUYIN_CFLAGS@ \ + -DGETTEXT_PACKAGE=\"@GETTEXT_PACKAGE@\" \ + -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DLIBEXECDIR=\"$(libexecdir)\" \ + $(NULL) + +ibus_engine_libzhuyin_LDADD = \ + @IBUS_LIBS@ \ + @LIBZHUYIN_LIBS@ \ + $(NULL) diff --git a/src/ZYMain.cc b/src/ZYMain.cc new file mode 100644 index 0000000..571e6b8 --- /dev/null +++ b/src/ZYMain.cc @@ -0,0 +1,32 @@ +/* vim:set et ts=4 sts=4: + * + * ibus-libzhuyin - New Zhuyin engine based on libzhuyin for IBus + * + * Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> + * Copyright (c) 2014 Peng Wu <alexepico@gmail.com> + * + * 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, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#include <ibus.h> + +int +main (gint argc, gchar **argv) +{ + return 0; +} |