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

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

if STATIC_LINK
noinst_LTLIBRARIES = libcaldav.la
endif

if DYNAMIC_LINK
lib_LTLIBRARIES = libcaldav.la
endif

libcaldav_la_LDFLAGS = -version-info @LIBVERSION@

libcaldav_la_SOURCES = \
			caldav.h \
			caldav.c \
			add-caldav-object.c \
			add-caldav-object.h \
			delete-caldav-object.c \
			delete-caldav-object.h \
			modify-caldav-object.c \
			modify-caldav-object.h \
			get-caldav-report.c \
			get-caldav-report.h \
			get-display-name.c \
			get-display-name.h \
			caldav-utils.c \
			caldav-utils.h \
			md5.c \
			md5.h \
			options-caldav-server.c \
			options-caldav-server.h \
			lock-caldav-object.c \
			lock-caldav-object.h \
			get-freebusy-report.c \
			get-freebusy-report.h

libcaldav_includedir=$(includedir)/libcaldav
libcaldav_include_HEADERS = caldav.h

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

libcaldav_la_LIBADD = \
			@CURL_LIBS@ \
			@GLIB_LIBS@