aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_X.am
blob: 31c9f3735cf5ee359ed5d8b7ef7f308b76d1c605 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
if HAVE_ECORE_X

### Library

lib_LTLIBRARIES += lib/ecore_x/libecore_x.la

installed_ecorexmainheadersdir = $(includedir)/ecore-x-@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_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_gesture.c \
lib/ecore_x/xlib/ecore_x_private.h
endif

lib_ecore_x_libecore_x_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_X_CFLAGS@
lib_ecore_x_libecore_x_la_LIBADD = @ECORE_X_LIBS@
lib_ecore_x_libecore_x_la_DEPENDENCIES = @ECORE_X_INTERNAL_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) 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
utils_ecore_makekeys_CFLAGS = @ECORE_X_CFLAGS@

endif
EXTRA_DIST += utils/ecore/mkks.sh