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-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 \
|
|
|
|
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-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-29 22:29:58 -05:00
|
|
|
if ARCH_I386
|
|
|
|
libkernaux_a_SOURCES += src/arch/i386.S
|
|
|
|
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-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
|
|
|
|
|
|
|
tests_test_stdlib_SOURCES = \
|
|
|
|
$(libkernaux_a_SOURCES) \
|
|
|
|
tests/test_stdlib.c
|