Makefile.am 1023 Bytes
Newer Older
1 2 3
guidir = $(pluginsdir)/gui
gui_LTLIBRARIES =

4
DIST_SUBDIRS += gui/macosx gui/qt gui/skins2
5 6 7 8

if ENABLE_MACOSX_UI
SUBDIRS += gui/macosx
endif
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
9
if ENABLE_QT
10
SUBDIRS += gui/qt
11 12 13 14 15 16 17 18 19 20 21 22 23
endif
if BUILD_SKINS
SUBDIRS += gui/skins2
endif

libncurses_plugin_la_SOURCES = gui/ncurses.c
libncurses_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(NCURSES_CFLAGS)
libncurses_plugin_la_LIBADD = $(NCURSES_LIBS) $(LIBPTHREAD) $(LIBM)
if HAVE_NCURSES
gui_LTLIBRARIES += libncurses_plugin.la
endif

EXTRA_DIST += gui/eject.c
24

David's avatar
David committed
25 26 27 28 29
libminimal_macosx_plugin_la_SOURCES = \
	gui/minimal_macosx/intf.h gui/minimal_macosx/intf.m \
	gui/minimal_macosx/misc.h gui/minimal_macosx/misc.m \
	gui/minimal_macosx/VLCMinimalVoutWindow.h gui/minimal_macosx/VLCMinimalVoutWindow.m \
	gui/minimal_macosx/macosx.c
30
libminimal_macosx_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc -fobjc-exceptions
David's avatar
David committed
31 32 33
libminimal_macosx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)' -Wl,-framework,Cocoa
EXTRA_LTLIBRARIES += libminimal_macosx_plugin.la
gui_LTLIBRARIES += $(LTLIBminimal_macosx)