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

45 lines
780 B
Makefile

include $(top_srcdir)/make/shared.am
include $(top_srcdir)/make/checks.am
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = autogen.sh sha256sums.txt
SUBDIRS = include .
if ENABLE_CHECKS
SUBDIRS += tests
endif
lib_LTLIBRARIES = libclayer.la
if ENABLE_PKG_CONFIG
pkgconfigdir = @pkgconfdir@
pkgconfig_DATA = libclayer.pc
endif
##################
# Required files #
##################
libclayer_la_LDFLAGS = -version-info @PACKAGE_VERSION_SO@
libclayer_la_SOURCES = \
src/ctype.c \
src/errno.c \
src/libclayer.c \
src/stdlib.c \
src/string.c
if ASM_I386
libclayer_la_SOURCES += \
src/asm/i386/longjmp.S \
src/asm/i386/setjmp.S
endif
if ASM_X86_64
libclayer_la_SOURCES += \
src/asm/x86_64/longjmp.S \
src/asm/x86_64/setjmp.S
endif
# TODO: implement setjmp/longjmp for riscv64