| 1 |
# vim:set noet ts=4: |
| 2 |
# |
| 3 |
# ibus - The Input Bus |
| 4 |
# |
| 5 |
# Copyright (c) 2020-2025 Takao Fujiwara <[email protected]> |
| 6 |
# Copyright (c) 2020-2025 Red Hat, Inc. |
| 7 |
# |
| 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.1 of the License, or (at your option) any later version. |
| 12 |
# |
| 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 GNU |
| 16 |
# Lesser General Public License for more details. |
| 17 |
# |
| 18 |
# You should have received a copy of the GNU Lesser General Public |
| 19 |
# License along with this library; if not, write to the Free Software |
| 20 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 21 |
# USA |
| 22 |
|
| 23 |
libibus = $(top_builddir)/src/libibus-@[email protected] |
| 24 |
|
| 25 |
AM_CPPFLAGS = \ |
| 26 |
-I$(top_srcdir)/src \ |
| 27 |
-I$(top_builddir)/src \ |
| 28 |
$(NULL) |
| 29 |
|
| 30 |
immoduledir = @GTK4_IM_MODULEDIR@ |
| 31 |
immodule_LTLIBRARIES = libim-ibus.la |
| 32 |
|
| 33 |
libim_ibus_la_SOURCES = \ |
| 34 |
ibusim.c \ |
| 35 |
ibusimcontext.c \ |
| 36 |
ibusimcontext.h \ |
| 37 |
iconwidget.c \ |
| 38 |
iconwidget.h \ |
| 39 |
$(NULL) |
| 40 |
|
| 41 |
libim_ibus_la_DEPENDENCIES = $(libibus) |
| 42 |
|
| 43 |
libim_ibus_la_CFLAGS = \ |
| 44 |
@GTK4_CFLAGS@ \ |
| 45 |
@DBUS_CFLAGS@ \ |
| 46 |
-DG_LOG_DOMAIN=\"IBUS\" \ |
| 47 |
$(NULL) |
| 48 |
|
| 49 |
libim_ibus_la_LIBADD = \ |
| 50 |
@GTK4_LIBS@ \ |
| 51 |
@DBUS_LIBS@ \ |
| 52 |
$(libibus) \ |
| 53 |
$(NULL) |
| 54 |
libim_ibus_la_LDFLAGS = \ |
| 55 |
-avoid-version \ |
| 56 |
-module \ |
| 57 |
$(NULL) |
| 58 |
|
| 59 |
$(libibus): |
| 60 |
(cd $(top_builddir)/src; make ) |
| 61 |
|
| 62 |
EXTRA_DIST = \ |
| 63 |
$(NULL) |
| 64 |
|
| 65 |
test: all |
| 66 |
GTK_IM_MODULE=ibus gedit |
| 67 |
|
| 68 |
-include $(top_srcdir)/git.mk |