summaryrefslogtreecommitdiff
path: root/src/common/Makefile.am
blob: a57868d0281a855f48e8bdee7391abfd8fce1b52 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

noinst_LTLIBRARIES = libcommon4.la # 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					\
	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



libcommon4_la_SOURCES =						\
	asm.h asm.c								\
	bits.h bits.c							\
	compiler.h								\
	datatypes.h								\
	environment.h environment.c				\
	extstr.h extstr.c						\
	io.h io.c								\
	leb128.h leb128.c						\
	packed.h packed.c						\
	pathname.h pathname.c					\
	sort.h sort.c							\
	xdg.h xdg.c

libcommon4_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBSSL_CFLAGS)


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

dev_HEADERS = $(libcommon_la_SOURCES:%c=)