Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / Makefile
CommitLineData
970ed795 1###############################################################################
3abe9331 2# Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
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###############################################################################
8TOPDIR := ../..
9include ../../Makefile.regression
10
11all: all1
12
13run: run1
14
15clean: clean1
16
17distclean: distclean1
18
19ifeq ($(XMLWORKFLOW),2)
20# Add more prerequisites to the targets
21all: all2
22
23run: run2
24
25clean: clean2
26
27distclean: distclean2
28endif
29
30
31
32# for general XML tests
33all1: bin/Makefile
34 $(MAKE) -C bin all
35
36run1: bin/Makefile
37 $(MAKE) -C bin run
38
39clean1:
40 if [ -f bin/Makefile ] ; then $(MAKE) -C bin clean ; else true; fi
41
42distclean1: 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
47all2: bin2/Makefile
48 $(MAKE) -C bin2 all
49
50run2: bin2/Makefile
51 $(MAKE) -C bin2 run
52
53clean2:
54 if [ -f bin2/Makefile ] ; then $(MAKE) -C bin2 clean ; else true; fi
55
56distclean2: clean2
57 find bin2 -type l | xargs rm -f
58 rm -f bin2/Makefile bin2/*.ttcn bin2/*.ttcn bin2/core
59
60
61bin/Makefile: $(ABS_SRC)/bin/prj2mk.pl $(ABS_SRC)/src/xmlTest.prj
62 +cd bin && perl $^
63
64bin2/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.042946 seconds and 5 git commands to generate.