Merge changes I1c44532b,I22477f1c
[framework/uifw/elementary.git] / TC / elm_ts / ctxpopup / Makefile
1 CC ?= gcc
2
3 TARGETS = utc_UIFW_elm_ctxpopup_add_func \
4           utc_UIFW_elm_ctxpopup_horizontal_set_func \
5           utc_UIFW_elm_ctxpopup_horizontal_get_func \
6           utc_UIFW_elm_ctxpopup_item_append_func \
7           utc_UIFW_elm_ctxpopup_item_icon_set_func \
8           utc_UIFW_elm_ctxpopup_item_label_set_func \
9           utc_UIFW_elm_ctxpopup_item_del_func \
10           utc_UIFW_elm_ctxpopup_item_disabled_set_func \
11           utc_UIFW_elm_ctxpopup_item_disabled_get_func \
12           utc_UIFW_elm_ctxpopup_clear_func \
13           utc_UIFW_elm_ctxpopup_item_label_get_func \
14           utc_UIFW_elm_ctxpopup_item_icon_get_func \
15           utc_UIFW_elm_ctxpopup_direction_priority_set_func \
16           utc_UIFW_elm_ctxpopup_direction_priority_get_func \
17           utc_UIFW_elm_ctxpopup_content_set_func \
18           utc_UIFW_elm_ctxpopup_content_unset_func \
19           utc_UIFW_elm_ctxpopup_hover_parent_set_func \
20           utc_UIFW_elm_ctxpopup_hover_parent_get_func
21
22 PKGS = elementary evas
23
24 LDFLAGS = `pkg-config --libs $(PKGS)`
25 LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
26 LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
27 LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
28
29 CFLAGS = -I. `pkg-config --cflags $(PKGS)`
30 CFLAGS += -I$(TET_ROOT)/inc/tet3
31 CFLAGS += -Wall
32
33 all: $(TARGETS)
34
35 $(TARGETS): %: %.c
36         $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
37
38 clean:
39         rm -f $(TARGETS)
40         rm -f tet_captured
41         rm -f *~