summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 9698bd874c8acfd704d1fb592a077aa07d05da4d (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
AUTOMAKE_OPTIONS = gnu

INCLUDES = @CURL_CFLAGS@ @GLIB_CFLAGS@ \
		   -I$(top_srcdir) -I$(top_builddir)

if STATIC_LINK
noinst_LTLIBRARIES = libcarddav.la
endif

if DYNAMIC_LINK
lib_LTLIBRARIES = libcarddav.la
endif

libcarddav_la_LDFLAGS = -version-info @LIBVERSION@

libcarddav_la_SOURCES = \
			carddav.h \
			carddav.c \
			add-carddav-object.c \
			add-carddav-object.h \
			delete-carddav-object.c \
			delete-carddav-object.h \
			modify-carddav-object.c \
			modify-carddav-object.h \
			get-carddav-report.c \
			get-carddav-report.h \
			get-display-name.c \
			get-display-name.h \
			carddav-utils.c \
			carddav-utils.h \
			md5.c \
			md5.h \
			options-carddav-server.c \
			options-carddav-server.h \
			lock-carddav-object.c \
			lock-carddav-object.h

libcarddav_includedir=$(includedir)/libcarddav
libcarddav_include_HEADERS = carddav.h

noinst_HEADERS = \
			add-carddav-object.h \
			delete-carddav-object.h \
			modify-carddav-object.h \
			get-carddav-report.h \
			carddav-utils.h

libcarddav_la_LIBADD = \
			@CURL_LIBS@ \
			@GLIB_LIBS@