[hkl] updated ccan
[hkl.git] / hkl / ccan / Makefile.am
blob8a5582a91e43a8319e2d885d61ded35cdc997edd
1 AM_CFLAGS=-I$(top_srcdir)
3 noinst_PROGRAMS=configurator
4 BUILT_SOURCES=ccan_config.h
5 ccan_config.h: configurator
6         $(builddir)/configurator $(CC) $(CCAN_CFLAGS) > $@.tmp && mv $@.tmp $@
7 noinst_LTLIBRARIES=libccan.la
8 libccan_la_SOURCES = \
9         ccan_config.h \
10         array_size/array_size.h \
11         noerr/noerr.c \
12         noerr/noerr.h \
13         check_type/check_type.h \
14         str/str.h \
15         str/str_debug.h \
16         str/str.c \
17         str/debug.c \
18         generator/generator.h \
19         generator/generator.c \
20         darray/darray.h \
21         coroutine/coroutine.h \
22         coroutine/coroutine.c \
23         cppmagic/cppmagic.h \
24         compiler/compiler.h \
25         autodata/autodata.h \
26         autodata/autodata.c \
27         container_of/container_of.h \
28         build_assert/build_assert.h \
29         typesafe_cb/typesafe_cb.h \
30         list/list.c \
31         list/list.h \
32         alignof/alignof.h \
33         ptr_valid/ptr_valid.c \
34         ptr_valid/ptr_valid.h \
35         ptrint/ptrint.h
37 ccanincludedir=$(includedir)/hkl-@VMAJ@/hkl/ccan
38 nobase_ccaninclude_HEADERS= \
39         darray/darray.h
40 nodist_ccaninclude_HEADERS=ccan_config.h
41 EXTRA_DIST=configurator.c
42 CLEANFILES=configurator ccan_config.h