build and link static libraries without libtool
[enigma2.git] / lib / actions / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_builddir) \
3         -I$(top_srcdir) \
4         -I$(top_srcdir)/include \
5         -include Python.h \
6         -include $(top_builddir)/enigma2_config.h
7
8 EXTRA_DIST = parseactions.py
9
10 noinst_LIBRARIES = libenigma_actions.a
11
12 libenigma_actions_a_SOURCES = \
13         action.cpp \
14         action.h
15
16 nodist_libenigma_actions_a_SOURCES = \
17         actionids.h
18
19 BUILT_SOURCES = actionids.h
20 CLEANFILES = actionids.h
21
22 actionids.h: $(srcdir)/parseactions.py $(top_srcdir)/lib/gui/*.h
23         $(PYTHON) $(srcdir)/parseactions.py include $(top_srcdir)/lib/gui/*.h > $@
24         $(PYTHON) $(srcdir)/parseactions.py parse $(top_srcdir)/lib/gui/*.h >> $@