summaryrefslogtreecommitdiff
path: root/src/examples/ephysics
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-18 17:55:09 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-08-03 13:09:22 +0200
commit310d6d972dbe9f323dd3783158608687b52b6bca (patch)
treeac5b27d299e562071697bae3f77b6363c6fd66db /src/examples/ephysics
parentab1fd96363b630df1f5b3cb145eade3466b74b75 (diff)
build: move src/examples/ to a single makefile
this greatly improves build times by improving parallelizing, though it does introduce more BUILT_SOURCES usage which causes builds with cxx bindings to take significantly longer fix T7157 ref T7154 Differential Revision: https://phab.enlightenment.org/D6633
Diffstat (limited to 'src/examples/ephysics')
-rw-r--r--src/examples/ephysics/Makefile.am94
1 files changed, 0 insertions, 94 deletions
diff --git a/src/examples/ephysics/Makefile.am b/src/examples/ephysics/Makefile.am
deleted file mode 100644
index 7287c14051..0000000000
--- a/src/examples/ephysics/Makefile.am
+++ /dev/null
@@ -1,94 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_builddir)/src/lib/efl \
5-I. \
6-I$(top_srcdir)/src/lib/eina \
7-I$(top_builddir)/src/lib/eina \
8-I$(top_srcdir)/src/lib/eo \
9-I$(top_builddir)/src/lib/eo \
10-I$(top_srcdir)/src/lib/ecore \
11-I$(top_builddir)/src/lib/ecore \
12-I$(top_srcdir)/src/lib/evas \
13-I$(top_builddir)/src/lib/evas \
14-I$(top_srcdir)/src/lib/ecore_evas \
15-I$(top_builddir)/src/lib/ecore_evas \
16-I$(top_srcdir)/src/lib/ephysics \
17-I$(top_builddir)/src/lib/ephysics
18
19LDADD = \
20$(top_builddir)/src/lib/eina/libeina.la \
21$(top_builddir)/src/lib/eo/libeo.la \
22$(top_builddir)/src/lib/ecore/libecore.la \
23$(top_builddir)/src/lib/evas/libevas.la \
24$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
25$(top_builddir)/src/lib/ephysics/libephysics.la \
26@EPHYSICS_LDFLAGS@
27
28SRCS = \
29ephysics_logo.c \
30ephysics_test.h \
31test_bouncing_ball.c \
32test_bouncing_text.c \
33test.c \
34test_camera.c \
35test_camera_track.c \
36test_colliding_balls.c \
37test_collision_detection.c \
38test_collision_filter.c \
39test_constraint.c \
40test_delete.c \
41test_forces.c \
42test_growing_balls.c \
43test_no_gravity.c \
44test_rotating_forever.c \
45test_shapes.c \
46test_sleeping_threshold.c \
47test_slider.c \
48test_velocity.c
49
50EXTRA_PROGRAMS =
51# NOTE: neither ephysics_test or ephysics_logo won't be built as they needs Elementary
52# TODO: convert these to bare ecore_evas, at least a reduced set to have compile-able examples
53
54# TODO: when EXTRA_PROGRAMS is populated, remove SRCS from here
55EXTRA_DIST = $(SRCS)
56
57# ephysics_test_SOURCES = \
58# ephysics_test.h \
59# test_bouncing_ball.c \
60# test_bouncing_text.c \
61# test.c \
62# test_camera.c \
63# test_camera_track.c \
64# test_colliding_balls.c \
65# test_collision_detection.c \
66# test_collision_filter.c \
67# test_constraint.c \
68# test_delete.c \
69# test_forces.c \
70# test_growing_balls.c \
71# test_no_gravity.c \
72# test_rotating_forever.c \
73# test_shapes.c \
74# test_sleeping_threshold.c \
75# test_slider.c \
76# test_velocity.c
77
78examples: $(EXTRA_PROGRAMS)
79
80clean-local:
81 rm -f $(EXTRA_PROGRAMS)
82
83install-examples:
84 $(MKDIR_P) $(DESTDIR)$(datadir)/ephysics/examples
85 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DESTDIR)$(datadir)/ephysics/examples
86
87uninstall-local:
88 for f in $(SRCS) ; do \
89 rm -f $(DESTDIR)$(datadir)/ephysics/examples/$$f ; \
90 done
91
92if ALWAYS_BUILD_EXAMPLES
93noinst_PROGRAMS = $(EXTRA_PROGRAMS)
94endif