summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/Makefile.am
blob: cf2dadce1e5683fba879e47aa20f69c6371d1c3f (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/src/lib \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EMOTION_CPPFLAGS@ \
@EMOTION_CFLAGS@ \
@EIO_CFLAGS@ \
@EFL_EMOTION_BUILD@

if EMOTION_STATIC_BUILD_XINE
AM_CPPFLAGS += @XINE_CFLAGS@
endif

if EMOTION_STATIC_BUILD_GSTREAMER
AM_CPPFLAGS += @GSTREAMER_CFLAGS@
endif

if EMOTION_STATIC_BUILD_VLC
AM_CPPFLAGS += @VLC_CFLAGS@
endif

lib_LTLIBRARIES      = libemotion.la
includes_HEADERS      = Emotion.h
includesdir = $(includedir)/emotion-@VMAJ@

libemotion_la_SOURCES = emotion_smart.c

if EMOTION_STATIC_BUILD_XINE
libemotion_la_SOURCES += \
$(top_srcdir)/src/modules/xine/emotion_xine.c \
$(top_srcdir)/src/modules/xine/emotion_xine_vo_out.c
endif

if EMOTION_STATIC_BUILD_GSTREAMER
libemotion_la_SOURCES += \
$(top_srcdir)/src/modules/gstreamer/emotion_gstreamer.c \
$(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline.c
endif

if EMOTION_STATIC_BUILD_VLC
libemotion_la_SOURCES += \
$(top_srcdir)/src/modules/vlc/emotion_vlc.c
endif

libemotion_la_LIBADD = @EMOTION_LIBS@ @EIO_LIBS@

if EMOTION_STATIC_BUILD_XINE
libemotion_la_LIBADD += @XINE_LIBS@
endif

if EMOTION_STATIC_BUILD_GSTREAMER
libemotion_la_LIBADD += @GSTREAMER_LIBS@
endif

if EMOTION_STATIC_BUILD_VLC
libemotion_la_LIBADD += @VLC_LIBS@
endif

libemotion_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@

EXTRA_DIST = emotion_private.h