| 1 | PROG = hello_customtests |
| 2 | |
| 3 | WARNS = 4 |
| 4 | |
| 5 | MKC_CHECK_CUSTOM = alloca_in_stdlib_h # C lang check |
| 6 | MKC_CHECK_CUSTOM += alloca_in_alloca_h # C lang check |
| 7 | MKC_CHECK_CUSTOM += cxx_with_templates # C++ lang check |
| 8 | MKC_CHECK_CUSTOM += true_is_available # script-based check |
| 9 | MKC_CHECK_CUSTOM += shtest # script-based check |
| 10 | |
| 11 | MKC_CUSTOM_FN.alloca_in_stdlib_h = custom_tests/alloca_in_stdlib_h.c |
| 12 | MKC_CUSTOM_FN.alloca_in_alloca_h = custom_tests/alloca_in_alloca_h.c |
| 13 | MKC_CUSTOM_FN.cxx_with_templates = custom_tests/cxx_with_templates.cc |
| 14 | MKC_CUSTOM_FN.true_is_available = custom_tests/true_is_available |
| 15 | MKC_CUSTOM_FN.shtest = custom_tests/shtest |
| 16 | |
| 17 | MKC_CHECK_BUILTINS += endianness |
| 18 | |
| 19 | MKC_REQD = 0.12.0 |
| 20 | |
| 21 | .include <mkc.configure.mk> |
| 22 | |
| 23 | BUILTIN.endianness ?= |
| 24 | .if ${BUILTIN.endianness} != little && ${BUILTIN.endianness} != big |
| 25 | MKC_ERR_MSG = "Do you run PDP-11?" |
| 26 | .endif |
| 27 | |
| 28 | .include "test.mk" |
| 29 | .include <mkc.prog.mk> |