2009-12-07 Rolf Bjarne Kvinge <RKvinge@novell.com>
[moon.git] / src / Makefile.am
blob78b5c48eac64896878b6827e76bb9685ac81c6e2
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         textoptions.h           \
106         thickness.h             \
107         textoptions.h           \
108         tilesource.h            \
109         timeline.h              \
110         timemanager.h           \
111         timesource.h            \
112         transform.h             \
113         trigger.h               \
114         type.h                  \
115         uielement.h             \
116         uri.h                   \
117         usercontrol.h           \
118         utils.h                 \
119         validators.h            \
120         value.h                 \
121         window-gtk.h            \
122         window.h                \
123         writeablebitmap.h       \
124         xaml.h                  \
125         xap.h                   \
126         yuv-converter.h
128 libmoon_la_SOURCES =            \
129         animation.cpp           \
130         application.cpp         \
131         applier.cpp             \
132         asf/asf.cpp             \
133         asf/asf-debug.cpp       \
134         asf/asf-generated.cpp   \
135         asf/asf-guids.cpp       \
136         asf/asf-structures.cpp  \
137         audio.cpp               \
138         bitmapcache.cpp         \
139         bitmapimage.cpp         \
140         bitmapsource.cpp        \
141         border.cpp              \
142         brush.cpp               \
143         canvas.cpp              \
144         cbinding.cpp            \
145         clock.cpp               \
146         collection.cpp          \
147         color.cpp               \
148         contentcontrol.cpp      \
149         control.cpp             \
150         cornerradius.cpp        \
151         debug.cpp               \
152         deepzoomimagetilesource.cpp \
153         dependencyobject.cpp    \
154         dependencyproperty.cpp  \
155         dependencyproperty.g.cpp\
156         deployment.cpp          \
157         dirty.cpp               \
158         dirty.h                 \
159         downloader.cpp          \
160         easing.cpp              \
161         effect.cpp              \
162         enums.cpp               \
163         error.cpp               \
164         eventargs.cpp           \
165         file-downloader.cpp     \
166         fontmanager.cpp         \
167         fonts.cpp               \
168         frameworkelement.cpp    \
169         geometry.cpp            \
170         glyphs.cpp              \
171         grid.cpp                \
172         http-streaming.cpp      \
173         imagesource.cpp         \
174         keyboard.cpp            \
175         layout.cpp              \
176         layoutinformation.cpp   \
177         list.cpp                \
178         managedtypeinfo.cpp     \
179         media.cpp               \
180         mediaelement.cpp        \
181         mediaplayer.cpp         \
182         messagebox.cpp          \
183         mms-downloader.cpp      \
184         moon-curves.c           \
185         moonlightconfiguration.cpp      \
186         moon-path.c             \
187         mp3.cpp                 \
188         multiscaleimage.cpp     \
189         multiscalesubimage.cpp  \
190         namescope.cpp           \
191         openfile.cpp            \
192         panel.cpp               \
193         pipeline-asf.cpp        \
194         pipeline.cpp            \
195         pipeline-logo.cpp       \
196         playlist.cpp            \
197         point.cpp               \
198         popup.cpp               \
199         projection.cpp          \
200         provider.cpp            \
201         rect.cpp                \
202         region.cpp              \
203         resources.cpp           \
204         runtime.cpp             \
205         security.c              \
206         shape.cpp               \
207         size.cpp                \
208         style.cpp               \
209         stylus.cpp              \
210         tabnavigationwalker.cpp \
211         template.cpp            \
212         textblock.cpp           \
213         textbox.cpp             \
214         thickness.cpp           \
215         tilesource.cpp          \
216         timeline.cpp            \
217         timemanager.cpp         \
218         timesource.cpp          \
219         transform.cpp           \
220         trigger.cpp             \
221         type.cpp                \
222         type-generated.cpp      \
223         uielement.cpp           \
224         uri.cpp                 \
225         usercontrol.cpp         \
226         utils.cpp               \
227         validators.cpp          \
228         value.cpp               \
229         window.cpp              \
230         window-gtk.cpp          \
231         writeablebitmap.cpp     \
232         xaml.cpp                \
233         xap.cpp                 \
234         yuv-converter.cpp       \
235         zip/crypt.h             \
236         zip/ioapi.c             \
237         zip/ioapi.h             \
238         zip/unzip.c             \
239         zip/unzip.h
241 if CODECS_SUPPORTED
242 libmoon_la_SOURCES += pipeline-ui.cpp
243 else
244 libmoon_la_SOURCES += pipeline-nocodec-ui.cpp
245 endif
247 if INCLUDE_FFMPEG
248 libmoon_la_SOURCES += pipeline-ffmpeg.cpp pipeline-ffmpeg.h
249 endif
251 if INCLUDE_ALSA
252 libmoon_la_SOURCES += audio-alsa.cpp audio-alsa.h
253 endif
255 if INCLUDE_PULSEAUDIO
256 libmoon_la_SOURCES += audio-pulse.cpp audio-pulse.h
257 endif
259 EXTRA_DIST = \
260         alpha-premul-table.inc \
261         morton-layout-table.inc \
262         fullscreen.xaml \
263         incomplete-support.xaml \
264         xaml-to-header.cs \
265         zip/README \
266         zip/ChangeLogUnzip \
267         $(libmoon_include_headers)
269 libmoon_la_LIBADD = $(MOON_LIBS)
271 libmoonxpi_la_LDFLAGS = -rpath /nowhere
273 libmoonxpi_la_LIBADD = $(MOON_XPI_LIBS)
275 libmoonxpi_la_SOURCES = $(libmoon_la_SOURCES)
277 runtime.lo: fullscreen.h incomplete-support.h
279 fullscreen.h: fullscreen.xaml xaml-to-header.exe
280         $(MONO) xaml-to-header.exe fullscreen.xaml FULLSCREEN_MESSAGE
282 incomplete-support.h: incomplete-support.xaml xaml-to-header.exe
283         $(MONO) xaml-to-header.exe incomplete-support.xaml INCOMPLETE_SUPPORT_MESSAGE
285 xaml-to-header.exe: xaml-to-header.cs
286         gmcs xaml-to-header.cs