[tickernoti, actionslider] TC - add Makefile
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 5 Nov 2010 04:43:52 +0000 (13:43 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 5 Nov 2010 04:43:52 +0000 (13:43 +0900)
TC/elm_ts/actionslider/Makefile [new file with mode: 0755]
TC/elm_ts/tickernoti/Makefile [new file with mode: 0755]

diff --git a/TC/elm_ts/actionslider/Makefile b/TC/elm_ts/actionslider/Makefile
new file mode 100755 (executable)
index 0000000..41bd9f0
--- /dev/null
@@ -0,0 +1,28 @@
+CC ?= gcc
+
+TARGETS = utc_elm_actionslider_add_func \
+                 utc_elm_actionslider_indicator_pos_set_func \
+                 utc_elm_actionslider_magnet_pos_set_func \
+                 utc_elm_actionslider_label_set_func \
+                 utc_elm_actionslider_hold_func 
+
+PKGS = elementary
+
+LDFLAGS = `pkg-config --libs $(PKGS)`
+LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
+
+CFLAGS = -I. `pkg-config --cflags $(PKGS)`
+CFLAGS += -I$(TET_ROOT)/inc/tet3
+CFLAGS += -Wall
+
+all: $(TARGETS)
+
+$(TARGET): %: %.c
+       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f $(TARGETS)
+       rm -f tet_captured
+       rm -f *~
diff --git a/TC/elm_ts/tickernoti/Makefile b/TC/elm_ts/tickernoti/Makefile
new file mode 100755 (executable)
index 0000000..669692c
--- /dev/null
@@ -0,0 +1,39 @@
+CC ?= gcc
+
+TARGETS = uts_elm_tickernoti_add_func \
+                 uts_elm_tickernoti_icon_set_func \
+                 uts_elm_tickernoti_icon_get_func \
+                 uts_elm_tickernoti_label_set_func \
+                 uts_elm_tickernoti_label_get_func \
+                 uts_elm_tickernoti_detailview_label_set_func \
+                 uts_elm_tickernoti_detailview_label_get_func \
+                 uts_elm_tickernoti_detailview_button_set_func \
+                 uts_elm_tickernoti_detailview_button_get_func \
+                 uts_elm_tickernoti_detailview_icon_set_func \
+                 uts_elm_tickernoti_detailview_icon_get_func \
+                 uts_elm_tickernoti_detailview_get_func \
+                 uts_elm_tickernoti_rotation_set_func \
+                 uts_elm_tickernoti_rotation_get_func \
+                 uts_elm_tickernoti_mode_set_func \
+                 uts_elm_tickernoti_mode_get_func 
+
+PKGS = elementary
+
+LDFLAGS = `pkg-config --libs $(PKGS)`
+LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
+
+CFLAGS = -I. `pkg-config --cflags $(PKGS)`
+CFLAGS += -I$(TET_ROOT)/inc/tet3
+CFLAGS += -Wall
+
+all: $(TARGETS)
+
+$(TARGET): %: %.c
+       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f $(TARGETS)
+       rm -f tet_captured
+       rm -f *~