1
0
Fork 0
mirror of https://github.com/tailix/libclayer.git synced 2024-11-06 10:56:10 -05:00
libclayer/Makefile.am

46 lines
780 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 05:30:48 -05:00
EXTRA_DIST = autogen.sh 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
2022-12-25 05:14:39 -05:00
lib_LTLIBRARIES = libclayer.la
2022-12-25 03:58:00 -05:00
if ENABLE_PKG_CONFIG
pkgconfigdir = @pkgconfdir@
2022-12-25 05:14:39 -05:00
pkgconfig_DATA = libclayer.pc
2022-12-25 03:58:00 -05:00
endif
##################
# Required files #
##################
2022-12-25 05:14:39 -05:00
libclayer_la_LDFLAGS = -version-info @PACKAGE_VERSION_SO@
2022-12-25 03:58:00 -05:00
2022-12-25 05:14:39 -05:00
libclayer_la_SOURCES = \
2022-12-25 05:06:58 -05:00
src/ctype.c \
src/errno.c \
2022-12-25 05:21:35 -05:00
src/libclayer.c \
2022-12-25 05:06:58 -05:00
src/stdlib.c \
src/string.c
if ASM_I386
2022-12-25 05:14:39 -05:00
libclayer_la_SOURCES += \
2022-12-25 05:06:58 -05:00
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
2022-12-25 05:14:39 -05:00
libclayer_la_SOURCES += \
2022-12-25 05:06:58 -05:00
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