aboutsummaryrefslogblamecommitdiffstats
path: root/src/Makefile_Ecore_Evas.am
blob: debc9963fcd1be6cfb5f4e332904ee8b59153dfb (plain) (tree)
1
2
3
4
5
6
7
8




                                                  
                                                                   
                                            
                                   



                                           

                                    
                                        
                                 
                                 
                                    
                                     
                                  
                                  
                                     
                                   

                                   
                                
 
                                                                          
                                                 
                                 
                                 
                                              
                                             


                                                                         
                                                               


         

                        


                                                          

                                                                              





                                                                                     
                                                                  
                                                                                    

                     

                                                   

                                                    

                      


                                                          

                                                                                

     
                       


                                                                        





                                                                               
                                                            
                                                                                 

                     

                                                       
                                                 




                                                       
                                                                             


                                                                          
                                


                                                                                





                                                                                       
                                                                    
                                                                                     

                      
                                                 
                                                     




                                                           
                                                                                 
                                                                              

     
                      


                                                                          





                                                                                 
                                                              
                                                                                  

                     
                                           
                                                  




                                                        
                                                                              
                                                                           

     
                           






                                                                                    





                                                                                           
                                                                        
                                                                                       
                     
                    

                                                      
                                                         

                        
                                                       
                       
                    

                                                             
                             
                                                                                   


                                                                                
                       



                                                                            





                                                                                   
                                                                
                                                                                   

                     
                                                 
                                               
                                                   




                                                         
                                                                               
                                                                            

     
                         



                                                                                 





                                                                                         
                                                                    
                                                                                     

                      
                                                         
                                                     
                                                     




                                                           
                                                                                 
                                                                              
     


                       






                                                 

                                                                            





                                                                                   


                                                                                   
                     
                
                                        
                                              






                                                         

                                                                               















                                                                                               
                     

                                                  
                   



                                                                              










                                                                                                                          

     


                 
                                   
                      

                                                                               


                                                                                                                                                           




                                                                                                                                              

### Library

lib_LTLIBRARIES += lib/ecore_evas/libecore_evas.la

installed_ecoreevasmainheadersdir = $(includedir)/ecore-evas-@VMAJ@
dist_installed_ecoreevasmainheaders_DATA = \
lib/ecore_evas/Ecore_Evas_Types.h \
lib/ecore_evas/Ecore_Evas.h

lib_ecore_evas_libecore_evas_la_SOURCES = \
lib/ecore_evas/ecore_evas.c \
lib/ecore_evas/ecore_evas_buffer.c \
lib/ecore_evas/ecore_evas_buffer.h \
lib/ecore_evas/ecore_evas_deprecated.c \
lib/ecore_evas/ecore_evas_drm.h \
lib/ecore_evas/ecore_evas_ews.c \
lib/ecore_evas/ecore_evas_module.c \
lib/ecore_evas/ecore_evas_private.h \
lib/ecore_evas/ecore_evas_extn.h \
lib/ecore_evas/ecore_evas_extn.c \
lib/ecore_evas/ecore_evas_wayland.h \
lib/ecore_evas/ecore_evas_cocoa.h \
lib/ecore_evas/ecore_evas_win32.h \
lib/ecore_evas/ecore_evas_x11.h \
lib/ecore_evas/ecore_evas_util.c

lib_ecore_evas_libecore_evas_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-I$(top_srcdir)/src/modules/evas/engines/buffer \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/ecore_evas\" \
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
@ECORE_EVAS_CFLAGS@
lib_ecore_evas_libecore_evas_la_LIBADD = @ECORE_EVAS_LIBS@
lib_ecore_evas_libecore_evas_la_DEPENDENCIES = @ECORE_EVAS_INTERNAL_LIBS@
lib_ecore_evas_libecore_evas_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

# Engines

if BUILD_ECORE_EVAS_EXTN
EXTNSOURCES = \
modules/ecore_evas/engines/extn/ecore_evas_extn.c \
modules/ecore_evas/engines/extn/ecore_evas_extn_engine.h \
modules/ecore_evas/engines/extn/ecore_evas_extn_buf.c
ecoreevasengineextnpkgdir = $(libdir)/ecore_evas/engines/extn/$(MODULE_ARCH)
ecoreevasengineextnpkg_LTLIBRARIES = modules/ecore_evas/engines/extn/module.la

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

modules_ecore_evas_engines_extn_module_la_SOURCES = $(EXTNSOURCES)
modules_ecore_evas_engines_extn_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_IPC_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/buffer \
-I$(top_srcdir)/src/modules/ecore_evas/engines/extn
modules_ecore_evas_engines_extn_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_IPC_LIBS@ \
@SHM_LIBS@
modules_ecore_evas_engines_extn_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_IPC_INTERNAL_LIBS@
modules_ecore_evas_engines_extn_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_extn_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_X11
XSOURCES = modules/ecore_evas/engines/x/ecore_evas_x.c
ecoreevasenginexpkgdir = $(libdir)/ecore_evas/engines/x/$(MODULE_ARCH)
ecoreevasenginexpkg_LTLIBRARIES = modules/ecore_evas/engines/x/module.la

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

