aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/Makefile.am
blob: 82da5a2564f41001ec55e809176f697fccf8258a (plain) (blame)
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
noinst_PROGRAMS = test-recur icalendar-test

INCLUDES =                      \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"    \
    -DG_LOG_DOMAIN=\"cal-util\"         \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I.                         \
    -I..                        \
    -I$(top_builddir)               \
    -I$(top_srcdir)/libical/src/libical     \
    -I$(top_builddir)/libical/src/libical       \
        $(GNOME_INCLUDEDIR)

#
# cal util library
#

lib_LTLIBRARIES = libcal-util.la

libcal_util_la_SOURCES =    \
    cal-component.c     \
    cal-recur.c     \
    cal-util.c      \
    calobj.c        \
    icalendar.c     \
    icalendar.h     \
    icalendar-save.c    \
    icalendar-save.h    \
    timeutil.c

libcal_utilincludedir = $(includedir)/evolution/cal-util

libcal_utilinclude_HEADERS =    \
    cal-component.h     \
    cal-recur.h     \
    cal-util.h      \
    calobj.h        \
    timeutil.h

#
# static library for use in conduits' shared libraries
#
noinst_LTLIBRARIES = libcal-util-static.la
libcal_util_static_la_SOURCES = $(libcal_util_la_SOURCES)
libcal_util_static_la_LDFLAGS = --all-static


#
# test program
#

icalendar_test_SOURCES =    \
    icalendar-test.c    \
    icalendar.c     \
    icalendar-save.c

icalendar_test_LDADD =                      \
    $(EXTRA_GNOME_LIBS)                 \
    $(top_builddir)/libversit/libversit.la          \
    $(top_builddir)/libical/src/libical/libical.a

#   $(top_builddir)/calendar/cal-util/libcal-util.la    \

test_recur_SOURCES =    \
    test-recur.c

test_recur_LDADD =  \
    libcal-util.la  \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/libical/src/libical/libical.a   \
    $(EXTRA_GNOME_LIBS)