Debian Codegraph @

regression_test/compileonly/mfgen-tpd/splitting/Makefile

raw
1 ##############################################################################
2 # Copyright (c) 2000-2021 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 v2.0
5 # which accompanies this distribution, and is available at
6 # https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7 #
8 # Contributors:
9 # Szabo, Bence Janos
10 #
11 ##############################################################################
12 TOPDIR := ../../..
13 include $(TOPDIR)/Makefile.regression
14
15 ifdef LCOV
16 COVERAGE_FLAG := -C
17 endif
18
19
20 MAKEPROG := ${MAKE}
21
22 all: Normal Recursive RecursiveDynamic
23
24 Normal:
25 rm -rf binDefault ../b/binDefault ../c/binDefault && cd a && \
26 $(TTCN3_DIR)/bin/ttcn3_makefilegen -f $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
27 -t a.tpd -b None && cd binDefault && make && cd .. && rm -rf binDefault && \
28 $(TTCN3_DIR)/bin/ttcn3_makefilegen -f $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
29 -t a.tpd -b Type && cd binDefault && make && cd .. && rm -rf binDefault && \
30 $(TTCN3_DIR)/bin/ttcn3_makefilegen -f $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
31 -t a.tpd -b Number && cd binDefault && make && cd .. && rm -rf binDefault
32
33 Recursive:
34 rm -rf binDefault ../b/binDefault ../c/binDefault && cd a && \
35 $(TTCN3_DIR)/bin/ttcn3_makefilegen -F $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
36 -t a.tpd -rgpcb None && cd binDefault && make && cd .. && \
37 rm -rf binDefault ../b/binDefault ../c/binDefault && \
38 $(TTCN3_DIR)/bin/ttcn3_makefilegen -F $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
39 -t a.tpd -rgpcb Type && cd binDefault && make && cd .. && \
40 rm -rf binDefault ../b/binDefault ../c/binDefault && \
41 $(TTCN3_DIR)/bin/ttcn3_makefilegen -F $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
42 -t a.tpd -rgpcb Number && cd binDefault && make && cd .. && \
43 rm -rf binDefault ../b/binDefault ../c/binDefault
44
45 RecursiveDynamic:
46 rm -rf binDefault ../b/binDefault ../c/binDefault && cd a && \
47 $(TTCN3_DIR)/bin/ttcn3_makefilegen -F $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
48 -t a.tpd -rcpb None-Dyn && cd binDefault && make && cd .. && \
49 rm -rf binDefault ../b/binDefault ../c/binDefault && \
50 $(TTCN3_DIR)/bin/ttcn3_makefilegen -F $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
51 -t a.tpd -rcpb Type-Dyn && cd binDefault && make && cd .. && \
52 rm -rf binDefault ../b/binDefault ../c/binDefault && \
53 $(TTCN3_DIR)/bin/ttcn3_makefilegen -F $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
54 -t a.tpd -rcpb Number-Dyn && cd binDefault && make && cd .. && \
55 rm -rf binDefault ../b/binDefault ../c/binDefault
56
57
58 clean:
59 -rm -rf a/binDefault b/binDefault c/binDefault
60
61 distclean: clean
62 -rm -f *.out
63
64 .PHONY: all clean distclean Normal Recursive RecursiveDynamic
65