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 \
126 libmoon_la_SOURCES = \
132 asf/asf-generated.cpp \
134 asf/asf-structures.cpp \
150 deepzoomimagetilesource.cpp \
151 dependencyobject.cpp \
152 dependencyproperty.cpp \
153 dependencyproperty.g.cpp\
163 file-downloader.cpp \
166 frameworkelement.cpp \
174 layoutinformation.cpp \
176 managedtypeinfo.cpp \
183 moonlightconfiguration.cpp \
186 multiscaleimage.cpp \
187 multiscalesubimage.cpp \
208 tabnavigationwalker.cpp \
229 writeablebitmap.cpp \
240 libmoon_la_SOURCES += pipeline-ui.cpp
242 libmoon_la_SOURCES += pipeline-nocodec-ui.cpp
246 libmoon_la_SOURCES += pipeline-ffmpeg.cpp pipeline-ffmpeg.h
250 libmoon_la_SOURCES += audio-alsa.cpp audio-alsa.h
253 if INCLUDE_PULSEAUDIO
254 libmoon_la_SOURCES += audio-pulse.cpp audio-pulse.h
258 alpha-premul-table.inc \
259 morton-layout-table.inc \
261 incomplete-support.xaml \
265 $(libmoon_include_headers)
267 libmoon_la_LIBADD = $(MOON_LIBS)
269 libmoonxpi_la_LDFLAGS = -rpath /nowhere
271 libmoonxpi_la_LIBADD = $(MOON_XPI_LIBS)
273 libmoonxpi_la_SOURCES = $(libmoon_la_SOURCES)
275 runtime.lo: fullscreen.h incomplete-support.h
277 fullscreen.h: fullscreen.xaml xaml-to-header.exe
278 $(MONO) xaml-to-header.exe fullscreen.xaml FULLSCREEN_MESSAGE
280 incomplete-support.h: incomplete-support.xaml xaml-to-header.exe
281 $(MONO) xaml-to-header.exe incomplete-support.xaml INCOMPLETE_SUPPORT_MESSAGE
283 xaml-to-header.exe: xaml-to-header.cs
284 gmcs xaml-to-header.cs