2009-12-03 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / src / Makefile.am
blobb4cef03d31d28733c85938774eea2c9893d9f31b
1 libmoon_includedir=$(includedir)/libmoon
3 lib_LTLIBRARIES = libmoon.la
4 noinst_LTLIBRARIES = libmoonxpi.la
5 noinst_SCRIPTS = xaml-to-header.exe
7 INCLUDES = $(MOON_CFLAGS) -Wall -DUSE_OPT_RGB24=1 -DG_LOG_DOMAIN=\"Moonlight\" -I$(top_srcdir)/plugin -I$(srcdir)/asf
9 libmoon_include_headers =       \
10         animation.h             \
11         application.h           \
12         applier.h               \
13         asf/asf-debug.h         \
14         asf/asf-generated.h     \
15         asf/asf-guids.h         \
16         asf/asf.h               \
17         asf/asf-structures.h    \
18         audio.h                 \
19         bitmapcache.h           \
20         bitmapimage.h           \
21         bitmapsource.h          \
22         border.h                \
23         brush.h                 \
24         canvas.h                \
25         cbinding.h              \
26         clock.h                 \
27         codec-url.h             \
28         collection.h            \
29         color.h                 \
30         contentcontrol.h        \
31         control.h               \
32         cornerradius.h          \
33         debug.h                 \
34         dependencyobject.h      \
35         dependencyproperty.h    \
36         deployment.h            \
37         deepzoomimagetilesource.h       \
38         dirty.h                 \
39         downloader.h            \
40         easing.h                \
41         enums.h                 \
42         effect.h                \
43         error.h                 \
44         eventargs.h             \
45         file-downloader.h       \
46         fontmanager.h           \
47         fonts.h                 \
48         fontfamily.h            \
49         fontsource.h            \
50         fontstretch.h           \
51         fontstyle.h             \
52         fontweight.h            \
53         frameworkelement.h      \
54         geometry.h              \
55         glyphs.h                \
56         grid.h                  \
57         http-streaming.h        \
58         imagesource.h           \
59         internal-downloader.h   \
60         keyboard.h              \
61         layout.h                \
62         layoutinformation.h     \
63         libmoon.h               \
64         list.h                  \
65         managedtypeinfo.h       \
66         media.h                 \
67         mediaelement.h          \
68         mediaplayer.h           \
69         messagebox.h            \
70         mms-downloader.h        \
71         moon-curves.h           \
72         moonlightconfiguration.h\
73         moon-path.h             \
74         mp3.h                   \
75         multiscaleimage.h       \
76         multiscalesubimage.h    \
77         mutex.h                 \
78         namescope.h             \
79         openfile.h              \
80         panel.h                 \
81         pipeline.h              \
82         pipeline-asf.h          \
83         pipeline-ui.h           \
84         pipeline-nocodec-ui.h   \
85         playlist.h              \
86         point.h                 \
87         popup.h                 \
88         projection.h            \
89         propertypath.h          \
90         provider.h              \
91         ptr.h                   \
92         rect.h                  \
93         region.h                \
94         resources.h             \
95         runtime.h               \
96         security.h              \
97         shape.h                 \
98         size.h                  \
99         style.h                 \
100         stylus.h                \
101         tabnavigationwalker.h   \
102         template.h              \
103         textblock.h             \
104         textbox.h               \
105         thickness.h             \
106         textoptions.h           \
107         tilesource.h            \
108         timeline.h              \
109         timemanager.h           \
110         timesource.h            \
111         transform.h             \
112         trigger.h               \
113         type.h                  \
114         uielement.h             \
115         uri.h                   \
116         usercontrol.h           \
117         utils.h                 \
118         validators.h            \
119         value.h                 \
120         window-gtk.h            \
121         window.h                \
122         writeablebitmap.h       \
123         xaml.h                  \
124         xap.h                   \
125         yuv-converter.h
127 libmoon_la_SOURCES =            \
128         animation.cpp           \
129         application.cpp         \
130         applier.cpp             \
131         asf/asf.cpp             \
132         asf/asf-debug.cpp       \
133         asf/asf-generated.cpp   \
134         asf/asf-guids.cpp       \
135         asf/asf-structures.cpp  \
136         audio.cpp               \
137         bitmapcache.cpp         \
138         bitmapimage.cpp         \
139         bitmapsource.cpp        \
140         border.cpp              \
141         brush.cpp               \
142         canvas.cpp              \
143         cbinding.cpp            \
144         clock.cpp               \
145         collection.cpp          \
146         color.cpp               \
147         contentcontrol.cpp      \
148         control.cpp             \
149         cornerradius.cpp        \
150         debug.cpp               \
151         deepzoomimagetilesource.cpp \
152         dependencyobject.cpp    \
153         dependencyproperty.cpp  \
154         dependencyproperty.g.cpp\
155         deployment.cpp          \
156         dirty.cpp               \
157         dirty.h                 \
158         downloader.cpp          \
159         easing.cpp              \
160         effect.cpp              \
161         enums.cpp               \
162         error.cpp               \
163         eventargs.cpp           \
164         file-downloader.cpp     \
165         fontmanager.cpp         \
166         fonts.cpp               \
167         frameworkelement.cpp    \
168         geometry.cpp            \
169         glyphs.cpp              \
170         grid.cpp                \
171         http-streaming.cpp      \
172         imagesource.cpp         \
173         keyboard.cpp            \
174         layout.cpp              \
175         layoutinformation.cpp   \
176         list.cpp                \
177         managedtypeinfo.cpp     \
178         media.cpp               \
179         mediaelement.cpp        \
180         mediaplayer.cpp         \
181         messagebox.cpp          \
182         mms-downloader.cpp      \
183         moon-curves.c           \
184         moonlightconfiguration.cpp      \
185         moon-path.c             \
186         mp3.cpp                 \
187         multiscaleimage.cpp     \
188         multiscalesubimage.cpp  \
189         namescope.cpp           \
190         openfile.cpp            \
191         panel.cpp               \
192         pipeline-asf.cpp        \
193         pipeline.cpp            \
194         pipeline-logo.cpp       \
195         playlist.cpp            \
196         point.cpp               \
197         popup.cpp               \
198         projection.cpp          \
199         provider.cpp            \
200         rect.cpp                \
201         region.cpp              \
202         resources.cpp           \
203         runtime.cpp             \
204         security.c              \
205         shape.cpp               \
206         size.cpp                \
207         style.cpp               \
208         stylus.cpp              \
209         tabnavigationwalker.cpp \
210         template.cpp            \
211         textblock.cpp           \
212         textbox.cpp             \
213         thickness.cpp           \
214         tilesource.cpp          \
215         timeline.cpp            \
216         timemanager.cpp         \
217         timesource.cpp          \
218         transform.cpp           \
219         trigger.cpp             \
220         type.cpp                \
221         type-generated.cpp      \
222         uielement.cpp           \
223         uri.cpp                 \
224         usercontrol.cpp         \
225         utils.cpp               \
226         validators.cpp          \
227         value.cpp               \
228         window.cpp              \
229         window-gtk.cpp          \
230         writeablebitmap.cpp     \
231         xaml.cpp                \
232         xap.cpp                 \
233         yuv-converter.cpp       \
234         zip/crypt.h             \
235         zip/ioapi.c             \
236         zip/ioapi.h             \
237         zip/unzip.c             \
238         zip/unzip.h
240 if CODECS_SUPPORTED
241 libmoon_la_SOURCES += pipeline-ui.cpp
242 else
243 libmoon_la_SOURCES += pipeline-nocodec-ui.cpp
244 endif
246 if INCLUDE_FFMPEG
247 libmoon_la_SOURCES += pipeline-ffmpeg.cpp pipeline-ffmpeg.h
248 endif
250 if INCLUDE_ALSA
251 libmoon_la_SOURCES += audio-alsa.cpp audio-alsa.h
252 endif
254 if INCLUDE_PULSEAUDIO
255 libmoon_la_SOURCES += audio-pulse.cpp audio-pulse.h
256 endif
258 EXTRA_DIST = \
259         alpha-premul-table.inc \
260         morton-layout-table.inc \
261         fullscreen.xaml \
262         incomplete-support.xaml \
263         xaml-to-header.cs \
264         zip/README \
265         zip/ChangeLogUnzip \
266         $(libmoon_include_headers)
268 libmoon_la_LIBADD = $(MOON_LIBS)
270 libmoonxpi_la_LDFLAGS = -rpath /nowhere
272 libmoonxpi_la_LIBADD = $(MOON_XPI_LIBS)
274 libmoonxpi_la_SOURCES = $(libmoon_la_SOURCES)
276 runtime.lo: fullscreen.h incomplete-support.h
278 fullscreen.h: fullscreen.xaml xaml-to-header.exe
279         $(MONO) xaml-to-header.exe fullscreen.xaml FULLSCREEN_MESSAGE
281 incomplete-support.h: incomplete-support.xaml xaml-to-header.exe
282         $(MONO) xaml-to-header.exe incomplete-support.xaml INCOMPLETE_SUPPORT_MESSAGE
284 xaml-to-header.exe: xaml-to-header.cs
285         gmcs xaml-to-header.cs