summaryrefslogtreecommitdiff
path: root/src/modules/Makefile_physics.am
blob: fcf18951657632ad9adc36f63cbce29943bf6ae8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
physicsdir = $(MDIR)/physics
physics_DATA = physics/e-module-physics.edj \
	       physics/module.desktop

EXTRA_DIST += $(physics_DATA)

physics_module_la_CFLAGS = $(AM_CFLAGS)
physics_module_la_CFLAGS += @EPHYSICS_CFLAGS@

physicspkgdir = $(MDIR)/physics/$(MODULE_ARCH)
physicspkg_LTLIBRARIES = physics/module.la

physics_module_la_SOURCES = physics/e_mod_main.c \
			    physics/e_mod_main.h \
			    physics/e_mod_config.c \
			    physics/e_mod_physics_cfdata.c \
			    physics/e_mod_physics_cfdata.h \
			    physics/e_mod_physics.c \
			    physics/e_mod_physics.h

physics_module_la_LIBADD       = @EPHYSICS_LIBS@

.PHONY: physics install-physics
physics: $(physicspkg_LTLIBRARIES) $(physics_DATA)
install-physics: install-physicsDATA install-physicspkgLTLIBRARIES