changes: * __UNUSED__ -> EINA_UNUSED * Fixed doc hierarchy SVN revision: 82126devs/devilhorns/wayland_egl
@ -1,8 +1,7 @@ |
||||
/** |
||||
* @page Examples Examples |
||||
* |
||||
* Here is a page with examples. |
||||
* @page ephysics_examples EPhysics Examples |
||||
* |
||||
* Examples: |
||||
* @li @ref tutorial_ephysics_bouncing_ball |
||||
* @li @ref tutorial_ephysics_bouncing_text |
||||
* @li @ref tutorial_ephysics_camera |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
@ -0,0 +1,47 @@ |
||||
|
||||
### Library |
||||
|
||||
lib_LTLIBRARIES += \ |
||||
lib/ephysics/libephysics.la |
||||
|
||||
installed_ephysicsmainheadersdir = $(includedir)/ephysics-@VMAJ@ |
||||
dist_installed_ephysicsmainheaders_DATA = \ |
||||
lib/ephysics/EPhysics.h |
||||
|
||||
lib_ephysics_libephysics_la_SOURCES = \ |
||||
lib/ephysics/ephysics_private.h \ |
||||
lib/ephysics/ephysics_trimesh.h \ |
||||
lib/ephysics/ephysics_body_materials.h \ |
||||
lib/ephysics/ephysics_body.cpp \ |
||||
lib/ephysics/ephysics_camera.cpp \ |
||||
lib/ephysics/ephysics_constraints.cpp \ |
||||
lib/ephysics/ephysics_main.cpp \ |
||||
lib/ephysics/ephysics_quaternion.cpp \ |
||||
lib/ephysics/ephysics_shape.cpp \ |
||||
lib/ephysics/ephysics_world.cpp |
||||
|
||||
lib_ephysics_libephysics_la_CPPFLAGS = \ |
||||
-I$(top_srcdir)/src/lib/eina \ |
||||
-I$(top_builddir)/src/lib/eina \ |
||||
-I$(top_srcdir)/src/lib/eo \ |
||||
-I$(top_builddir)/src/lib/eo \ |
||||
-I$(top_srcdir)/src/lib/ecore \ |
||||
-I$(top_builddir)/src/lib/ecore \ |
||||
-I$(top_srcdir)/src/lib/evas \ |
||||
-I$(top_builddir)/src/lib/evas \ |
||||
-I$(top_srcdir)/src/lib/ephysics \ |
||||
-I$(top_builddir)/src/lib/ephysics \ |
||||
@EFL_COV_CFLAGS@ \ |
||||
@EPHYSICS_CFLAGS@ \ |
||||
-DEFL_EPHYSICS_BUILD |
||||
|
||||
lib_ephysics_libephysics_la_LIBADD = \ |
||||
lib/eina/libeina.la \ |
||||
lib/eo/libeo.la \ |
||||
lib/ecore/libecore.la \ |
||||
lib/evas/libevas.la \ |
||||
@EFL_COV_LIBS@ \ |
||||
@EPHYSICS_LIBS@ |
||||
|
||||
lib_ephysics_libephysics_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ |
||||
|
@ -0,0 +1,87 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I. \ |
||||
-I$(top_srcdir)/src/lib/eina \ |
||||
-I$(top_builddir)/src/lib/eina \ |
||||
-I$(top_srcdir)/src/lib/eo \ |
||||
-I$(top_builddir)/src/lib/eo \ |
||||
-I$(top_srcdir)/src/lib/ecore \ |
||||
-I$(top_builddir)/src/lib/ecore \ |
||||
-I$(top_srcdir)/src/lib/evas \ |
||||
-I$(top_builddir)/src/lib/evas \ |
||||
-I$(top_srcdir)/src/lib/ecore_evas \ |
||||
-I$(top_builddir)/src/lib/ecore_evas \ |
||||
-I$(top_srcdir)/src/lib/ephysics \ |
||||
-I$(top_builddir)/src/lib/ephysics |
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/src/lib/eina/libeina.la \ |
||||
$(top_builddir)/src/lib/eo/libeo.la \ |
||||
$(top_builddir)/src/lib/ecore/libecore.la \ |
||||
$(top_builddir)/src/lib/evas/libevas.la \ |
||||
$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \ |
||||
$(top_builddir)/src/lib/ephysics/libephysics.la \ |
||||
@EPHYSICS_LDFLAGS@ |
||||
|
||||
SRCS = \
|
||||
ephysics_logo.c \ |
||||
ephysics_test.h \ |
||||
test_bouncing_ball.c \ |
||||
test_bouncing_text.c \ |
||||
test.c \ |
||||
test_camera.c \ |
||||
test_camera_track.c \ |
||||
test_colliding_balls.c \ |
||||
test_collision_detection.c \ |
||||
test_collision_filter.c \ |
||||
test_constraint.c \ |
||||
test_delete.c \ |
||||
test_forces.c \ |
||||
test_growing_balls.c \ |
||||
test_no_gravity.c \ |
||||
test_rotating_forever.c \ |
||||
test_shapes.c \ |
||||
test_sleeping_threshold.c \ |
||||
test_slider.c \ |
||||
test_velocity.c |
||||
|
||||
EXTRA_PROGRAMS =
|
||||
|
||||
# NOTE: neither ephysics_test or ephysics_logo won't be built as they needs Elementary
|
||||
# TODO: convert these to bare ecore_evas, at least a reduced set to have compile-able examples
|
||||
|
||||
ephysics_test_SOURCES = \
|
||||
ephysics_test.h \ |
||||
test_bouncing_ball.c \ |
||||
test_bouncing_text.c \ |
||||
test.c \ |
||||
test_camera.c \ |
||||
test_camera_track.c \ |
||||
test_colliding_balls.c \ |
||||
test_collision_detection.c \ |
||||
test_collision_filter.c \ |
||||
test_constraint.c \ |
||||
test_delete.c \ |
||||
test_forces.c \ |
||||
test_growing_balls.c \ |
||||
test_no_gravity.c \ |
||||
test_rotating_forever.c \ |
||||
test_shapes.c \ |
||||
test_sleeping_threshold.c \ |
||||
test_slider.c \ |
||||
test_velocity.c |
||||
|
||||
examples: $(EXTRA_PROGRAMS) |
||||
|
||||
clean-local: |
||||
rm -f $(EXTRA_PROGRAMS)
|
||||
|
||||
install-examples: |
||||
mkdir -p $(datadir)/ephysics/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/ephysics/examples
|
||||
|
||||
uninstall-local: |
||||
for f in $(SRCS) ; do \
|
||||
rm -f $(datadir)/ephysics/examples/$$f ; \
|
||||
done
|