diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2010-10-22 16:10:02 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2010-11-16 17:09:12 +0100 |
| commit | 97b86324d322309843cc5d9d93b039d706c5ae58 (patch) | |
| tree | 8dbe7f23a3ef31bbaa8a3ac131961aee215555b4 /lib/actions/Makefile.am | |
| parent | 35f2eed2476bcaf47f06894fb2375137bd950941 (diff) | |
| download | enigma2-97b86324d322309843cc5d9d93b039d706c5ae58.tar.gz enigma2-97b86324d322309843cc5d9d93b039d706c5ae58.zip | |
clean up build
* reduce use of TUXBOX macros
* fix compiler warnings by including Python.h from the command-line
* use libtool to build and link main/* and lib/*
* don't link libmad, libid3tag, libcrypt, libresolv, librt, ldl into e2
* fix make rules of actionids.h
Diffstat (limited to 'lib/actions/Makefile.am')
| -rw-r--r-- | lib/actions/Makefile.am | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lib/actions/Makefile.am b/lib/actions/Makefile.am index 05a50884..45f0177b 100644 --- a/lib/actions/Makefile.am +++ b/lib/actions/Makefile.am @@ -1,15 +1,21 @@ AM_CPPFLAGS = \ - -I$(top_srcdir)/include + -I$(top_builddir) \ + -I$(top_srcdir)/include \ + -include Python.h -noinst_LIBRARIES = libenigma_actions.a +EXTRA_DIST = parseactions.py -libenigma_actions_a_SOURCES = \ - action.cpp +noinst_LTLIBRARIES = libenigma_actions.la +libenigma_actions_la_SOURCES = \ + action.cpp \ + action.h + +BUILT_SOURCES = actionids.h CLEANFILES = actionids.h action.cpp: actionids.h -actionids.h: - python ./parseactions.py include ../gui/*.h > actionids.h - python ./parseactions.py parse ../gui/*.h >> actionids.h +actionids.h: $(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 >> $@ |
