1######################################################################
2# Copyright (C) 2011 Hewlett-Packard Development Company, L.P.
3#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License
6# version 2 as published by the Free Software Foundation.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License along
14# with this program; if not, write to the Free Software Foundation, Inc.,
15# 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
16######################################################################
17
18TOP = ../../..
19VARS = $(TOP)/Makefile.conf
20include $(VARS)
21
22DIRS = Unit Functional
23
24DIR_LOOP = @set -e; for dir in $(DIRS); do $(MAKE) -s -C $$dir $(1); done
25
26all:
27	$(call DIR_LOOP, )
28
29test:
30	$(call DIR_LOOP,test)
31
32coverage:
33	$(call DIR_LOOP,coverage)
34
35clean:
36	$(call DIR_LOOP,clean)
37
38.PHONY: all test coverage clean
39