conga ./Makefile luci/Makefile ricci/Makefile ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-09-09 14:18:38
Modified files:
. : Makefile luci : Makefile ricci : Makefile ricci/make : defines.mk.in ricci/modules : Makefile
ricci/modules/cluster: Makefile ricci/modules/cluster/clumon/src/snmp-agent: Makefile ricci/modules/storage: FSController.cpp
Log message:
Fix the Makefiles to allow 'make -jX' to work
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/Makefile.diff?cvsroot=cluster&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/Makefile.diff?cvsroot=cluster&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/make/defines.mk.in.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Makefile.diff?cvsroot=cluster&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/snmp-agent/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/FSController.cpp.diff?cvsroot=cluster&r1=1.8&r2=1.9
Makefile +11 -11
@@ -25,13 +25,13 @@ echo "Run 'make install_conga' to install conga" ricci: - make -C ricci ricci + ${MAKE} -C ricci ricci luci: - make -C luci + ${MAKE} -C luci clustermon: - make -C ricci clustermon + ${MAKE} -C ricci clustermon echo "Run 'make install_clustermon' to install modcluster, cluster-cim and cluster-snmp"
@@ -40,30 +40,30 @@ install_conga: install_ricci install_luci install_ricci: - make -C ricci install_ricci + ${MAKE} -C ricci install_ricci install_luci: - make -C luci install + ${MAKE} -C luci install install_clustermon: - make -C ricci install_clustermon + ${MAKE} -C ricci install_clustermon clean: clean_ricci clean_luci clean_clustermon clean_ricci: - make -C ricci clean + ${MAKE} -C ricci clean clean_luci: - make -C luci clean + ${MAKE} -C luci clean clean_clustermon: - make -C ricci clean_clustermon + ${MAKE} -C ricci clean_clustermon distclean: - make -C ricci distclean - make -C luci distclean + ${MAKE} -C ricci distclean + ${MAKE} -C luci distclean rm -f conga.spec conga.spec.in rm -f conga*.tar.gz conga*.src.rpm rm -f clustermon.spec clustermon.spec.in
luci/Makefile +32 -32
105 lines not on this page · raw message
ricci/Makefile +18 -18
@@ -17,29 +17,29 @@ all: ricci clustermon ricci: - make -C common - make -C ricci - make -C modules - make -C init.d - make -C pam.d + ${MAKE} -C common + ${MAKE} -C ricci + ${MAKE} -C modules + ${MAKE} -C init.d + ${MAKE} -C pam.d clustermon: - make -C common - make -C modules clustermon + ${MAKE} -C common + ${MAKE} -C modules clustermon install: install_ricci install_clustermon install_ricci: $(INSTALL_DIR) -m 700 ${localstatedir}/lib/ricci - make -C ricci install - make -C modules install - make -C init.d install - make -C pam.d install + ${MAKE} -C ricci install + ${MAKE} -C modules install + ${MAKE} -C init.d install + ${MAKE} -C pam.d install $(INSTALL_DIR) ${docdir}/ricci-${VERSION}/ $(INSTALL_FILE) COPYING ${docdir}/ricci-${VERSION}/ install_clustermon: - make -C modules install_clustermon + ${MAKE} -C modules install_clustermon $(INSTALL_DIR) ${docdir}/modcluster-${VERSION}/ $(INSTALL_FILE) COPYING ${docdir}/modcluster-${VERSION}/
@@ -47,14 +47,14 @@ uninstall: clean: - make -C common clean - make -C ricci clean - make -C modules clean - make -C init.d clean - make -C pam.d clean + ${MAKE} -C common clean + ${MAKE} -C ricci clean + ${MAKE} -C modules clean + ${MAKE} -C init.d clean + ${MAKE} -C pam.d clean clean_clustermon: - make -C modules clean + ${MAKE} -C modules clean distclean: clean rm -f make/defines.mk
ricci/make/defines.mk.in +2 -2
@@ -38,8 +38,8 @@ INCLUDE += -I $(top_srcdir)/include \ `pkg-config --cflags libxml-2.0` \ `pkg-config --cflags openssl` -CFLAGS += -Wall -Wno-unused -fPIC -g ${INCLUDE} -CXXFLAGS += -Wall -Wno-unused -fPIC -g ${INCLUDE} +CFLAGS += -Wall -Wno-unused -fPIC -O2 -g ${INCLUDE} +CXXFLAGS += -Wall -Wno-unused -fPIC -O2 -g ${INCLUDE} LDFLAGS += -fPIC -lpthread \ `pkg-config --libs libxml-2.0` \ `pkg-config --libs openssl`
ricci/modules/Makefile +15 -15
@@ -12,33 +12,33 @@ .PHONY: clustermon all: - make -C storage - make -C rpm - make -C log - make -C service + ${MAKE} -C storage + ${MAKE} -C rpm + ${MAKE} -C log + ${MAKE} -C service clustermon: - make -C cluster + ${MAKE} -C cluster install: - make -C storage install - make -C rpm install - make -C log install - make -C service install + ${MAKE} -C storage install + ${MAKE} -C rpm install + ${MAKE} -C log install + ${MAKE} -C service install install_clustermon: - make -C cluster install + ${MAKE} -C cluster install uninstall: clean: - make -C storage clean - make -C cluster clean - make -C rpm clean - make -C log clean - make -C service clean + ${MAKE} -C storage clean + ${MAKE} -C cluster clean + ${MAKE} -C rpm clean + ${MAKE} -C log clean + ${MAKE} -C service clean check:
ricci/modules/cluster/Makefile +1 -1
@@ -35,7 +35,7 @@ endif all: ${TARGET} - make -C clumon all + ${MAKE} -C clumon all *.o: *.h
ricci/modules/cluster/clumon/src/snmp-agent/Makefile +1 -1
@@ -14,7 +14,7 @@ include ${top_srcdir}/make/defines.mk -SNMP_CFLAGS = `net-snmp-config --cflags` +SNMP_CFLAGS = `net-snmp-config --cflags | sed -r 's/(-lcrypto|-Wdeclaration-after-statement)//g'` SNMP_LDLAGS = `net-snmp-config --libs` INCLUDE += -I ../include
ricci/modules/storage/FSController.cpp +7 -0
@@ -28,14 +28,20 @@ #include "UnsupportedFS.h" #include "utils.h" #include <errno.h> + +#ifdef MY_BUILD_SYSTEM_IS_NOT_BROKEN + #include <libgroup.h> +#endif + using namespace std; std::list<String> FSController::get_fs_group_ids(const String& name) { list<String> members; +#ifdef MY_BUILD_SYSTEM_IS_NOT_BROKEN group_data_t fsgroup; if (group_get_group(2, name.c_str(), &fsgroup) != 0)
@@ -51,6 +57,7 @@ throw String("invalid node id"); members.push_back(String(buf)); } +#endif return members; }