mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
Add a framebuffer implementation based on clutter instead of "raw" OpenGL. The performance is slightly worse, but it might bring some platform abstraction and other benefits for the future.
42 lines
750 B
Makefile
42 lines
750 B
Makefile
noinst_LTLIBRARIES = libgeneric.la
|
|
|
|
AM_CPPFLAGS = -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
|
|
AM_CPPFLAGS += -Wfatal-errors
|
|
AM_CPPFLAGS += \
|
|
-I$(top_srcdir)/common \
|
|
-I$(top_srcdir)/include \
|
|
@AVUTIL_CFLAGS@ \
|
|
@CLUTTER_CFLAGS@
|
|
|
|
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
|
|
|
|
AM_LDFLAGS = \
|
|
-lao \
|
|
-lOpenThreads \
|
|
@AVFORMAT_LIBS@ \
|
|
@AVUTIL_LIBS@ \
|
|
@AVCODEC_LIBS@ \
|
|
@SWRESAMPLE_LIBS@ \
|
|
@SWSCALE_LIBS@ \
|
|
@CLUTTER_LIBS@
|
|
|
|
if USE_OPENGL
|
|
AM_LDFLAGS += -lglut -lGL -lGLU -lGLEW -lao
|
|
endif
|
|
|
|
libgeneric_la_SOURCES = \
|
|
hardware_caps.c \
|
|
dmx.cpp \
|
|
video.cpp \
|
|
audio.cpp \
|
|
init.cpp \
|
|
playback.cpp \
|
|
record.cpp
|
|
|
|
if USE_CLUTTER
|
|
libgeneric_la_SOURCES += clutterfb.cpp
|
|
endif
|
|
if USE_OPENGL
|
|
libgeneric_la_SOURCES += glfb.cpp
|
|
endif
|