summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/benchmarks/Makefile.am3
-rw-r--r--src/examples/eo_isa/Makefile.am22
-rw-r--r--src/examples/evas/Makefile.am24
-rw-r--r--src/examples/simple/Makefile.am22
4 files changed, 24 insertions, 47 deletions
diff --git a/src/benchmarks/Makefile.am b/src/benchmarks/Makefile.am
index 7095214..2ee6cbb 100644
--- a/src/benchmarks/Makefile.am
+++ b/src/benchmarks/Makefile.am
@@ -9,7 +9,7 @@ AM_CPPFLAGS = \
if EFL_ENABLE_BENCHMARK
-bin_PROGRAMS = eo_bench
+noinst_PROGRAMS = eo_bench
eo_bench_SOURCES = \
class_simple.c \
@@ -17,6 +17,7 @@ class_simple.h \
eo_bench.c \
eo_bench.h \
eo_bench_eo_do.c
+
eo_bench_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
endif
diff --git a/src/examples/eo_isa/Makefile.am b/src/examples/eo_isa/Makefile.am
index 84a1678..eb95eba 100644
--- a/src/examples/eo_isa/Makefile.am
+++ b/src/examples/eo_isa/Makefile.am
@@ -1,8 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
-exampledir = $(pkgdatadir)/examples
-
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
@@ -10,7 +8,13 @@ AM_CPPFLAGS = \
@EFL_EO_BUILD@ \
@EO_CFLAGS@
-SRCS = \
+noinst_PROGRAMS =
+
+if EFL_BUILD_EXAMPLES
+
+noinst_PROGRAMS += eo_isa
+
+eo_isa_SOURCES = \
complex.c \
complex.h \
interface.c \
@@ -21,18 +25,6 @@ mixin.h \
simple.c \
simple.h
-example_PROGRAMS =
-
-if EFL_INSTALL_EXAMPLES
-filesdir = $(pkgdatadir)/examples
-files_DATA = $(SRCS)
-endif
-
-if EFL_BUILD_EXAMPLES
-
-example_PROGRAMS += eo_isa
-
-eo_isa_SOURCES = $(SRCS)
eo_isa_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
endif
diff --git a/src/examples/evas/Makefile.am b/src/examples/evas/Makefile.am
index ab4cd4b..2177853 100644
--- a/src/examples/evas/Makefile.am
+++ b/src/examples/evas/Makefile.am
@@ -1,15 +1,20 @@
MAINTAINERCLEANFILES = Makefile.in
-exampledir = $(pkgdatadir)/examples
-
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
-I$(top_builddir)/src/lib \
@EO_CFLAGS@
-SRCS = \
+noinst_PROGRAMS =
+
+if EFL_BUILD_EXAMPLES
+if EO_BUILD_EXAMPLE_EVAS
+
+noinst_PROGRAMS += evas
+
+evas_SOURCES = \
elw_box.c \
elw_box.h \
elw_boxedbutton.c \
@@ -22,19 +27,6 @@ evas_obj.c \
evas_obj.h \
test.c
-example_PROGRAMS =
-
-if EFL_INSTALL_EXAMPLES
-filesdir = $(pkgdatadir)/examples
-files_DATA = $(SRCS)
-endif
-
-if EFL_BUILD_EXAMPLES
-if EO_BUILD_EXAMPLE_EVAS
-
-example_PROGRAMS += evas
-
-evas_SOURCES = $(SRCS)
evas_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
endif
diff --git a/src/examples/simple/Makefile.am b/src/examples/simple/Makefile.am
index 959e440..fa21f0c 100644
--- a/src/examples/simple/Makefile.am
+++ b/src/examples/simple/Makefile.am
@@ -1,8 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
-exampledir = $(pkgdatadir)/examples
-
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
@@ -10,7 +8,13 @@ AM_CPPFLAGS = \
@EFL_EO_BUILD@ \
@EO_CFLAGS@
-SRCS = \
+noinst_PROGRAMS =
+
+if EFL_BUILD_EXAMPLES
+
+noinst_PROGRAMS += simple
+
+simple_SOURCES = \
interface.c \
interface.h \
main.c \
@@ -19,18 +23,6 @@ mixin.h \
simple.c \
simple.h
-example_PROGRAMS =
-
-if EFL_INSTALL_EXAMPLES
-filesdir = $(pkgdatadir)/examples
-files_DATA = $(SRCS)
-endif
-
-if EFL_BUILD_EXAMPLES
-
-example_PROGRAMS += simple
-
-simple_SOURCES = $(SRCS)
simple_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
endif