Tizen 2.1 base
[platform/framework/web/web-ui-fw.git] / src / widgets / common / Makefile
1 OUTPUT = ../../compiled
2
3 JS = jquery.mobile.toolkit.js
4 JS_THEME = theme.js
5 CSS_THEME = theme.css
6
7 JSFILES = \
8     js/jquery.easing.1.3.js \
9     js/jquery.mobile.scrollview.js \
10     js/tizen.core.js \
11         js/jquery.tmpl.js \
12         $(NULL)
13
14 JS_THEME_FILES = \
15     $(NULL)
16
17 CSSFILES = \
18     $(NULL)
19
20 CSS_THEME_FILES = \
21     css/jquery.mobile.scrollview.css \
22     $(NULL)
23
24 all: init js js_theme css css_theme
25         # Done.
26
27 js: init
28         # Building the Javascript file...
29 #       @@if test "x${JSFILES}x" != "xx"; then
30           cat ${JSFILES} >> ${OUTPUT}/${JS};
31 #       fi
32
33 js_theme: init
34         # Building the Javascript theme file...
35         @@if test "x${JS_THEME_FILES}x" != "xx"; then \
36           cat ${JS_THEME_FILES} >> ${OUTPUT}/${JS_THEME}; \
37         fi
38
39 css: init
40         # Building the CSS file...
41         @@if test "x${CSSFILES}x" != "xx"; then \
42           cat ${CSSFILES} >> ${OUTPUT}/${CSS}; \
43         fi
44
45 css_theme: init
46         # Building the CSS theme file...
47         @@if test "x${CSS_THEME_FILES}x" != "xx"; then \
48           cat ${CSS_THEME_FILES} >> ${OUTPUT}/${CSS_THEME}; \
49         fi
50
51 init:
52         # Initializing...
53         @@if ! test -d ${OUTPUT}; then \
54           mkdir ${OUTPUT}; \
55         fi
56
57 clean:
58         @@true