aboutsummaryrefslogtreecommitdiff
path: root/lib/actions/Makefile.am
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-25 22:29:45 +0000
committerAndreas Oberritter <obi@opendreambox.org>2010-11-16 17:09:12 +0100
commit62455fd662f08b1f81cbb08ccb2c199cde0b9e97 (patch)
tree8120d2e4769d0e6ff4ad81cb7952f9e694cee330 /lib/actions/Makefile.am
parent30f902c06a7bd3c726aeb08a5424d6a59871615f (diff)
downloadenigma2-62455fd662f08b1f81cbb08ccb2c199cde0b9e97.tar.gz
enigma2-62455fd662f08b1f81cbb08ccb2c199cde0b9e97.zip
clean up build #2
* use swig macros from autoconf archive * generate and use enigma2_config.h (include from command-line) * check for dbox/fp.h and dbox/lcd-ks0713.h * clean up checks for libdreamdvd and lib*gif * fix some dependencies for generated files and header files
Diffstat (limited to 'lib/actions/Makefile.am')
-rw-r--r--lib/actions/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/actions/Makefile.am b/lib/actions/Makefile.am
index 45f0177b..9f62e2e7 100644
--- a/lib/actions/Makefile.am
+++ b/lib/actions/Makefile.am
@@ -1,7 +1,8 @@
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/include \
- -include Python.h
+ -include Python.h \
+ -include $(top_builddir)/enigma2_config.h
EXTRA_DIST = parseactions.py
@@ -11,11 +12,12 @@ libenigma_actions_la_SOURCES = \
action.cpp \
action.h
+nodist_libenigma_actions_la_SOURCES = \
+ actionids.h
+
BUILT_SOURCES = actionids.h
CLEANFILES = actionids.h
-action.cpp: actionids.h
-
-actionids.h: $(top_srcdir)/lib/gui/*.h
+actionids.h: $(srcdir)/parseactions.py $(top_srcdir)/lib/gui/*.h
$(PYTHON) $(srcdir)/parseactions.py include $(top_srcdir)/lib/gui/*.h > $@
$(PYTHON) $(srcdir)/parseactions.py parse $(top_srcdir)/lib/gui/*.h >> $@