summaryrefslogtreecommitdiff
path: root/ecore/src/bin/Makefile.am
blob: 67e6a17836f0b41a4292f958f566580464f81a8c (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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
MAINTAINERCLEANFILES = Makefile.in

if BUILD_ECORE_EVAS
ECORE_EVAS_LIB = $(top_builddir)/src/lib/ecore_evas/libecore_evas.la
else
ECORE_EVAS_LIB =
endif

if BUILD_ECORE_X
ECORE_X_LIB = $(top_builddir)/src/lib/ecore_x/libecore_x.la
else
ECORE_X_LIB =
endif

if BUILD_ECORE_FB
ECORE_FB_LIB = $(top_builddir)/src/lib/ecore_fb/libecore_fb.la
else
ECORE_FB_LIB =
endif

if BUILD_ECORE_JOB
ECORE_JOB_LIB = $(top_builddir)/src/lib/ecore_job/libecore_job.la
else
ECORE_JOB_LIB =
endif

if BUILD_ECORE_CON
ECORE_CON_LIB = $(top_builddir)/src/lib/ecore_con/libecore_con.la
else
ECORE_CON_LIB =
endif

if BUILD_ECORE_IPC
ECORE_IPC_LIB = $(top_builddir)/src/lib/ecore_ipc/libecore_ipc.la
else
ECORE_IPC_LIB =
endif

if BUILD_ECORE_TXT
ECORE_TXT_LIB = $(top_builddir)/src/lib/ecore_txt/libecore_txt.la
else
ECORE_TXT_LIB =
endif

if BUILD_ECORE_CONFIG
ECORE_CONFIG_LIB = $(top_builddir)/src/lib/ecore_config/libecore_config.la
else
ECORE_CONFIG_LIB =
endif

INCLUDES = \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_evas \
-I$(top_srcdir)/src/lib/ecore_x \
-I$(top_srcdir)/src/lib/ecore_fb \
-I$(top_srcdir)/src/lib/ecore_job \
-I$(top_srcdir)/src/lib/ecore_con \
-I$(top_srcdir)/src/lib/ecore_ipc \
-I$(top_srcdir)/src/lib/ecore_txt @iconv_cflags@ \
-I$(top_srcdir)/src/lib/ecore_config \
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_evas \
-I$(top_builddir)/src/lib/ecore_x \
-I$(top_builddir)/src/lib/ecore_fb \
-I$(top_builddir)/src/lib/ecore_job \
-I$(top_builddir)/src/lib/ecore_con \
-I$(top_builddir)/src/lib/ecore_ipc \
-I$(top_builddir)/src/lib/ecore_txt @iconv_cflags@ \
-I$(top_builddir)/src/lib/ecore_config \
@evas_cflags@ \
@x_cflags@ \
@eet_cflags@

bin_PROGRAMS = \
ecore_test \
ecore_evas_test \
ecore_config

ecore_test_SOURCES = \
ecore_test.c

ecore_test_LDADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(ECORE_X_LIB) \
$(ECORE_TXT_LIB) \
$(ECORE_JOB_LIB) \
$(ECORE_FB_LIB) \
$(ECORE_EVAS_LIB) \
$(ECORE_CON_LIB) \
$(ECORE_IPC_LIB) \
-lm @iconv_libs@

ecore_test_CFLAGS = \
$(CFLAGS) \
$(INCLUDES)

ecore_test_DEPENDENCIES = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(ECORE_X_LIB) \
$(ECORE_TXT_LIB) \
$(ECORE_JOB_LIB) \
$(ECORE_FB_LIB) \
$(ECORE_EVAS_LIB) \
$(ECORE_CON_LIB) \
$(ECORE_IPC_LIB)

ecore_evas_test_SOURCES = \
ecore_evas_test.c \
ecore_evas_test_app.c \
ecore_evas_test_bg.c \
ecore_evas_test_calibrate.c \
ecore_evas_test.h

ecore_evas_test_LDADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(ECORE_X_LIB) \
$(ECORE_TXT_LIB) \
$(ECORE_JOB_LIB) \
$(ECORE_FB_LIB) \
$(ECORE_EVAS_LIB) \
$(ECORE_CON_LIB) \
$(ECORE_IPC_LIB) \
-lm @iconv_libs@

ecore_evas_test_CFLAGS = \
$(CFLAGS) \
$(INCLUDES)

ecore_evas_test_DEPENDENCIES = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(ECORE_JOB_LIB) \
$(ECORE_FB_LIB) \
$(ECORE_X_LIB) \
$(ECORE_EVAS_LIB) \
$(ECORE_CON_LIB) \
$(ECORE_IPC_LIB) \
$(ECORE_TXT_LIB)

ecore_config_SOURCES = \
ecore_config.c

ecore_config_LDADD = \
$(ECORE_CONFIG_LIB)

ecore_config_DEPENDENCIES = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(ECORE_CONFIG_LIB)