1
0
Fork 0
mirror of https://github.com/tailix/libclayer.git synced 2024-11-13 11:04:17 -05:00
libclayer/Makefile.am

48 lines
839 B
Text
Raw Normal View History

2022-12-25 03:58:00 -05:00
include $(top_srcdir)/make/shared.am
include $(top_srcdir)/make/checks.am
ACLOCAL_AMFLAGS = -I m4
2022-12-25 04:57:12 -05:00
EXTRA_DIST = autogen.sh CONTRIBUTING.md sha256sums.txt
2022-12-25 03:58:00 -05:00
2022-12-25 05:06:58 -05:00
SUBDIRS = include .
2022-12-25 03:58:00 -05:00
if ENABLE_CHECKS
2022-12-25 04:16:21 -05:00
SUBDIRS += tests
2022-12-25 03:58:00 -05:00
endif
AM_CFLAGS += -DKERNAUX_ACCESS_PRIVATE
lib_LTLIBRARIES = libkernaux.la
if ENABLE_PKG_CONFIG
pkgconfigdir = @pkgconfdir@
pkgconfig_DATA = libkernaux.pc
endif
##################
# Required files #
##################
libkernaux_la_LDFLAGS = -version-info @PACKAGE_VERSION_SO@
2022-12-25 05:06:58 -05:00
libkernaux_la_SOURCES = \
src/ctype.c \
src/errno.c \
src/kernaux.c \
src/stdlib.c \
src/string.c
if ASM_I386
libkernaux_la_SOURCES += \
src/asm/i386/longjmp.S \
src/asm/i386/setjmp.S
endif
2022-12-25 03:58:00 -05:00
2022-12-25 05:06:58 -05:00
if ASM_X86_64
libkernaux_la_SOURCES += \
src/asm/x86_64/longjmp.S \
src/asm/x86_64/setjmp.S
2022-12-25 03:58:00 -05:00
endif
2022-12-25 05:06:58 -05:00
# TODO: implement setjmp/longjmp for riscv64