Move Emotion.h to own dir.
[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 @EFL_EMOTION_BUILD@
13
14 if EMOTION_STATIC_BUILD_XINE
15 AM_CPPFLAGS += @XINE_CFLAGS@
16 endif
17
18 if EMOTION_STATIC_BUILD_GSTREAMER
19 AM_CPPFLAGS += @GSTREAMER_CFLAGS@
20 endif
21
22 if EMOTION_STATIC_BUILD_VLC
23 AM_CPPFLAGS += @VLC_CFLAGS@
24 endif
25
26 lib_LTLIBRARIES      = libemotion.la
27 includes_HEADERS      = Emotion.h
28 includesdir = $(includedir)/emotion-@VMAJ@
29
30 libemotion_la_SOURCES = emotion_smart.c
31
32 if EMOTION_STATIC_BUILD_XINE
33 libemotion_la_SOURCES += \
34 $(top_srcdir)/src/modules/xine/emotion_xine.c \
35 $(top_srcdir)/src/modules/xine/emotion_xine_vo_out.c
36 endif
37
38 if EMOTION_STATIC_BUILD_GSTREAMER
39 libemotion_la_SOURCES += \
40 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer.c \
41 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline.c \
42 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_cdda.c \
43 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_dvd.c \
44 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_file.c \
45 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_uri.c \
46 $(top_srcdir)/src/modules/gstreamer/emotion_gstreamer_pipeline_v4l.c
47 endif
48
49 if EMOTION_STATIC_BUILD_VLC
50 libemotion_la_SOURCES += \
51 $(top_srcdir)/src/modules/vlc/emotion_vlc.c
52 endif
53
54 libemotion_la_LIBADD = @EMOTION_LIBS@
55
56 if EMOTION_STATIC_BUILD_XINE
57 libemotion_la_LIBADD += @XINE_LIBS@
58 endif
59
60 if EMOTION_STATIC_BUILD_GSTREAMER
61 libemotion_la_LIBADD += @GSTREAMER_LIBS@
62 endif
63
64 if EMOTION_STATIC_BUILD_VLC
65 libemotion_la_LIBADD += @VLC_LIBS@
66 endif
67
68 libemotion_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@
69
70 EXTRA_DIST = emotion_private.h