modules_ecore_evas_engines_x_module_la_SOURCES = $(XSOURCES)
modules_ecore_evas_engines_x_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_X_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/software_x11 \
-I$(top_srcdir)/src/modules/evas/engines/gl_x11
modules_ecore_evas_engines_x_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_X_LIBS@
modules_ecore_evas_engines_x_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_X_INTERNAL_LIBS@
modules_ecore_evas_engines_x_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_x_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_OPENGL_COCOA
COCOASOURCES = modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
ecoreevasenginecocoapkgdir = $(libdir)/ecore_evas/engines/cocoa/$(MODULE_ARCH)
ecoreevasenginecocoapkg_LTLIBRARIES = modules/ecore_evas/engines/cocoa/module.la

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

modules_ecore_evas_engines_cocoa_module_la_SOURCES = $(COCOASOURCES)
modules_ecore_evas_engines_cocoa_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_COCOA_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/gl_cocoa
modules_ecore_evas_engines_cocoa_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_COCOA_LIBS@
modules_ecore_evas_engines_cocoa_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_COCOA_INTERNAL_LIBS@
modules_ecore_evas_engines_cocoa_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_cocoa_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_FB
FBSOURCES = modules/ecore_evas/engines/fb/ecore_evas_fb.c
ecoreevasenginefbpkgdir = $(libdir)/ecore_evas/engines/fb/$(MODULE_ARCH)
ecoreevasenginefbpkg_LTLIBRARIES = modules/ecore_evas/engines/fb/module.la

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

modules_ecore_evas_engines_fb_module_la_SOURCES = $(FBSOURCES)
modules_ecore_evas_engines_fb_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_FB_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/fb
modules_ecore_evas_engines_fb_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_FB_LIBS@
modules_ecore_evas_engines_fb_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_FB_INTERNAL_LIBS@
modules_ecore_evas_engines_fb_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_fb_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_WAYLAND
WAYLANDSOURCES = \
modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c \
modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c \
modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c \
modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
ecoreevasenginewaylandpkgdir = $(libdir)/ecore_evas/engines/wayland/$(MODULE_ARCH)
ecoreevasenginewaylandpkg_LTLIBRARIES = modules/ecore_evas/engines/wayland/module.la

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

modules_ecore_evas_engines_wayland_module_la_SOURCES = $(WAYLANDSOURCES)
modules_ecore_evas_engines_wayland_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_WL2_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/wayland_shm \
-I$(top_srcdir)/src/modules/evas/engines/wayland_egl \
-I$(top_srcdir)/src/modules/evas/engines/wayland_common \
@ECORE_WAYLAND_CFLAGS@ \
@ECORE_WL2_CFLAGS@
modules_ecore_evas_engines_wayland_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_WL2_LIBS@
modules_ecore_evas_engines_wayland_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_WL2_INTERNAL_LIBS@
modules_ecore_evas_engines_wayland_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_wayland_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_SDL
SDLSOURCES = \
modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
ecoreevasenginesdlpkgdir = $(libdir)/ecore_evas/engines/sdl/$(MODULE_ARCH)
ecoreevasenginesdlpkg_LTLIBRARIES = modules/ecore_evas/engines/sdl/module.la

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

modules_ecore_evas_engines_sdl_module_la_SOURCES = $(SDLSOURCES)
modules_ecore_evas_engines_sdl_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_SDL_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/buffer \
-I$(top_srcdir)/src/modules/evas/engines/gl_sdl
modules_ecore_evas_engines_sdl_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_SDL_LIBS@
modules_ecore_evas_engines_sdl_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_SDL_INTERNAL_LIBS@
modules_ecore_evas_engines_sdl_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_sdl_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_WIN32
WIN32SOURCES = \
modules/ecore_evas/engines/win32/ecore_evas_win32.c
ecoreevasengineswin32pkgdir = $(libdir)/ecore_evas/engines/win32/$(MODULE_ARCH)
ecoreevasengineswin32pkg_LTLIBRARIES = modules/ecore_evas/engines/win32/module.la

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

modules_ecore_evas_engines_win32_module_la_SOURCES = $(WIN32SOURCES)
modules_ecore_evas_engines_win32_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_WIN32_CFLAGS@ \
-I$(top_srcdir)/src/modules/evas/engines/software_ddraw \
-I$(top_srcdir)/src/modules/evas/engines/software_gdi
modules_ecore_evas_engines_win32_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_WIN32_LIBS@
modules_ecore_evas_engines_win32_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_WIN32_INTERNAL_LIBS@
modules_ecore_evas_engines_win32_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_win32_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_DRM
DRMSOURCES = \
modules/ecore_evas/engines/drm/ecore_evas_drm.c \
static_libs/libdrm/drm_fourcc.h \
static_libs/libdrm/drm.h \
static_libs/libdrm/drm_mode.h \
static_libs/libdrm/xf86drm.h \
static_libs/libdrm/xf86drmMode.h

