2020-11-27 05:29:53 -05:00
|
|
|
SUBDIRS = include
|
|
|
|
|
2020-11-28 16:39:04 -05:00
|
|
|
AM_CFLAGS = -std=c99 -Wall -Wextra -I$(top_srcdir)/include
|
2020-11-27 04:28:13 -05:00
|
|
|
|
|
|
|
lib_LIBRARIES = libkernaux.a
|
|
|
|
|
2020-11-27 11:04:15 -05:00
|
|
|
TESTS = \
|
2020-12-01 14:55:16 -05:00
|
|
|
tests/test_cmdline \
|
2020-11-29 13:02:19 -05:00
|
|
|
tests/test_multiboot2_helpers \
|
2020-11-28 16:24:50 -05:00
|
|
|
tests/test_multiboot2_print \
|
2020-11-29 19:25:30 -05:00
|
|
|
tests/test_multiboot2_validation \
|
2020-11-30 13:32:27 -05:00
|
|
|
tests/test_pfa \
|
2020-11-29 19:25:30 -05:00
|
|
|
tests/test_stdlib
|
2020-11-27 11:04:15 -05:00
|
|
|
|
2020-11-28 16:24:50 -05:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
$(TESTS) \
|
2020-11-29 07:57:34 -05:00
|
|
|
tests/multiboot2_print1 \
|
|
|
|
tests/multiboot2_print2
|
2020-11-27 11:04:15 -05:00
|
|
|
|
2020-11-27 04:28:13 -05:00
|
|
|
libkernaux_a_SOURCES = \
|
2020-12-01 14:55:16 -05:00
|
|
|
src/cmdline.c \
|
2020-11-30 06:32:12 -05:00
|
|
|
src/console.c \
|
2020-11-29 13:02:19 -05:00
|
|
|
src/multiboot2/helpers.c \
|
2020-11-27 19:32:11 -05:00
|
|
|
src/multiboot2/is_valid.c \
|
2020-11-27 20:27:41 -05:00
|
|
|
src/multiboot2/print.c \
|
2020-11-29 19:00:47 -05:00
|
|
|
src/pfa.c \
|
|
|
|
src/stdlib.c
|
2020-11-27 11:04:15 -05:00
|
|
|
|
2020-11-30 05:46:35 -05:00
|
|
|
if ARCH_X86
|
|
|
|
libkernaux_a_SOURCES += src/arch/x86.S
|
2020-11-29 22:29:58 -05:00
|
|
|
endif
|
|
|
|
|
2020-11-29 07:57:34 -05:00
|
|
|
tests_multiboot2_print1_SOURCES = \
|
2020-11-28 16:24:50 -05:00
|
|
|
$(libkernaux_a_SOURCES) \
|
2020-11-29 07:57:34 -05:00
|
|
|
tests/multiboot2_print1.c
|
|
|
|
|
|
|
|
tests_multiboot2_print2_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/multiboot2_print2.c
|
2020-11-28 16:24:50 -05:00
|
|
|
|
2020-12-01 14:55:16 -05:00
|
|
|
tests_test_cmdline_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_cmdline.c
|
|
|
|
|
2020-11-29 13:02:19 -05:00
|
|
|
tests_test_multiboot2_helpers_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_multiboot2_helpers.c
|
|
|
|
|
2020-11-28 16:24:50 -05:00
|
|
|
tests_test_multiboot2_print_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_multiboot2_print.c
|
|
|
|
|
2020-11-27 16:48:50 -05:00
|
|
|
tests_test_multiboot2_validation_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_multiboot2_validation.c
|
2020-11-29 19:25:30 -05:00
|
|
|
|
2020-11-30 13:32:27 -05:00
|
|
|
tests_test_pfa_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_pfa.c
|
|
|
|
|
2020-11-29 19:25:30 -05:00
|
|
|
tests_test_stdlib_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_stdlib.c
|