Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / compileonly / mfgen-tpd / buildconfig_param / 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 $(TOPDIR)/Makefile.regression
10
11ifdef LCOV
12COVERAGE_FLAG := -C
13endif
14
15# ${MAKEPROG} has the same content as the built-in ${MAKE},
16# except the special handling of ${MAKE} does not apply.
17# If we used ${MAKE} in the rules below, 'make -n' would succeed once,
18# then fail on every subsequent invocation until a 'make clean' is done.
19MAKEPROG := ${MAKE}
20
21all: CheckHelloTpd
22
23BuildHelloTpd:
24 mkdir -p HelloTpd/bin && cd HelloTpd/bin \
25 && $(TTCN3_DIR)/bin/ttcn3_makefilegen -f $(MFGEN_FLAGS) $(COVERAGE_FLAG) \
26 -t ../HelloTpd.tpd -b test1 && ${MAKEPROG}
27
28CheckHelloTpd: BuildHelloTpd
29 if [ ! -f HelloTpd/bin/test1_config.exe ]; then exit 1; fi
30
31clean:
32 -rm -rf HelloTpd/bin
33
34distclean: clean
35 -rm -f *.out
36
37.PHONY: all clean distclean BuildHelloTpd CheckHelloTpd
38
This page took 0.03925 seconds and 5 git commands to generate.