]> granicus.if.org Git - icinga2/commitdiff
Make libido a library, rather than a user-loadable module.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 16 Jul 2013 08:40:55 +0000 (10:40 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 16 Jul 2013 08:40:55 +0000 (10:40 +0200)
19 files changed:
components/Makefile.am
components/ido_log/Makefile.am
components/ido_mysql/Makefile.am
configure.ac
lib/Makefile.am
lib/ido/Makefile.am [moved from components/ido/Makefile.am with 93% similarity]
lib/ido/dbconnection.cpp [moved from components/ido/dbconnection.cpp with 100% similarity]
lib/ido/dbconnection.h [moved from components/ido/dbconnection.h with 93% similarity]
lib/ido/dbobject.cpp [moved from components/ido/dbobject.cpp with 100% similarity]
lib/ido/dbobject.h [moved from components/ido/dbobject.h with 100% similarity]
lib/ido/dbreference.cpp [moved from components/ido/dbreference.cpp with 100% similarity]
lib/ido/dbreference.h [moved from components/ido/dbreference.h with 100% similarity]
lib/ido/dbtype.cpp [moved from components/ido/dbtype.cpp with 100% similarity]
lib/ido/dbtype.h [moved from components/ido/dbtype.h with 100% similarity]
lib/ido/hostdbobject.cpp [moved from components/ido/hostdbobject.cpp with 100% similarity]
lib/ido/hostdbobject.h [moved from components/ido/hostdbobject.h with 100% similarity]
lib/ido/ido-type.conf [moved from components/ido/ido-type.conf with 100% similarity]
lib/ido/ido.vcxproj [moved from components/ido/ido.vcxproj with 100% similarity]
lib/ido/ido.vcxproj.filters [moved from components/ido/ido.vcxproj.filters with 100% similarity]

index 24f5230e440ab551647d9d78fd97774ed3716975..b49409e383ebe0d3b8a63cfa4bdab56654d0deee 100644 (file)
@@ -6,7 +6,6 @@ SUBDIRS = \
        compat \
        delegation \
        demo \
-       ido \
        ido_log \
        ido_mysql \
        livestatus \
index 336ddd19ba9eead5681543af98757b63b22053d8..6cb07b2912367f4c8a6dc7f8601ce5c00f14a735 100644 (file)
@@ -34,4 +34,5 @@ libido_log_la_LIBADD = \
        ${top_builddir}/lib/base/libbase.la \
        ${top_builddir}/lib/config/libconfig.la \
        ${top_builddir}/lib/remoting/libremoting.la \
-       ${top_builddir}/lib/icinga/libicinga.la
+       ${top_builddir}/lib/icinga/libicinga.la \
+       ${top_builddir}/lib/ido/libido.la
index 0c66d152504bea389bcaaf10bf3cf16b5da4f2ad..15d82c8740dc4b6322d66b81fd3e9730b67d23cf 100644 (file)
@@ -34,4 +34,5 @@ libido_mysql_la_LIBADD = \
        ${top_builddir}/lib/base/libbase.la \
        ${top_builddir}/lib/config/libconfig.la \
        ${top_builddir}/lib/remoting/libremoting.la \
-       ${top_builddir}/lib/icinga/libicinga.la
+       ${top_builddir}/lib/icinga/libicinga.la \
+       ${top_builddir}/lib/ido/libido.la
index 62cf7e7d4f3ec5097e7d3a4a3c28a9bf543f2235..93273da148c245a22021ae7814914ae1280b4a1c 100644 (file)
@@ -122,7 +122,6 @@ components/checker/Makefile
 components/compat/Makefile
 components/delegation/Makefile
 components/demo/Makefile
-components/ido/Makefile
 components/ido_log/Makefile
 components/ido_mysql/Makefile
 components/livestatus/Makefile
@@ -139,6 +138,7 @@ lib/Makefile
 lib/base/Makefile
 lib/config/Makefile
 lib/icinga/Makefile
+lib/ido/Makefile
 lib/python/Makefile
 lib/remoting/Makefile
 test/Makefile
index 442f2058ab63aee1ed6df86228fb37a496d41e57..4a5ece41c24f17c23c684f18aad3f5c336f97e01 100644 (file)
@@ -6,4 +6,5 @@ SUBDIRS = \
        config \
        remoting \
        icinga \
+       ido \
        python
similarity index 93%
rename from components/ido/Makefile.am
rename to lib/ido/Makefile.am
index d5d19f9e4c2b7d5f1b45f1c5ac5864f2701ab36e..85e27e1b5bba854d0a20c513e0dd8d5b775924c3 100644 (file)
@@ -25,12 +25,10 @@ libido_la_SOURCES = \
 libido_la_CPPFLAGS = \
        $(LTDLINCL) \
        $(BOOST_CPPFLAGS) \
-       -I${top_srcdir}/lib \
-       -I${top_srcdir}/components
+       -I${top_srcdir}/lib
 
 libido_la_LDFLAGS = \
        $(BOOST_LDFLAGS) \
-       -module \
        -no-undefined \
        @RELEASE_INFO@ \
        @VERSION_INFO@
similarity index 93%
rename from components/ido/dbconnection.h
rename to lib/ido/dbconnection.h
index 38826828dca8e35ec187a5fec77bdbcd7e744482..c153c8f9a409c2608633957c86f11b406a18747f 100644 (file)
@@ -49,9 +49,6 @@ protected:
 private:
        void Initialize(void);
 
-       static void ObjectRegisteredHandler(const DynamicObject::Ptr& object);
-       static void ObjectUnregisteredHandler(const DynamicObject::Ptr& object);
-
        std::map<DbObject::Ptr, DbReference> m_References;
 };
 
similarity index 100%
rename from components/ido/dbobject.h
rename to lib/ido/dbobject.h
similarity index 100%
rename from components/ido/dbtype.cpp
rename to lib/ido/dbtype.cpp
similarity index 100%
rename from components/ido/dbtype.h
rename to lib/ido/dbtype.h