mirror of
https://github.com/tailix/libclayer.git
synced 2024-10-30 11:54:08 -04:00
45 lines
780 B
Makefile
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
|