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 \
128 libmoon_la_SOURCES = \
134 asf/asf-generated.cpp \
136 asf/asf-structures.cpp \
152 deepzoomimagetilesource.cpp \
153 dependencyobject.cpp \
154 dependencyproperty.cpp \
155 dependencyproperty.g.cpp\
165 file-downloader.cpp \
168 frameworkelement.cpp \
176 layoutinformation.cpp \
178 managedtypeinfo.cpp \
185 moonlightconfiguration.cpp \
188 multiscaleimage.cpp \
189 multiscalesubimage.cpp \
210 tabnavigationwalker.cpp \
231 writeablebitmap.cpp \
242 libmoon_la_SOURCES += pipeline-ui.cpp
244 libmoon_la_SOURCES += pipeline-nocodec-ui.cpp
248 libmoon_la_SOURCES += pipeline-ffmpeg.cpp pipeline-ffmpeg.h
252 libmoon_la_SOURCES += audio-alsa.cpp audio-alsa.h
255 if INCLUDE_PULSEAUDIO
256 libmoon_la_SOURCES += audio-pulse.cpp audio-pulse.h
260 alpha-premul-table.inc \
261 morton-layout-table.inc \
263 incomplete-support.xaml \
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