diff options
author | Flavio Ceolin <flavio.ceolin@gmail.com> | 2013-09-01 19:41:13 -0300 |
---|---|---|
committer | Flavio Ceolin <flavio.ceolin@gmail.com> | 2014-04-03 16:23:04 -0300 |
commit | 196cdb70b84958dd827797f86e78abd798e48cf7 (patch) | |
tree | fa94c67c0794b8dd8d64b8e216daccc20801c584 /Makefile.am | |
parent | c984cf740b8625571a5d1617e0c3911fc27c11f9 (diff) |
Adding common code
Init/shutdown used libraries and including common headers.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 59 |
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 |
23 | EXTRA_DIST = | 24 | EXTRA_DIST = |
24 | 25 | ||
26 | lib_LTLIBRARIES = \ | ||
27 | src/lib/libepulse.la | ||
28 | |||
29 | src_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 | |||
36 | src_lib_libepulse_la_LIBADD = @EFL_LIBS@ @PULSE_LIBS@ | ||
37 | src_lib_libepulse_la_LDFLAGS = -no-undefined -avoid-version | ||
38 | src_lib_libepulse_la_LIBTOOLFLAGS = --tag=disable-static | ||
39 | |||
25 | bin_PROGRAMS = \ | 40 | bin_PROGRAMS = \ |
26 | src/epulse | 41 | src/bin/epulse |
27 | 42 | ||
28 | src_epulse_LDADD = \ | 43 | src_bin_epulse_LDADD = \ |
29 | @EFL_LIBS@ \ | 44 | $(top_builddir)/src/lib/libepulse.la \ |
45 | @EFL_LIBS@ \ | ||
30 | @PULSE_LIBS@ | 46 | @PULSE_LIBS@ |
31 | 47 | ||
32 | src_epulse_SOURCES = \ | 48 | src_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 | |||
59 | moduledir = $(pkgdir)/$(MODULE_ARCH) | ||
60 | module_LTLIBRARIES = src/module/module.la | ||
61 | |||
62 | src_module_module_la_SOURCES = \ | ||
63 | src/module/e_mod_main.c \ | ||
64 | src/module/e_mod_main.h | ||
65 | |||
66 | src_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) | 71 | src_module_module_la_LDFLAGS = -module -avoid-version |
36 | EDJE_CC = @edje_cc@ | 72 | |
37 | EDJE_FLAGS_VERBOSE_ = | 73 | include Makefile_Theme.am |
38 | EDJE_FLAGS_VERBOSE_0 = | ||
39 | EDJE_FLAGS_VERBOSE_1 = -v | ||
40 | 74 | ||
41 | EXTRA_DIST += \ | 75 | EXTRA_DIST += \ |
42 | mksnapshot \ | 76 | mksnapshot \ |
@@ -44,8 +78,3 @@ EXTRA_DIST += \ | |||
44 | autogen.sh | 78 | autogen.sh |
45 | 79 | ||
46 | clean-local: | 80 | clean-local: |
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||