aboutsummaryrefslogtreecommitdiff
path: root/lib/base
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-22 16:10:02 +0000
committerAndreas Oberritter <obi@opendreambox.org>2010-11-16 17:09:12 +0100
commit97b86324d322309843cc5d9d93b039d706c5ae58 (patch)
tree8dbe7f23a3ef31bbaa8a3ac131961aee215555b4 /lib/base
parent35f2eed2476bcaf47f06894fb2375137bd950941 (diff)
downloadenigma2-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/base')
-rw-r--r--lib/base/Makefile.am8
-rw-r--r--lib/base/console.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/base/Makefile.am b/lib/base/Makefile.am
index df6d2b85..5fd3eaf2 100644
--- a/lib/base/Makefile.am
+++ b/lib/base/Makefile.am
@@ -1,9 +1,11 @@
AM_CPPFLAGS = \
- -I$(top_srcdir)/include
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/include \
+ -include Python.h
-noinst_LIBRARIES = libenigma_base.a
+noinst_LTLIBRARIES = libenigma_base.la
-libenigma_base_a_SOURCES = \
+libenigma_base_la_SOURCES = \
buffer.cpp ebase.cpp eerror.cpp elock.cpp \
init.cpp message.cpp thread.cpp \
smartptr.cpp estring.cpp connection.cpp \
diff --git a/lib/base/console.h b/lib/base/console.h
index e730b40e..60540da0 100644
--- a/lib/base/console.h
+++ b/lib/base/console.h
@@ -1,7 +1,6 @@
#ifndef __LIB_BASE_CONSOLE_H__
#define __LIB_BASE_CONSOLE_H__
-#include "Python.h"
#include <string>
#include <lib/base/ebase.h>
#include <lib/python/connections.h>