forked from lc-soft/LCUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
executable file
·75 lines (56 loc) · 3.13 KB
/
Makefile.am
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
AUTOMAKE_OPTIONS=subdir-objects foreign
##设定在编译时头文件的查找位置
AM_CFLAGS = -I$(top_srcdir)/include $(CODE_COVERAGE_CFLAGS)
##需要编译的测试程序, noinst指的是不安装
noinst_PROGRAMS = helloworld test test_charset test_touch test_char_render \
test_string_render test_widget_render test_widget_layout test_widget_rect \
test_widget_opacity test_widget_flex_layout test_widget_inline_block_layout \
test_scaling_support test_widget test_scrollbar test_textview_resize \
test_image_scaling_bench
##指定测试程序的源码文件
helloworld_SOURCES = helloworld.c
##指定测试程序编译时需要链接的库
helloworld_LDADD = $(top_builddir)/src/libLCUI.la
test_SOURCES = test.c test_charset.c test_css_parser.c test_xml_parser.c \
test_string.c test_font_load.c test_image_reader.c test_widget_rect.c \
test_widget_layout.c test_widget_flex_layout.c test_textview_resize.c \
test_widget_inline_block_layout.c test_thread.c test_widget_opacity.c \
test_strpool.c test_linkedlist.c test_textedit.c test_object.c
test_LDADD = $(top_builddir)/src/libLCUI.la -lm $(CODE_COVERAGE_LIBS)
test_touch_SOURCES = test_touch.c
test_touch_LDADD = $(top_builddir)/src/libLCUI.la
test_char_render_SOURCES = test_char_render.c
test_char_render_LDADD = $(top_builddir)/src/libLCUI.la
test_string_render_SOURCES = test_string_render.c
test_string_render_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_render_SOURCES = test_widget_render.c
test_widget_render_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_layout_SOURCES = test_widget_layout.c
test_widget_layout_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_layout_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_widget_flex_layout_SOURCES = test_widget_flex_layout.c
test_widget_flex_layout_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_flex_layout_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_widget_inline_block_layout_SOURCES = test_widget_inline_block_layout.c
test_widget_inline_block_layout_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_inline_block_layout_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_charset_SOURCES = test_charset.c
test_charset_LDADD = $(top_builddir)/src/libLCUI.la
test_charset_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_textview_resize_SOURCES = test_textview_resize.c
test_textview_resize_LDADD = $(top_builddir)/src/libLCUI.la
test_textview_resize_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_widget_rect_SOURCES = test_widget_rect.c
test_widget_rect_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_rect_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_widget_opacity_SOURCES = test_widget_opacity.c
test_widget_opacity_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_opacity_CFLAGS = $(AM_CFLAGS) -D PREVIEW_MODE
test_scaling_support_SOURCES = test_scaling_support.c
test_scaling_support_LDADD = $(top_builddir)/src/libLCUI.la
test_scrollbar_SOURCES = test_scrollbar.c
test_scrollbar_LDADD = $(top_builddir)/src/libLCUI.la
test_widget_SOURCES = test_widget.c
test_widget_LDADD = $(top_builddir)/src/libLCUI.la
test_image_scaling_bench_LDADD = $(top_builddir)/src/libLCUI.la
@CODE_COVERAGE_RULES@