summaryrefslogblamecommitdiff
path: root/src/Makefile_Ecore_X.am
blob: 502f98171b442e9850d9b8b314b9f1c756bc1f2f (plain) (tree)
1
2
3
4
5
6
7
8
9
               







                                                           
                               


                             
                                     



                                      







































                                           
                                      








































                                          
                                



                                     
                                   
                     









                                    
                                                         
 





                                                 












                                                                                                                                       

         
                                       


                                                     
     

                                 
if HAVE_ECORE_X

### Library

lib_LTLIBRARIES += lib/ecore_x/libecore_x.la

installed_ecorexmainheadersdir = $(includedir)/ecore-@VMAJ@
dist_installed_ecorexmainheaders_DATA = \
lib/ecore_x/Ecore_X.h \
lib/ecore_x/ecore_x_version.h \
lib/ecore_x/Ecore_X_Atoms.h \
lib/ecore_x/Ecore_X_Cursor.h

lib_ecore_x_libecore_x_la_SOURCES = \
lib/ecore_x/ecore_x_atoms_decl.h

if HAVE_ECORE_X_XCB
lib_ecore_x_libecore_x_la_SOURCES += \
lib/ecore_x/xcb/ecore_xcb.c \
lib/ecore_x/xcb/ecore_xcb_atoms.c \
lib/ecore_x/xcb/ecore_xcb_extensions.c \
lib/ecore_x/xcb/ecore_xcb_shape.c \
lib/ecore_x/xcb/ecore_xcb_screensaver.c \
lib/ecore_x/xcb/ecore_xcb_sync.c \
lib/ecore_x/xcb/ecore_xcb_render.c \
lib/ecore_x/xcb/ecore_xcb_randr.c \
lib/ecore_x/xcb/ecore_xcb_xfixes.c \
lib/ecore_x/xcb/ecore_xcb_composite.c \
lib/ecore_x/xcb/ecore_xcb_cursor.c \
lib/ecore_x/xcb/ecore_xcb_damage.c \
lib/ecore_x/xcb/ecore_xcb_dnd.c \
lib/ecore_x/xcb/ecore_xcb_dpms.c \
lib/ecore_x/xcb/ecore_xcb_drawable.c \
lib/ecore_x/xcb/ecore_xcb_e.c \
lib/ecore_x/xcb/ecore_xcb_gc.c \
lib/ecore_x/xcb/ecore_xcb_image.c \
lib/ecore_x/xcb/ecore_xcb_input.c \
lib/ecore_x/xcb/ecore_xcb_gesture.c \
lib/ecore_x/xcb/ecore_xcb_mwm.c \
lib/ecore_x/xcb/ecore_xcb_pixmap.c \
lib/ecore_x/xcb/ecore_xcb_region.c \
lib/ecore_x/xcb/ecore_xcb_selection.c \
lib/ecore_x/xcb/ecore_xcb_textlist.c \
lib/ecore_x/xcb/ecore_xcb_events.c \
lib/ecore_x/xcb/ecore_xcb_keymap.c \
lib/ecore_x/xcb/ecore_xcb_netwm.c \
lib/ecore_x/xcb/ecore_xcb_icccm.c \
lib/ecore_x/xcb/ecore_xcb_window.c \
lib/ecore_x/xcb/ecore_xcb_window_prop.c \
lib/ecore_x/xcb/ecore_xcb_window_shape.c \
lib/ecore_x/xcb/ecore_xcb_window_shadow.c \
lib/ecore_x/xcb/ecore_xcb_xinerama.c \
lib/ecore_x/xcb/ecore_xcb_error.c \
lib/ecore_x/xcb/ecore_xcb_xtest.c \
lib/ecore_x/xcb/ecore_xcb_vsync.c \
lib/ecore_x/xcb/ecore_xcb_xdefaults.c \
lib/ecore_x/xcb/ecore_xcb_private.h
else
lib_ecore_x_libecore_x_la_SOURCES += \
lib/ecore_x/xlib/ecore_x.c \
lib/ecore_x/xlib/ecore_x_dnd.c \
lib/ecore_x/xlib/ecore_x_sync.c \
lib/ecore_x/xlib/ecore_x_randr.c \
lib/ecore_x/xlib/ecore_x_randr_11.c \
lib/ecore_x/xlib/ecore_x_randr_12.c \
lib/ecore_x/xlib/ecore_x_randr_12_edid.c \
lib/ecore_x/xlib/ecore_x_randr_13.c \
lib/ecore_x/xlib/ecore_x_fixes.c \
lib/ecore_x/xlib/ecore_x_damage.c \
lib/ecore_x/xlib/ecore_x_composite.c \
lib/ecore_x/xlib/ecore_x_error.c \
lib/ecore_x/xlib/ecore_x_events.c \
lib/ecore_x/xlib/ecore_x_icccm.c \
lib/ecore_x/xlib/ecore_x_netwm.c \
lib/ecore_x/xlib/ecore_x_mwm.c \
lib/ecore_x/xlib/ecore_x_e.c \
lib/ecore_x/xlib/ecore_x_selection.c \
lib/ecore_x/xlib/ecore_x_window.c \
lib/ecore_x/xlib/ecore_x_window_prop.c \
lib/ecore_x/xlib/ecore_x_window_shape.c \
lib/ecore_x/xlib/ecore_x_pixmap.c \
lib/ecore_x/xlib/ecore_x_gc.c \
lib/ecore_x/xlib/ecore_x_xinerama.c \
lib/ecore_x/xlib/ecore_x_screensaver.c \
lib/ecore_x/xlib/ecore_x_dpms.c \
lib/ecore_x/xlib/ecore_x_drawable.c \
lib/ecore_x/xlib/ecore_x_cursor.c \
lib/ecore_x/xlib/ecore_x_test.c \
lib/ecore_x/xlib/ecore_x_atoms.c \
lib/ecore_x/xlib/ecore_x_region.c \
lib/ecore_x/xlib/ecore_x_image.c \
lib/ecore_x/xlib/ecore_x_xi2.c \
lib/ecore_x/xlib/ecore_x_vsync.c \
lib/ecore_x/xlib/ecore_x_randr.h \
lib/ecore_x/xlib/ecore_x_gesture.c \
lib/ecore_x/xlib/ecore_x_private.h
endif

