aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_IMF.am
blob: 87d0f63fab03d5d311e5e315fa17255197665561 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153

### Library

installed_ecoreimfmainheadersdir = $(includedir)/ecore-imf-@VMAJ@
dist_installed_ecoreimfmainheaders_DATA = \
lib/ecore_imf/Ecore_IMF.h

lib_LTLIBRARIES += \
lib/ecore_imf/libecore_imf.la

lib_ecore_imf_libecore_imf_la_SOURCES = \
lib/ecore_imf/ecore_imf.c \
lib/ecore_imf/ecore_imf_context.c \
lib/ecore_imf/ecore_imf_module.c \
lib/ecore_imf/ecore_imf_private.h

lib_ecore_imf_libecore_imf_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/ecore_imf\" \
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
@ECORE_IMF_CFLAGS@
lib_ecore_imf_libecore_imf_la_LIBADD = @ECORE_IMF_LIBS@
lib_ecore_imf_libecore_imf_la_DEPENDENCIES = @ECORE_IMF_INTERNAL_LIBS@
lib_ecore_imf_libecore_imf_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

### Modules

# Ibus

if BUILD_ECORE_IMF_IBUS
ecoreimfibuspkgdir = $(libdir)/ecore_imf/modules/ibus/$(MODULE_ARCH)
ecoreimfibuspkg_LTLIBRARIES = modules/ecore_imf/ibus/module.la

# Workaround for broken parallel install support in automake (relink issue)
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
install_ecoreimfibuspkgLTLIBRARIES = install-ecoreimfibuspkgLTLIBRARIES
$(install_ecoreimfibuspkgLTLIBRARIES): install-libLTLIBRARIES

modules_ecore_imf_ibus_module_la_SOURCES = \
modules/ecore_imf/ibus/ibus_module.c \
modules/ecore_imf/ibus/ibus_imcontext.c \
modules/ecore_imf/ibus/ibus_imcontext.h
modules_ecore_imf_ibus_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_IMF_CFLAGS@ \
@ECORE_EVAS_CFLAGS@ \
@ECORE_X_CFLAGS@ \
@IBUS_CFLAGS@
modules_ecore_imf_ibus_module_la_LIBADD = \
@USE_ECORE_IMF_LIBS@ \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_X_LIBS@ \
@IBUS_LIBS@
modules_ecore_imf_ibus_module_la_DEPENDENCIES = \
@USE_ECORE_IMF_INTERNAL_LIBS@ \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_X_INTERNAL_LIBS@
modules_ecore_imf_ibus_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_imf_ibus_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

# Scim

if BUILD_ECORE_IMF_SCIM
ecoreimfscimpkgdir = $(libdir)/ecore_imf/modules/scim/$(MODULE_ARCH)
ecoreimfscimpkg_LTLIBRARIES = modules/ecore_imf/scim/module.la

# Workaround for broken parallel install support in automake (relink issue)
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
install_ecoreimfscimpkgLTLIBRARIES = install-ecoreimfscimpkgLTLIBRARIES
$(install_ecoreimfscimpkgLTLIBRARIES): install-libLTLIBRARIES

modules_ecore_imf_scim_module_la_SOURCES = \
modules/ecore_imf/scim/scim_module.cpp \
modules/ecore_imf/scim/scim_imcontext.cpp \
modules/ecore_imf/scim/scim_imcontext.h
modules_ecore_imf_scim_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_IMF_CFLAGS@ \
@ECORE_EVAS_CFLAGS@ \
@ECORE_X_CFLAGS@ \
@SCIM_CFLAGS@
modules_ecore_imf_scim_module_la_LIBADD = \
@USE_ECORE_IMF_LIBS@ \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_X_LIBS@ \
@SCIM_LIBS@
modules_ecore_imf_scim_module_la_DEPENDENCIES = \
@USE_ECORE_IMF_INTERNAL_LIBS@ \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_X_INTERNAL_LIBS@
modules_ecore_imf_scim_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_imf_scim_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

# Xim

if BUILD_ECORE_IMF_XIM
ecoreimfximpkgdir = $(libdir)/ecore_imf/modules/xim/$(MODULE_ARCH)
ecoreimfximpkg_LTLIBRARIES = modules/ecore_imf/xim/module.la

# Workaround for broken parallel install support in automake (relink issue)
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
install_ecoreimfximpkgLTLIBRARIES = install-ecoreimfximpkgLTLIBRARIES
$(install_ecoreimfximpkgLTLIBRARIES): install-libLTLIBRARIES

modules_ecore_imf_xim_module_la_SOURCES = \
modules/ecore_imf/xim/ecore_imf_xim.c
modules_ecore_imf_xim_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_IMF_CFLAGS@ \
@ECORE_X_CFLAGS@ \
@ecore_imf_xim_cflags@
modules_ecore_imf_xim_module_la_LIBADD = \
@USE_ECORE_IMF_LIBS@ \
@USE_ECORE_X_LIBS@ \
@ecore_imf_xim_libs@
modules_ecore_imf_xim_module_la_DEPENDENCIES = \
@USE_ECORE_IMF_INTERNAL_LIBS@ \
@USE_ECORE_X_INTERNAL_LIBS@
modules_ecore_imf_xim_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_imf_xim_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

# Wayland
if BUILD_ECORE_IMF_WAYLAND
ecoreimfwaylandpkgdir = $(libdir)/ecore_imf/modules/wayland/$(MODULE_ARCH)
ecoreimfwaylandpkg_LTLIBRARIES = modules/ecore_imf/wayland/module.la

# Workaround for broken parallel install support in automake (relink issue)
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
install_ecoreimfwaylandpkgLTLIBRARIES = install-ecoreimfwaylandpkgLTLIBRARIES
$(install_ecoreimfwaylandpkgLTLIBRARIES): install-libLTLIBRARIES

modules_ecore_imf_wayland_module_la_SOURCES = \
modules/ecore_imf/wayland/wayland_module.c \
modules/ecore_imf/wayland/wayland_imcontext.c \
modules/ecore_imf/wayland/wayland_imcontext.h \
modules/ecore_imf/wayland/text-client-protocol.h \
modules/ecore_imf/wayland/text-protocol.c
modules_ecore_imf_wayland_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_IMF_CFLAGS@ \
@ECORE_EVAS_CFLAGS@ \
@ECORE_WL2_CFLAGS@
modules_ecore_imf_wayland_module_la_LIBADD = \
@USE_ECORE_IMF_LIBS@ \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_WL2_LIBS@
modules_ecore_imf_wayland_module_la_DEPENDENCIES = \
@USE_ECORE_IMF_INTERNAL_LIBS@ \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_WL2_INTERNAL_LIBS@
modules_ecore_imf_wayland_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_imf_wayland_module_la_LIBTOOLFLAGS = --tag=disable-static
endif