Debian Codegraph @

regression_test/compileonly/mfgen-tpd/required_config/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 – initial implementation
10 #
11 ##############################################################################
12 TOPDIR := ../../..
13 include $(TOPDIR)/Makefile.regression
14
15 CODIRS := 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 \
16 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
17 48 49 50 51 52 53 54 55 56 57 58
18
19
20 #The configurations of the TPD files only differ in the name of the working
21 #directory and the target executable field. This two field is enough to
22 #determine that the correct configuration is used.
23 #If a makefilegen command finishes without error, then we check the
24 #makefiles in the project's working directory if it has the correct EXECUTABLE
25 #value.
26 #If a makefilegen command finishes with error, then we check it's output for
27 #the error message and we match it with an expected error message.
28
29 #This is the case of -r switch being used (hierarchical build)
30
31 all dep clean distclean:
32 for dir in $(CODIRS); do $(MAKE) -C $$dir $@ || exit; done