emotion: restore/save last know position for file.
[profile/ivi/emotion.git] / src / lib / Makefile.am
1
2 MAINTAINERCLEANFILES = Makefile.in
3
4 AM_CPPFLAGS = \
5 -I$(top_srcdir) \
6 -I$(top_srcdir)/src/lib \
7 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
8 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
9 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
10 @EMOTION_CPPFLAGS@ \
11 @EMOTION_CFLAGS@ \
12 @EIO_CFLAGS@ \
13 @EFL_EMOTION_BUILD@
14
15 if EMOTION_STATIC_BUILD_XINE
16 AM_CPPFLAGS += @XINE_CFLAGS@
17 endif
18
19 if EMOTION_STATIC_BUILD_GSTREAMER
20 AM_CPPFLAGS += @GSTREAMER_CFLAGS@
21 endif
22
23 if EMOTION_STATIC_BUILD_VLC
24 AM_CPPFLAGS += @VLC_CFLAGS@
25 endif
26
27 lib_LTLIBRARIES      = libemotion.la
28 includes_HEADERS      = Emotion.h
29 includesdir = $(includedir)/emotion-@VMAJ@
30
31 libemotion_la_SOURCES = emotion_smart.c
32
33 if EMOTION_STATIC_BUILD_XINE
34 libemotion_la_SOURCES += \
35 $(top_srcdir)/src/modules/xine/emotion_xine.c \
36 $(top_srcdir)/src/modules/xine/emotion_xine_vo_out.c
37 endif
38
39 if EMOTION_STATIC_BUILD_GSTREAMER
40 libemotion_la_SOURCES += \
41 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer.c \
42 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline.c
43 endif
44
45 if EMOTION_STATIC_BUILD_VLC
46 libemotion_la_SOURCES += \
47 $(top_srcdir)/src/modules/vlc/emotion_vlc.c
48 endif
49
50 libemotion_la_LIBADD = @EMOTION_LIBS@ @EIO_LIBS@
51
52 if EMOTION_STATIC_BUILD_XINE
53 libemotion_la_LIBADD += @XINE_LIBS@
54 endif
55
56 if EMOTION_STATIC_BUILD_GSTREAMER
57 libemotion_la_LIBADD += @GSTREAMER_LIBS@
58 endif
59
60 if EMOTION_STATIC_BUILD_VLC
61 libemotion_la_LIBADD += @VLC_LIBS@
62 endif
63
64 libemotion_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@
65
66 EXTRA_DIST = emotion_private.h