5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
6 # Copyright (c) 2007-2010 Red Hat, Inc.
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU Lesser General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this program; if not, write to the
20 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 # Boston, MA 02111-1307 USA
23 vapidir = $(datadir)/vala/vapi
25 ibus-@IBUS_API_VERSION@.vapi \
26 ibus-@IBUS_API_VERSION@.deps \
29 # Don't rebuild vapi every time gir is updated.
31 $(srcdir)/IBus-1.0.metadata \
32 $(srcdir)/IBus-1.0-custom.vala \
34 $(top_srcdir)/src/IBus-@IBUS_API_VERSION@.gir \
37 ibus-@IBUS_API_VERSION@.vapi: $(vapi_deps)
38 $(AM_V_GEN) $(VAPIGEN) --library ibus-@IBUS_API_VERSION@ \
40 --metadatadir=$(srcdir) \
41 $(top_srcdir)/src/IBus-@IBUS_API_VERSION@.gir \
42 $(srcdir)/IBus-1.0-custom.vala
46 IBus-1.0-custom.vala \
50 MAINTAINERCLEANFILES = ibus-@IBUS_API_VERSION@.vapi
52 -include $(top_srcdir)/git.mk