summaryrefslogtreecommitdiff
path: root/src/common/Makefile.am
blob: 1a8f8c48879c4de27992f57aad9aacbc83a61849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

noinst_LTLIBRARIES = libcommon.la

libcommon_la_SOURCES =					\
	alloc.h alloc.c						\
	array.h array.c						\
	asm.h asm.c							\
	bconst.h							\
	bits.h bits.c						\
	compression.h compression.c			\
	cpp.h								\
	cpu.h cpu.c							\
	dllist.h dllist.c					\
	endianness.h endianness.c			\
	environment.h environment.c			\
	extstr.h extstr.c					\
	hex.h hex.c							\
	ibuf.h ibuf.c						\
	io.h io.c							\
	itoa.h itoa.c						\
	fnv1a.h fnv1a.c						\
	leb128.h leb128.c					\
	macros.h							\
	net.h net.c							\
	packed.h packed.c					\
	pathname.h pathname.c				\
	pearson.h pearson.c					\
	shuffle.h shuffle.c					\
	sort.h sort.c						\
	sqlite.h sqlite.c					\
	szstr.h								\
	utf8.h utf8.c						\
	xdg.h xdg.c							\
	xml.h xml.c

if BUILD_CURL_SUPPORT

libcommon_la_SOURCES +=					\
	curl.h curl.c

endif

cpu.lo: CFLAGS += -mavx512f

libcommon_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS)

if BUILD_CURL_SUPPORT

libcommon_la_CFLAGS += $(LIBCURL_CFLAGS)

endif


devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%)

dev_HEADERS = $(libcommon_la_SOURCES:%c=)