From: <mik...@us...> - 2008-08-19 22:06:30
|
Revision: 868 http://omc.svn.sourceforge.net/omc/?rev=868&view=rev Author: mike-brasher Date: 2008-08-19 22:06:39 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added top level makefile for recursing into profile directories. Added Paths: ----------- cmpiprofiles/Makefile Removed Paths: ------------- cmpiprofiles/register.sh Added: cmpiprofiles/Makefile =================================================================== --- cmpiprofiles/Makefile (rev 0) +++ cmpiprofiles/Makefile 2008-08-19 22:06:39 UTC (rev 868) @@ -0,0 +1,37 @@ +DIRS = \ + $(PWD)/sblim-cmpi-boot_control_profile/trunk \ + $(PWD)/sblim-cmpi-ethernet_port_profile/trunk \ + $(PWD)/sblim-cmpi-fan_profile/trunk \ + $(PWD)/sblim-cmpi-power_supply_profile/trunk \ + $(PWD)/sblim-cmpi-ssh_service_profile/trunk + +define NL + + +endef + +all: build + +bootstrap: + $(foreach i,$(DIRS), cd $i; ./bootstrap.sh; $(NL) ) + +configure: + $(foreach i,$(DIRS), cd $i; ./configure; $(NL) ) + +build: + $(foreach i,$(DIRS), $(MAKE) -C $i; $(NL) ) + +clean: + $(foreach i,$(DIRS), $(MAKE) -C $i clean; $(NL) ) + +distclean: + $(foreach i,$(DIRS), $(MAKE) -C $i distclean; $(NL) ) + +cleanup: + $(foreach i,$(DIRS), cd $i; ./cleanup.sh ; $(NL) ) + +register: + su -c '$(MAKE) register_su' + +register_su: + $(foreach i,$(DIRS), cd $i/mof; ./register.sh; $(NL) ) Deleted: cmpiprofiles/register.sh =================================================================== --- cmpiprofiles/register.sh 2008-08-19 20:34:53 UTC (rev 867) +++ cmpiprofiles/register.sh 2008-08-19 22:06:39 UTC (rev 868) @@ -1,7 +0,0 @@ -#!/bin/sh -( cd ./sblim-cmpi-power_supply_profile/trunk/mof ; ./register.sh ) -( cd ./sblim-cmpi-power_supply_profile/trunk/mof ; ./register.sh ) -( cd ./sblim-cmpi-boot_control_profile/trunk/mof ; ./register.sh ) -( cd ./sblim-cmpi-ethernet_port_profile/trunk/mof ; ./register.sh ) -( cd ./sblim-cmpi-ssh_service_profile/trunk/mof ; ./register.sh ) -( cd ./sblim-cmpi-fan_profile/trunk/mof ; ./register.sh ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |