James Dong | 17299ab | 2010-05-14 15:45:22 -0700 | [diff] [blame] | 1 | #/* |
| 2 | # ** Copyright 2003-2010, VisualOn, Inc. |
| 3 | # ** |
| 4 | # ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # ** you may not use this file except in compliance with the License. |
| 6 | # ** You may obtain a copy of the License at |
| 7 | # ** |
| 8 | # ** http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # ** |
| 10 | # ** Unless required by applicable law or agreed to in writing, software |
| 11 | # ** distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # ** See the License for the specific language governing permissions and |
| 14 | # ** limitations under the License. |
| 15 | # */ |
| 16 | # Just acting as Father Makefile of Modules |
| 17 | # please keep the name 'makefile' unchanged |
| 18 | |
| 19 | # Module Subdirs |
| 20 | VOMSD:=$(dir $(shell find . -name 'Makefile')) |
| 21 | |
| 22 | all: |
| 23 | for dir in $(VOMSD); \ |
| 24 | do \ |
| 25 | $(MAKE) -C $$dir; \ |
| 26 | done |
| 27 | |
| 28 | .PHONY:clean devel |
| 29 | clean: |
| 30 | for dir in $(VOMSD); \ |
| 31 | do \ |
| 32 | $(MAKE) -C $$dir clean; \ |
| 33 | done |
| 34 | |
| 35 | devel: |
| 36 | for dir in $(VOMSD); \ |
| 37 | do \ |
| 38 | $(MAKE) -C $$dir devel; \ |
| 39 | done |