lib_ecore_x_libecore_x_la_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_builddir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_input \
-I$(top_srcdir)/src/lib/ecore_x \
-I$(top_builddir)/src/lib/ecore_x \
-DEFL_ECORE_X_BUILD \
@EFL_COV_CFLAGS@ \
@ECORE_X_CFLAGS@

lib_ecore_x_libecore_x_la_LIBADD = \
lib/ecore_input/libecore_input.la \
lib/ecore/libecore.la \
lib/eo/libeo.la \
lib/eina/libeina.la \
@ECORE_X_LIBS@

lib_ecore_x_libecore_x_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

MAINTAINERCLEANFILES += \
$(top_builddir)/src/lib/ecore_x/ecore_x_version.h

BUILT_SOURCES += \
$(top_builddir)/src/lib/ecore_x/ecore_x_version.h

if HAVE_ECORE_X_XCB
MAINTAINERCLEANFILES += \
$(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h \
$(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table_h

BUILT_SOURCES += \
$(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h

$(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h: $(KEYSYMDEFS) $(top_builddir)/src/utils/ecore/makekeys$(EXEEXT)
	$(top_builddir)/src/utils/ecore/makekeys $(KEYSYMDEFS) > $(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table_h
	mv -f $(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table_h $(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h
endif

### Utils

noinst_PROGRAMS += utils/ecore/makekeys

utils_ecore_makekeys_SOURCES = utils/ecore/makekeys.c

endif
EXTRA_DIST += utils/ecore/mkks.sh