Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | ############################################################################### |
2 | # Copyright (c) 2000-2014 Ericsson Telecom AB | |
3 | # All rights reserved. This program and the accompanying materials | |
4 | # are made available under the terms of the Eclipse Public License v1.0 | |
5 | # which accompanies this distribution, and is available at | |
6 | # http://www.eclipse.org/legal/epl-v10.html | |
7 | ############################################################################### | |
8 | TOPDIR := .. | |
9 | include ../Makefile.regression | |
10 | unexport ABS_SRC | |
11 | unexport SRCDIR | |
12 | ||
13 | ifdef RT2 | |
14 | RT2_ONLY := NegativeTest | |
15 | SHADOWED := XER TTCNandXML EXER-whitepaper XMLqualif | |
16 | else | |
17 | SHADOWED := XER* TTCNandXML* EXER-whitepaper* XMLqualif* | |
18 | endif | |
19 | ||
20 | XDIRS := $(wildcard $(SHADOWED)) xsdConverter \ | |
21 | HM60295 HN15589 HQ30408 HR49727 $(RT2_ONLY) \ | |
af710487 | 22 | XmlWorkflow tpdValidTest |
970ed795 EL |
23 | |
24 | # List of fake targets: | |
25 | .PHONY: all dep clean run $(XDIRS) $(addsuffix /, $(XDIRS)) profile | |
26 | ||
27 | all dep clean distclean: | |
28 | for dir in $(XDIRS); do $(MAKE) -C $$dir $@ || exit; done | |
29 | ||
30 | run: | |
31 | for dir in $(XDIRS); do $(MAKE) -C $$dir $@ || exit; done | |
32 | ||
33 | # To run just one test, type "make dir" or "make "dir/" | |
34 | $(XDIRS) $(addsuffix /, $(XDIRS)): | |
35 | $(MAKE) -C $@ run | |
36 | ||
37 | # To run all tests, possibly in parallel | |
38 | runall: $(XDIRS) | |
39 | ||
40 |