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
|
|
|
|
|
|
|
SUBDIRS = include
|
|
|
|
|
|
|
|
if WITH_LIBC
|
|
|
|
# FIXME: after "make clean" libc is not rebuiling
|
|
|
|
SUBDIRS += libc
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS += .
|
|
|
|
|
|
|
|
if ENABLE_CHECKS
|
2022-12-25 04:16:21 -05:00
|
|
|
SUBDIRS += tests
|
2022-12-25 03:58:00 -05:00
|
|
|
endif
|
|
|
|
|
|
|
|
libc/libc.la:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/libc libc.la
|
|
|
|
|
|
|
|
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@
|
|
|
|
libkernaux_la_LIBADD =
|
2022-12-25 04:53:54 -05:00
|
|
|
libkernaux_la_SOURCES = src/xxxxx.c
|
2022-12-25 03:58:00 -05:00
|
|
|
|
|
|
|
########
|
|
|
|
# libc #
|
|
|
|
########
|
|
|
|
|
|
|
|
if WITH_LIBC
|
|
|
|
libkernaux_la_LIBADD += libc/libc.la
|
|
|
|
endif
|