summaryrefslogtreecommitdiff
path: root/src/dxr3/Makefile.am
blob: f8e88974b748715053ad562160ad53712b9fe4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
include $(top_srcdir)/misc/Makefile.common

AM_CFLAGS   = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
AM_CPPFLAGS = 
AM_LDFLAGS  = $(xineplug_ldflags)

if HAVE_X11
AM_CFLAGS  += $(X_CFLAGS)
link_x_libs = $(X_LIBS) -lXext
endif
if HAVE_LIBFAME
AM_CFLAGS += $(LIBFAME_CFLAGS)
link_fame  = $(LIBFAME_LIBS)
endif
if HAVE_LIBRTE
link_rte = -lrte
endif

noinst_HEADERS = em8300.h dxr3.h dxr3_scr.h video_out_dxr3.h

if ENABLE_DXR3
xineplug_LTLIBRARIES =	xineplug_decode_dxr3_video.la \
			xineplug_decode_dxr3_spu.la \
			xineplug_vo_out_dxr3.la
endif

xineplug_decode_dxr3_video_la_SOURCES = dxr3_decode_video.c
xineplug_decode_dxr3_video_la_LIBADD = $(XINE_LIB) $(LTLIBINTL)

if WITH_EXTERNAL_DVDNAV
xineplug_decode_dxr3_spu_la_SOURCES = dxr3_decode_spu.c
xineplug_decode_dxr3_spu_la_LIBADD = $(XINE_LIB) $(LTLIBINTL) $(DVDNAV_LIBS)
xineplug_decode_dxr3_spu_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)
else
xineplug_decode_dxr3_spu_la_SOURCES = dxr3_decode_spu.c nav_read.c
xineplug_decode_dxr3_spu_la_LIBADD = $(XINE_LIB) $(LTLIBINTL)
xineplug_decode_dxr3_spu_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/input/libdvdnav
endif

xineplug_vo_out_dxr3_la_SOURCES = \
	dxr3_mpeg_encoders.c \
	ffmpeg_encoder.c \
	dxr3_spu_encoder.c \
	dxr3_scr.c \
	video_out_dxr3.c 

xineplug_vo_out_dxr3_la_CFLAGS = $(AM_CFLAGS) $(AVUTIL_CFLAGS) $(FFMPEG_CFLAGS)
xineplug_vo_out_dxr3_la_LIBADD = $(XINE_LIB) $(link_fame) $(link_rte) $(link_x_libs) $(LTLIBINTL) $(AVUTIL_LIBS) $(FFMPEG_LIBS) -lm