aboutsummaryrefslogblamecommitdiffstats
path: root/src/Makefile_Ecore_IMF.am
blob: 87d0f63fab03d5d311e5e315fa17255197665561 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


           
                                                                 


                                           


                             





                                         
                                                                        


                                             
                                             


                                                                      
                                                             
 




                       

                                                                    





                                                                           
                                            


                                         
                                                                           
                    

                     
             
                                           
                      

                       
           



                                                 

                                                                       




                       

                                                                    





                                                                           
                                            


                                           
                                                                           
                    

                     
             
                                           
                      

                       
           



                                                 

                                                                       




                      

                                                                  





                                                                           
                                           
                                     
                                                                          
                    

                      
                                          





                                                

                                                                      
     




                                                                          





                                                                             








                                                                              
                  


                                              
                    


                                                    
                             


                                                                          

### 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