| 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 | # Balasko, Jeno |
| 10 | # |
| 11 | ############################################################################## |
| 12 | TOPDIR := .. |
| 13 | include $(TOPDIR)/Makefile.regression |
| 14 | |
| 15 | unexport ABS_SRC |
| 16 | unexport SRCDIR |
| 17 | |
| 18 | DIRS := BER OER JSON RAW Text_EncDec XER_EncDec |
| 19 | |
| 20 | ifndef LEGACY_CODEC_HANDLING |
| 21 | DIRS += multipleEncodings |
| 22 | endif |
| 23 | |
| 24 | # List of fake targets: |
| 25 | .PHONY: all dep clean run $(DIRS) $(addsuffix /, $(DIRS)) profile |
| 26 | |
| 27 | all run dep clean distclean: |
| 28 | for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done |
| 29 | |
| 30 | # To run just one test, type "make dir" or "make "dir/" |
| 31 | $(DIRS) $(addsuffix /, $(DIRS)): |
| 32 | $(MAKE) -C $@ run |
| 33 | |
| 34 | # To run all tests, possibly in parallel |
| 35 | runall: $(DIRS) |
| 36 | |
| 37 |