Makefile 1.21 KB
Newer Older
Elemer Lelik's avatar
Elemer Lelik committed
1
###############################################################################
Elemer Lelik's avatar
Elemer Lelik committed
2
# Copyright (c) 2000-2015 Ericsson Telecom AB
Elemer Lelik's avatar
Elemer Lelik committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
###############################################################################
TOPDIR := ..
include   ../Makefile.regression
unexport ABS_SRC
unexport SRCDIR

ifdef RT2
RT2_ONLY := NegativeTest
SHADOWED := XER  TTCNandXML  EXER-whitepaper  XMLqualif
else
SHADOWED := XER* TTCNandXML* EXER-whitepaper* XMLqualif*
endif

XDIRS := $(wildcard $(SHADOWED)) xsdConverter \
Elemer Lelik's avatar
Elemer Lelik committed
21
HM60295 HN15589 HQ30408 HR49727 HU13380 $(RT2_ONLY) \
Elemer Lelik's avatar
Elemer Lelik committed
22
XmlWorkflow tpdValidTest AbstractBlock
Elemer Lelik's avatar
Elemer Lelik committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

# List of fake targets:
.PHONY: all dep clean run $(XDIRS) $(addsuffix /, $(XDIRS)) profile

all dep clean distclean:
	for dir in $(XDIRS); do $(MAKE) -C $$dir $@ || exit; done

run:
	for dir in $(XDIRS); do $(MAKE) -C $$dir $@ || exit; done

# To run just one test, type "make dir" or "make "dir/"
$(XDIRS) $(addsuffix /, $(XDIRS)):
	$(MAKE) -C $@ run

# To run all tests, possibly in parallel
runall: $(XDIRS)