OLD | NEW |
(Empty) | |
| 1 # vim:set noet ts=4: |
| 2 # |
| 3 # ibus - The Input Bus |
| 4 # |
| 5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com> |
| 6 # Copyright (c) 2007-2010 Red Hat, Inc. |
| 7 # Copyright (c) 2010 Google Inc. All rights reserved. |
| 8 # |
| 9 # This library is free software; you can redistribute it and/or |
| 10 # modify it under the terms of the GNU Lesser General Public |
| 11 # License as published by the Free Software Foundation; either |
| 12 # version 2 of the License, or (at your option) any later version. |
| 13 # |
| 14 # This library is distributed in the hope that it will be useful, |
| 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 # GNU Lesser General Public License for more details. |
| 18 # |
| 19 # You should have received a copy of the GNU Lesser General Public |
| 20 # License along with this program; if not, write to the |
| 21 # Free Software Foundation, Inc., 59 Temple Place, Suite 330, |
| 22 # Boston, MA 02111-1307 USA |
| 23 |
| 24 libibus = $(top_builddir)/src/libibus.la |
| 25 |
| 26 INCLUDES = \ |
| 27 -I$(top_srcdir)/src \ |
| 28 -I$(top_builddir)/src \ |
| 29 $(NULL) |
| 30 |
| 31 AM_CXXFLAGS = \ |
| 32 @GLIB2_CFLAGS@ \ |
| 33 @DBUS_CFLAGS@ \ |
| 34 -DG_LOG_DOMAIN=\"IBUS\" \ |
| 35 $(INCLUDES) \ |
| 36 $(NULL) |
| 37 AM_LDADD = \ |
| 38 @GOBJECT2_LIBS@ \ |
| 39 @GLIB2_LIBS@ \ |
| 40 @DBUS_LIBS@ \ |
| 41 $(libibus) \ |
| 42 $(NULL) |
| 43 |
| 44 libexec_PROGRAMS = \ |
| 45 ibus-memconf \ |
| 46 $(NULL) |
| 47 |
| 48 ibus_memconf_SOURCES = \ |
| 49 main.cc \ |
| 50 config.cc \ |
| 51 config.h \ |
| 52 $(NULL) |
| 53 ibus_memconf_CFLAGS = \ |
| 54 $(AM_CFLAGS) \ |
| 55 $(NULL) |
| 56 ibus_memconf_LDADD = \ |
| 57 $(AM_LDADD) \ |
| 58 $(NULL) |
| 59 |
| 60 component_DATA = \ |
| 61 memconf.xml \ |
| 62 $(NULL) |
| 63 componentdir = $(pkgdatadir)/component |
| 64 |
| 65 CLEANFILES = \ |
| 66 config.pb.cc \ |
| 67 config.pb.h \ |
| 68 memconf.xml \ |
| 69 *.pyc \ |
| 70 $(NULL) |
| 71 |
| 72 EXTRA_DIST = \ |
| 73 memconf.xml.in.in \ |
| 74 $(NULL) |
| 75 |
| 76 memconf.xml: memconf.xml.in |
| 77 $(AM_V_GEN) \ |
| 78 ( \ |
| 79 libexecdir=${libexecdir}; \ |
| 80 s=`cat $<`; \ |
| 81 eval "echo \"$${s}\""; \ |
| 82 ) > $@ |
| 83 |
| 84 $(libibus): |
| 85 $(MAKE) -C $(top_builddir)/src |
| 86 |
| 87 BUILT_SOURCES = \ |
| 88 main.cc \ |
| 89 $(NULL) |
| 90 |
| 91 main.cc: ../gconf/main.c |
| 92 cp -p ../gconf/main.c main.cc |
OLD | NEW |