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 = \
17 asf/asf-structures.h \
35 dependencyproperty.h \
37 deepzoomimagetilesource.h \
59 internal-downloader.h \
72 moonlightconfiguration.h\
76 multiscalesubimage.h \
84 pipeline-nocodec-ui.h \
101 tabnavigationwalker.h \
127 libmoon_la_SOURCES = \
133 asf/asf-generated.cpp \
135 asf/asf-structures.cpp \
151 deepzoomimagetilesource.cpp \
152 dependencyobject.cpp \
153 dependencyproperty.cpp \
154 dependencyproperty.g.cpp\
164 file-downloader.cpp \
167 frameworkelement.cpp \
175 layoutinformation.cpp \
177 managedtypeinfo.cpp \
184 moonlightconfiguration.cpp \
187 multiscaleimage.cpp \
188 multiscalesubimage.cpp \
209 tabnavigationwalker.cpp \
230 writeablebitmap.cpp \
241 libmoon_la_SOURCES += pipeline-ui.cpp
243 libmoon_la_SOURCES += pipeline-nocodec-ui.cpp
247 libmoon_la_SOURCES += pipeline-ffmpeg.cpp pipeline-ffmpeg.h
251 libmoon_la_SOURCES += audio-alsa.cpp audio-alsa.h
254 if INCLUDE_PULSEAUDIO
255 libmoon_la_SOURCES += audio-pulse.cpp audio-pulse.h
259 alpha-premul-table.inc \
260 morton-layout-table.inc \
262 incomplete-support.xaml \
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