SmartAudio/package/allwinner/tina_multimedia/libcedarx/demo/xplayerdemo/Makefile.am

45 lines
1.4 KiB
Makefile
Raw Normal View History

2018-07-13 01:31:50 +00:00
include $(top_srcdir)/Makefile.inc
bin_PROGRAMS = xplayerdemo
xplayerdemo_SOURCES = ./xplayerdemo.c \
./layerControl_null.c \
./soundControl_tinyalsa.c \
./subtitleControl_null.c \
./deinterlace_null.c \
./pcm.c \
./mixer.c \
./pcm_api.c
#./soundControl_alsa.c
xplayerdemo_CFLAGS = $(CFLAGS_CDXG)
#xplayerdemo_CPPFLAGS = $(CPPFLAGS_CDXG)
LOCAL_INCLUDE = -I$(top_srcdir) \
-I$(top_srcdir)/xplayer/include \
-I$(top_srcdir)/libcore/common/iniparser \
-I$(top_srcdir)/libcore/base/include \
-I$(top_srcdir)/libcore/stream/include \
-I$(top_srcdir)/libcore/playback/include \
-I$(top_srcdir)/libcore/parser/include \
-I$(top_srcdir)/external/include/adecoder \
-I$(top_srcdir)/external/include/ \
-I$(top_srcdir)/../libcedarc/include
xplayerdemo_CFLAGS += $(LOCAL_INCLUDE)
#xplayerdemo_CPPFLAGS += $(LOCAL_INCLUDE)
xplayerdemo_LDFLAGS = $(LDFLAGS_CDXG)
xplayerdemo_LDADD = $(top_srcdir)/libcore/parser/base/libcdx_parser.la \
$(top_srcdir)/libcore/base/libcdx_base.la \
$(top_srcdir)/libcore/stream/base/libcdx_stream.la \
$(top_srcdir)/libcore/playback/libcdx_playback.la \
$(top_srcdir)/xplayer/libxplayer.la \
$(top_srcdir)/libcore/common/libcdx_common.la
#-rt
LOCAL_LIB = -dl -lrt -lpthread -lz -lm -lcdc_vdecoder -ladecoder -lm -lcdc_sdecoder -lcdc_ve \
-lcdc_memory -lcdc_base -lcdc_videoengine
#-lsalsa
xplayerdemo_LDFLAGS += $(LOCAL_LIB)