From 2bacb10de9f556d4724450f7cc74a191177facb8 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 4 Jun 2022 04:05:57 +0300 Subject: [PATCH] Main: Makefile.am: add conditions --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 93e1644..030619e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -243,6 +243,7 @@ endif # tests/multiboot2_header_print1 # ################################## +if ENABLE_TESTS if WITH_MULTIBOOT2 noinst_PROGRAMS += tests/multiboot2_header_print1 tests_multiboot2_header_print1_LDADD = libkernaux.a @@ -250,11 +251,13 @@ tests_multiboot2_header_print1_SOURCES = \ tests/multiboot2_header_print1.c \ tests/multiboot2_header_example1.h endif +endif ################################## # tests/multiboot2_header_print2 # ################################## +if ENABLE_TESTS if WITH_MULTIBOOT2 noinst_PROGRAMS += tests/multiboot2_header_print2 tests_multiboot2_header_print2_LDADD = libkernaux.a @@ -262,11 +265,13 @@ tests_multiboot2_header_print2_SOURCES = \ tests/multiboot2_header_print2.c \ tests/multiboot2_header_example2.h endif +endif ################################ # tests/multiboot2_info_print1 # ################################ +if ENABLE_TESTS if WITH_MULTIBOOT2 noinst_PROGRAMS += tests/multiboot2_info_print1 tests_multiboot2_info_print1_LDADD = libkernaux.a @@ -274,11 +279,13 @@ tests_multiboot2_info_print1_SOURCES = \ tests/multiboot2_info_print1.c \ tests/multiboot2_info_example1.h endif +endif ################################ # tests/multiboot2_info_print2 # ################################ +if ENABLE_TESTS if WITH_MULTIBOOT2 noinst_PROGRAMS += tests/multiboot2_info_print2 tests_multiboot2_info_print2_LDADD = libkernaux.a @@ -286,6 +293,7 @@ tests_multiboot2_info_print2_SOURCES = \ tests/multiboot2_info_print2.c \ tests/multiboot2_info_example2.h endif +endif ###################### # tests/test_cmdline #