summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2013-09-01 19:41:13 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-04-03 16:23:04 -0300
commit196cdb70b84958dd827797f86e78abd798e48cf7 (patch)
treefa94c67c0794b8dd8d64b8e216daccc20801c584 /Makefile.am
parentc984cf740b8625571a5d1617e0c3911fc27c11f9 (diff)
Adding common code
Init/shutdown used libraries and including common headers.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am59
1 files changed, 44 insertions, 15 deletions
diff --git a/Makefile.am b/Makefile.am
index b83945d..63de1e8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,7 @@ AM_CFLAGS = \
4 -DPACKAGE_DATA_DIR=\"$(pkgdatadir)/\" \ 4 -DPACKAGE_DATA_DIR=\"$(pkgdatadir)/\" \
5 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 5 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
6 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 6 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
7 -I$(top_srcdir)/src/lib/ \
7 @EFL_CFLAGS@ \ 8 @EFL_CFLAGS@ \
8 @PULSE_CFLAGS@ 9 @PULSE_CFLAGS@
9 10
@@ -22,21 +23,54 @@ MAINTAINERCLEANFILES = \
22 mkinstalldirs 23 mkinstalldirs
23EXTRA_DIST = 24EXTRA_DIST =
24 25
26lib_LTLIBRARIES = \
27 src/lib/libepulse.la
28
29src_lib_libepulse_la_SOURCES = \
30 src/lib/common.c \
31 src/lib/common.h \
32 src/lib/epulse_ml.c \
33 src/lib/epulse.c \
34 src/lib/epulse.h
35
36src_lib_libepulse_la_LIBADD = @EFL_LIBS@ @PULSE_LIBS@
37src_lib_libepulse_la_LDFLAGS = -no-undefined -avoid-version
38src_lib_libepulse_la_LIBTOOLFLAGS = --tag=disable-static
39
25bin_PROGRAMS = \ 40bin_PROGRAMS = \
26 src/epulse 41 src/bin/epulse
27 42
28src_epulse_LDADD = \ 43src_bin_epulse_LDADD = \
29 @EFL_LIBS@ \ 44 $(top_builddir)/src/lib/libepulse.la \
45 @EFL_LIBS@ \
30 @PULSE_LIBS@ 46 @PULSE_LIBS@
31 47
32src_epulse_SOURCES = \ 48src_bin_epulse_SOURCES = \
33 src/main.c 49 src/bin/main_window.h \
50 src/bin/main_window.c \
51 src/bin/playbacks_view.h \
52 src/bin/playbacks_view.c \
53 src/bin/sinks_view.h \
54 src/bin/sinks_view.c \
55 src/bin/sources_view.h \
56 src/bin/sources_view.c \
57 src/bin/main.c
58
59moduledir = $(pkgdir)/$(MODULE_ARCH)
60module_LTLIBRARIES = src/module/module.la
61
62src_module_module_la_SOURCES = \
63 src/module/e_mod_main.c \
64 src/module/e_mod_main.h
65
66src_module_module_la_LIBADD = \
67 $(top_builddir)/src/lib/libepulse.la \
68 @EFL_LIBS@ \
69 @PULSE_LIBS@
34 70
35# Themes are compiled with edje_cc given by user (cross-compile) 71src_module_module_la_LDFLAGS = -module -avoid-version
36EDJE_CC = @edje_cc@ 72
37EDJE_FLAGS_VERBOSE_ = 73include Makefile_Theme.am
38EDJE_FLAGS_VERBOSE_0 =
39EDJE_FLAGS_VERBOSE_1 = -v
40 74
41EXTRA_DIST += \ 75EXTRA_DIST += \
42 mksnapshot \ 76 mksnapshot \
@@ -44,8 +78,3 @@ EXTRA_DIST += \
44 autogen.sh 78 autogen.sh
45 79
46clean-local: 80clean-local:
47
48
49
50
51