mirror of
https://github.com/tailix/libclayer.git
synced 2024-11-20 11:06:24 -05:00
46 lines
807 B
Makefile
46 lines
807 B
Makefile
include $(top_srcdir)/make/shared.am
|
|
include $(top_srcdir)/make/checks.am
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
EXTRA_DIST = autogen.sh CONTRIBUTING.md sha256sums.txt
|
|
|
|
SUBDIRS = include
|
|
|
|
if WITH_LIBC
|
|
# FIXME: after "make clean" libc is not rebuiling
|
|
SUBDIRS += libc
|
|
endif
|
|
|
|
SUBDIRS += .
|
|
|
|
if ENABLE_CHECKS
|
|
SUBDIRS += tests
|
|
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 =
|
|
libkernaux_la_SOURCES = src/xxxxx.c
|
|
|
|
########
|
|
# libc #
|
|
########
|
|
|
|
if WITH_LIBC
|
|
libkernaux_la_LIBADD += libc/libc.la
|
|
endif
|