aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_IMF.am
blob: cb6176986b70ee38421126bd0e68b3550a1cbaa3 (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

### 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=\"`pwd`/$(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
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
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
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