ecoreevasenginedrmpkgdir = $(libdir)/ecore_evas/engines/drm/$(MODULE_ARCH)
ecoreevasenginedrmpkg_LTLIBRARIES = modules/ecore_evas/engines/drm/module.la

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

modules_ecore_evas_engines_drm_module_la_SOURCES = $(DRMSOURCES)
modules_ecore_evas_engines_drm_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_DRM2_CFLAGS@ \
@ELPUT_CFLAGS@ \
-I$(top_srcdir)/src/static_libs/libdrm \
-I$(top_srcdir)/src/modules/evas/engines/drm \
-I$(top_srcdir)/src/modules/evas/engines/gl_drm
modules_ecore_evas_engines_drm_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@USE_ECORE_DRM2_LIBS@
modules_ecore_evas_engines_drm_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_DRM2_INTERNAL_LIBS@
modules_ecore_evas_engines_drm_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_engines_drm_module_la_LIBTOOLFLAGS = --tag=disable-static
endif

if BUILD_ECORE_EVAS_VNC_SERVER
VNCSERVERSOURCES = \
modules/ecore_evas/vnc_server/ecore_evas_vnc_server.c
ecoreevasenginevncserverpkgdir = $(libdir)/ecore_evas/vnc_server/$(MODULE_ARCH)
ecoreevasenginevncserverpkg_LTLIBRARIES = modules/ecore_evas/vnc_server/module.la

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

modules_ecore_evas_vnc_server_module_la_SOURCES = $(VNCSERVERSOURCES)
modules_ecore_evas_vnc_server_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@LIBVNCSERVER_CFLAGS@
modules_ecore_evas_vnc_server_module_la_LIBADD = \
@USE_ECORE_EVAS_LIBS@ \
@LIBVNCSERVER_LIBS@
modules_ecore_evas_vnc_server_module_la_DEPENDENCIES = \
@USE_ECORE_EVAS_INTERNAL_LIBS@
modules_ecore_evas_vnc_server_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_ecore_evas_vnc_server_module_la_LIBTOOLFLAGS = --tag=disable-static
if BUILD_ECORE_EVAS_FB
modules_ecore_evas_vnc_server_module_la_CPPFLAGS += @ECORE_FB_CFLAGS@ -I$(top_srcdir)/src/modules/evas/engines/fb
modules_ecore_evas_vnc_server_module_la_LIBADD += @USE_ECORE_FB_LIBS@
VNCSERVERSOURCES += \
modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c \
modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.h
endif
if BUILD_ECORE_EVAS_X11
modules_ecore_evas_vnc_server_module_la_LIBADD += @USE_ECORE_X_LIBS@
modules_ecore_evas_vnc_server_module_la_CPPFLAGS += @ECORE_X_CFLAGS@ -I$(top_srcdir)/src/modules/evas/engines/software_x11
endif
endif

### Binary

bin_PROGRAMS += \
bin/ecore_evas/ecore_evas_convert \
bin/ecore_evas/eetpack

bin_ecore_evas_ecore_evas_convert_SOURCES = bin/ecore_evas/ecore_evas_convert.c
bin_ecore_evas_ecore_evas_convert_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_EVAS_CFLAGS@ @EINA_CFLAGS@ @ECORE_CFLAGS@ @EVAS_CFLAGS@
bin_ecore_evas_ecore_evas_convert_LDADD = @USE_ECORE_EVAS_LIBS@ @USE_EINA_LIBS@ @USE_ECORE_LIBS@ @USE_EVAS_LIBS@
bin_ecore_evas_ecore_evas_convert_DEPENDENCIES = @USE_ECORE_EVAS_INTERNAL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_EVAS_INTERNAL_LIBS@

bin_ecore_evas_eetpack_SOURCES = bin/ecore_evas/eetpack.c
bin_ecore_evas_eetpack_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_EVAS_CFLAGS@ @EINA_CFLAGS@ @EET_CFLAGS@ @EVAS_CFLAGS@
bin_ecore_evas_eetpack_LDADD = @USE_ECORE_EVAS_LIBS@ @USE_EINA_LIBS@ @USE_EET_LIBS@ @USE_EVAS_LIBS@
bin_ecore_evas_eetpack_DEPENDENCIES = @USE_ECORE_EVAS_INTERNAL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_EET_INTERNAL_LIBS@ @USE_EVAS_INTERNAL_LIBS@