summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_IMF.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Ecore_IMF.am')
-rw-r--r--src/Makefile_Ecore_IMF.am103
1 files changed, 103 insertions, 0 deletions
diff --git a/src/Makefile_Ecore_IMF.am b/src/Makefile_Ecore_IMF.am
new file mode 100644
index 0000000..783181d
--- /dev/null
+++ b/src/Makefile_Ecore_IMF.am
@@ -0,0 +1,103 @@
1
2### Library
3
4installed_ecoreimfmainheadersdir = $(includedir)/ecore-imf-@VMAJ@
5dist_installed_ecoreimfmainheaders_DATA = \
6lib/ecore_imf/Ecore_IMF.h
7
8lib_LTLIBRARIES += \
9lib/ecore_imf/libecore_imf.la
10
11lib_ecore_imf_libecore_imf_la_SOURCES = \
12lib/ecore_imf/ecore_imf.c \
13lib/ecore_imf/ecore_imf_context.c \
14lib/ecore_imf/ecore_imf_module.c \
15lib/ecore_imf/ecore_imf_private.h
16
17lib_ecore_imf_libecore_imf_la_CPPFLAGS = \
18-DPACKAGE_BIN_DIR=\"$(bindir)\" \
19-DPACKAGE_LIB_DIR=\"$(libdir)\" \
20-DPACKAGE_DATA_DIR=\"$(datadir)/ecore_imf\" \
21-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \
22@ECORE_IMF_CFLAGS@
23lib_ecore_imf_libecore_imf_la_LIBADD = @ECORE_IMF_LIBS@
24lib_ecore_imf_libecore_imf_la_DEPENDENCIES = @ECORE_IMF_INTERNAL_LIBS@
25lib_ecore_imf_libecore_imf_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
26
27### Modules
28
29# Ibus
30
31if BUILD_ECORE_IMF_IBUS
32ecoreimfibuspkgdir = $(libdir)/ecore_imf/modules/ibus/$(MODULE_ARCH)
33ecoreimfibuspkg_LTLIBRARIES = modules/ecore_imf/ibus/module.la
34modules_ecore_imf_ibus_module_la_SOURCES = \
35modules/ecore_imf/ibus/ibus_module.c \
36modules/ecore_imf/ibus/ibus_imcontext.c \
37modules/ecore_imf/ibus/ibus_imcontext.h
38modules_ecore_imf_ibus_module_la_CPPFLAGS = \
39@ECORE_IMF_CFLAGS@ \
40@ECORE_EVAS_CFLAGS@ \
41@ECORE_X_CFLAGS@ \
42@IBUS_CFLAGS@
43modules_ecore_imf_ibus_module_la_LIBADD = \
44@USE_ECORE_IMF_LIBS@ \
45@USE_ECORE_EVAS_LIBS@ \
46@USE_ECORE_X_LIBS@ \
47@IBUS_LIBS@
48modules_ecore_imf_ibus_module_la_DEPENDENCIES = \
49@USE_ECORE_IMF_INTERNAL_LIBS@ \
50@USE_ECORE_EVAS_INTERNAL_LIBS@ \
51@USE_ECORE_X_INTERNAL_LIBS@
52modules_ecore_imf_ibus_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
53modules_ecore_imf_ibus_module_la_LIBTOOLFLAGS = --tag=disable-static
54endif
55
56# Scim
57
58if BUILD_ECORE_IMF_SCIM
59ecoreimfscimpkgdir = $(libdir)/ecore_imf/modules/scim/$(MODULE_ARCH)
60ecoreimfscimpkg_LTLIBRARIES = modules/ecore_imf/scim/module.la
61modules_ecore_imf_scim_module_la_SOURCES = \
62modules/ecore_imf/scim/scim_module.cpp \
63modules/ecore_imf/scim/scim_imcontext.cpp \
64modules/ecore_imf/scim/scim_imcontext.h
65modules_ecore_imf_scim_module_la_CPPFLAGS = \
66@ECORE_IMF_CFLAGS@ \
67@ECORE_EVAS_CFLAGS@ \
68@ECORE_X_CFLAGS@ \
69@SCIM_CFLAGS@
70modules_ecore_imf_scim_module_la_LIBADD = \
71@USE_ECORE_IMF_LIBS@ \
72@USE_ECORE_EVAS_LIBS@ \
73@USE_ECORE_X_LIBS@ \
74@SCIM_LIBS@
75modules_ecore_imf_scim_module_la_DEPENDENCIES = \
76@USE_ECORE_IMF_INTERNAL_LIBS@ \
77@USE_ECORE_EVAS_INTERNAL_LIBS@ \
78@USE_ECORE_X_INTERNAL_LIBS@
79modules_ecore_imf_scim_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
80modules_ecore_imf_scim_module_la_LIBTOOLFLAGS = --tag=disable-static
81endif
82
83# Xim
84
85if BUILD_ECORE_IMF_XIM
86ecoreimfximpkgdir = $(libdir)/ecore_imf/modules/xim/$(MODULE_ARCH)
87ecoreimfximpkg_LTLIBRARIES = modules/ecore_imf/xim/module.la
88modules_ecore_imf_xim_module_la_SOURCES = \
89modules/ecore_imf/xim/ecore_imf_xim.c
90modules_ecore_imf_xim_module_la_CPPFLAGS = \
91@ECORE_IMF_CFLAGS@ \
92@ECORE_X_CFLAGS@ \
93@ecore_imf_xim_cflags@
94modules_ecore_imf_xim_module_la_LIBADD = \
95@USE_ECORE_IMF_LIBS@ \
96@USE_ECORE_X_LIBS@ \
97@ecore_imf_xim_libs@
98modules_ecore_imf_xim_module_la_DEPENDENCIES = \
99@USE_ECORE_IMF_INTERNAL_LIBS@ \
100@USE_ECORE_X_INTERNAL_LIBS@
101modules_ecore_imf_xim_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
102modules_ecore_imf_xim_module_la_LIBTOOLFLAGS = --tag=disable-static
103endif