The update text is markdown formatted, so add a simple markdown parser
[colorhug:deejay1s-colorhug-client.git] / src / Makefile.am
1 INCLUDES =                                              \
2         $(GLIB_CFLAGS)                                  \
3         $(GTK_CFLAGS)                                   \
4         $(GUSB_CFLAGS)                                  \
5         $(COLORD_CFLAGS)                                \
6         $(LCMS_CFLAGS)                                  \
7         $(SOUP_CFLAGS)                                  \
8         -DG_LOG_DOMAIN=\"Ch\"                           \
9         -DG_USB_API_IS_SUBJECT_TO_CHANGE                \
10         -DCH_DATA=\"$(pkgdatadir)\"                     \
11         -DLOCALEDIR=\""$(localedir)"\"
12
13 noinst_LIBRARIES = libchshared.a
14 libchshared_a_SOURCES =                                 \
15         ch-math.c                                       \
16         ch-math.h                                       \
17         ch-client.c                                     \
18         ch-client.h                                     \
19         ch-common.c                                     \
20         ch-common.h
21
22 libchshared_a_CFLAGS =                                  \
23         $(WARNINGFLAGS_C)
24
25 libexec_PROGRAMS =                                      \
26         colorhug                                        \
27         colorhug-inhx32-to-bin                          \
28         colorhug-gui
29
30 bin_PROGRAMS =                                          \
31         colorhug-ccmx                                   \
32         colorhug-flash
33
34 colorhug_SOURCES =                                      \
35         ch-main.c
36
37 colorhug_LDADD =                                        \
38         libchshared.a                                   \
39         $(LCMS_LIBS)                                    \
40         $(GUSB_LIBS)                                    \
41         $(GLIB_LIBS)                                    \
42         -lm
43
44 colorhug_CFLAGS =                                       \
45         $(WARNINGFLAGS_C)
46
47 colorhug_gui_SOURCES =                                  \
48         ch-util.c
49
50 colorhug_gui_LDADD =                                    \
51         libchshared.a                                   \
52         $(COLORD_LIBS)                                  \
53         $(GLIB_LIBS)                                    \
54         $(GTK_LIBS)                                     \
55         $(GUSB_LIBS)                                    \
56         -lm
57
58 colorhug_gui_CFLAGS =                                   \
59         $(WARNINGFLAGS_C)
60
61 colorhug_flash_SOURCES =                                \
62         ch-markdown.c                                   \
63         ch-markdown.h                                   \
64         ch-flash.c
65
66 colorhug_flash_LDADD =                                  \
67         libchshared.a                                   \
68         $(COLORD_LIBS)                                  \
69         $(GLIB_LIBS)                                    \
70         $(GTK_LIBS)                                     \
71         $(GUSB_LIBS)                                    \
72         $(SOUP_LIBS)                                    \
73         -lm
74
75 colorhug_flash_CFLAGS =                                 \
76         $(WARNINGFLAGS_C)
77
78 colorhug_ccmx_SOURCES =                                 \
79         ch-ccmx.c
80
81 colorhug_ccmx_LDADD =                                   \
82         libchshared.a                                   \
83         $(COLORD_LIBS)                                  \
84         $(GLIB_LIBS)                                    \
85         $(GTK_LIBS)                                     \
86         $(GUSB_LIBS)                                    \
87         $(SOUP_LIBS)                                    \
88         $(LCMS_LIBS)                                    \
89         -lm
90
91 colorhug_ccmx_CFLAGS =                                  \
92         $(WARNINGFLAGS_C)
93
94 colorhug_inhx32_to_bin_SOURCES =                        \
95         ch-inhx32-to-bin.c
96
97 colorhug_inhx32_to_bin_LDADD =                          \
98         $(GLIB_LIBS)                                    \
99         -lm
100
101 colorhug_inhx32_to_bin_CFLAGS =                         \
102         $(WARNINGFLAGS_C)
103
104 check_PROGRAMS =                                        \
105         ch-self-test
106
107 ch_self_test_SOURCES =                                  \
108         ch-self-test.c
109
110 ch_self_test_LDADD =                                    \
111         libchshared.a                                   \
112         $(GUSB_LIBS)                                    \
113         $(GLIB_LIBS)                                    \
114         -lm
115
116 ch_self_test_CFLAGS = $(WARNINGFLAGS_C)
117
118 TESTS = ch-self-test
119
120 MAINTAINERCLEANFILES =                                  \
121         $(srcdir)/libchshared.a
122
123 pkgdata_DATA =                                          \
124         ch-util.ui
125
126 EXTRA_DIST =                                            \
127         $(pkgdata_DATA)
128
129 -include $(top_srcdir)/git.mk