Add lib/network to build
authorMike Looijmans <milo-software@users.sourceforge.net>
Fri, 31 Dec 2010 16:31:29 +0000 (17:31 +0100)
committerMike Looijmans <milo-software@users.sourceforge.net>
Fri, 31 Dec 2010 16:31:29 +0000 (17:31 +0100)
lib/network/Makefile.am
main/Makefile.am

index 385bb6a..38108c6 100644 (file)
@@ -1,11 +1,24 @@
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/include \
-       -include Python.h
+       -include Python.h \
+       -include $(top_builddir)/enigma2_config.h
 
-noinst_LTLIBRARIES = libenigma_network.la
+noinst_LIBRARIES = libenigma_network.a
 
-libenigma_network_la_SOURCES = \
-       httpd.cpp http_dyn.cpp http_file.cpp http.cpp serversocket.cpp socket.cpp
+libenigma_network_a_SOURCES = \
+       httpd.cpp \
+       http_dyn.cpp \
+       http_file.cpp \
+       http.cpp \
+       serversocket.cpp \
+       socket.cpp
 
-# xmlrpc.cpp
+networkincludedir = $(pkgincludedir)/lib/network
+networkinclude_HEADERS = \
+       httpd.h \
+       http_dyn.h \
+       http_file.h \
+       http.h \
+       serversocket.h \
+       socket.h
index 5c450cb..4ff95a1 100644 (file)
@@ -38,6 +38,7 @@ enigma2_LDADD_WHOLE = \
        $(top_builddir)/lib/gui/libenigma_gui.a \
        $(top_builddir)/lib/python/libenigma_python.a \
        $(top_builddir)/lib/nav/libenigma_nav.a \
+       $(top_builddir)/lib/nav/libenigma_network.a \
        $(top_builddir)/lib/service/libenigma_service.a
 
 enigma2_LDADD = \