Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / Makefile
1 ###############################################################################
2 # Copyright (c) 2000-2015 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
11 all: all1
12
13 run: run1
14
15 clean: clean1
16
17 distclean: distclean1
18
19 ifeq ($(XMLWORKFLOW),2)
20 # Add more prerequisites to the targets
21 all: all2
22
23 run: run2
24
25 clean: clean2
26
27 distclean: distclean2
28 endif
29
30
31
32 # for general XML tests
33 all1: bin/Makefile
34 $(MAKE) -C bin all
35
36 run1: bin/Makefile
37 $(MAKE) -C bin run
38
39 clean1:
40 if [ -f bin/Makefile ] ; then $(MAKE) -C bin clean ; else true; fi
41
42 distclean1: clean1
43 find bin -type l | xargs rm -f
44 rm -f bin/Makefile bin/*.ttcn bin/core
45
46 # for tests from protocol modules
47 all2: bin2/Makefile
48 $(MAKE) -C bin2 all
49
50 run2: bin2/Makefile
51 $(MAKE) -C bin2 run
52
53 clean2:
54 if [ -f bin2/Makefile ] ; then $(MAKE) -C bin2 clean ; else true; fi
55
56 distclean2: clean2
57 find bin2 -type l | xargs rm -f
58 rm -f bin2/Makefile bin2/*.ttcn bin2/*.ttcn bin2/core
59
60
61 bin/Makefile: $(ABS_SRC)/bin/prj2mk.pl $(ABS_SRC)/src/xmlTest.prj
62 +cd bin && perl $^
63
64 bin2/Makefile: $(ABS_SRC)/bin/prj2mk.pl $(ABS_SRC)/src/xmlTest_protocolXsds.prj
65 +cd bin2 && perl $^
66
67 .PHONY: all all1 all2 run run1 run2 clean clean1 clean2 distclean distclean1 distclean2
68
69 .NOTPARALLEL:
This page took 0.036276 seconds and 5 git commands to generate.