[Cluster-devel] conga luci/Makefile ricci/Makefile ricci/modul ...

rmccabe at sourceware.org rmccabe at sourceware.org
Mon Oct 22 19:41:22 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	rmccabe at sourceware.org	2007-10-22 19:41:22

Modified files:
	luci           : Makefile 
	ricci          : Makefile 
	ricci/modules  : Makefile 
	ricci/modules/cluster: Makefile 

Log message:
	Fix makefiles to allow 'make -jN' to work properly

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.20.2.3&r2=1.20.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.11&r2=1.11.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5&r2=1.5.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.14.2.2&r2=1.14.2.3

--- conga/luci/Makefile	2007/04/30 18:38:11	1.20.2.3
+++ conga/luci/Makefile	2007/10/22 19:41:21	1.20.2.4
@@ -17,12 +17,12 @@
 all: luci
 
 luci:
-	make -C site
-	make -C conga_ssl
-	make -C utils
-	make -C init.d
-	make -C sysconfig
-	make -C docs
+	${MAKE} -C site
+	${MAKE} -C conga_ssl
+	${MAKE} -C utils
+	${MAKE} -C init.d
+	${MAKE} -C sysconfig
+	${MAKE} -C docs
 
 
 rebuild: clean all
@@ -33,8 +33,8 @@
 		install -d ${libdir}/luci ; \
 		cd zope ; \
 		./configure --prefix=${libdir}/luci/zope --with-python=/usr/bin/python ; \
-		make ; \
-		make install ; \
+		${MAKE} ; \
+		${MAKE} install ; \
 		cd .. ; \
 		chmod 700 ${libdir}/luci/zope ; \
 		utils/remove_files ${libdir}/luci/zope ${ZOPE_REMOVES} ; \
@@ -46,31 +46,31 @@
 	fi
 
 	install -d -m 700 ${DESTDIR}/var/lib/luci
-	make -C site install
-	make -C conga_ssl install
-	make -C utils install
-	make -C init.d install
-	make -C sysconfig install
-	make -C docs install
+	${MAKE} -C site install
+	${MAKE} -C conga_ssl install
+	${MAKE} -C utils install
+	${MAKE} -C init.d install
+	${MAKE} -C sysconfig install
+	${MAKE} -C docs install
 	install -d ${DESTDIR}/usr/share/doc/luci-${VERSION}/
 	install -m 644 COPYING ${DESTDIR}/usr/share/doc/luci-${VERSION}/
 
 
 clean:
-	make -C site clean
-	make -C utils clean
-	make -C init.d clean
-	make -C sysconfig clean
-	make -C docs clean
-	make -C conga_ssl clean
+	${MAKE} -C site clean
+	${MAKE} -C utils clean
+	${MAKE} -C init.d clean
+	${MAKE} -C sysconfig clean
+	${MAKE} -C docs clean
+	${MAKE} -C conga_ssl clean
 
 distclean:
-	make -C site distclean
-	make -C utils distclean
-	make -C init.d distclean
-	make -C sysconfig distclean
-	make -C docs distclean
-	make -C conga_ssl distclean
+	${MAKE} -C site distclean
+	${MAKE} -C utils distclean
+	${MAKE} -C init.d distclean
+	${MAKE} -C sysconfig distclean
+	${MAKE} -C docs distclean
+	${MAKE} -C conga_ssl distclean
 	rm -f make/defines.mk
 
 all_old: tar
@@ -78,22 +78,22 @@
 tar:
 
 import_storage:
-	make -C storage import
+	${MAKE} -C storage import
 
 export_storage:
-	make -e -C storage export
+	${MAKE} -e -C storage export
 
 import_cluster:
-	make -e -C cluster import
+	${MAKE} -e -C cluster import
 
 export_cluster:
-	make -e -C cluster export
+	${MAKE} -e -C cluster export
 
 import_homebase:
-	make -e -C homebase import
+	${MAKE} -e -C homebase import
 
 export_homebase:
-	make -e -C homebase export
+	${MAKE} -e -C homebase export
 
 import_pts: import_storage import_cluster import_homebase
 export_pts: export_storage export_cluster export_homebase
--- conga/ricci/Makefile	2006/08/09 20:53:21	1.11
+++ conga/ricci/Makefile	2007/10/22 19:41:22	1.11.2.1
@@ -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
--- conga/ricci/modules/Makefile	2006/08/09 20:53:22	1.5
+++ conga/ricci/modules/Makefile	2007/10/22 19:41:22	1.5.2.1
@@ -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: 
--- conga/ricci/modules/cluster/Makefile	2007/08/08 21:09:44	1.14.2.2
+++ conga/ricci/modules/cluster/Makefile	2007/10/22 19:41:22	1.14.2.3
@@ -31,7 +31,7 @@
 
 
 all: ${TARGET}
-	make -C clumon all
+	${MAKE} -C clumon all
 
 *.o: *.h
 




More information about the Cluster-devel mailing list