aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/Makefile.am
blob: a567597975d5416bed7ef1b9d3900dce1aae33df (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Tlacuache personal calendar server
#

bin_PROGRAMS = tlacuache
lib_LTLIBRARIES = libpcs.la

#INCLUDES = \
#        -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
#   -I$(top_srcdir)/libical/src/libical \
#   -I$(top_srcdir)/libversit \
#   -I$(top_srcdir)/calendar \
#   -I. \
#   -I$(top_srcdir)/calendar/cal-client \
#        $(GNOME_INCLUDEDIR)

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

CORBA_GENERATED =               \
    evolution-calendar.h            \
    evolution-calendar-common.c     \
    evolution-calendar-skels.c      \
    evolution-calendar-stubs.c

idls =                      \
    $(srcdir)/../idl/evolution-calendar.idl

idl_flags = `$(GNOME_CONFIG) --cflags idl`

$(CORBA_GENERATED): $(idls)
    $(ORBIT_IDL) $(idl_flags) $(srcdir)/../idl/evolution-calendar.idl

#tlacuache_INCLUDES =                   \
#        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
#   -I$(srcdir) -I$(top_srcdir)             \
#   -I.                         \
#   -I..                        \
#   -I$(top_builddir)               \
#        -I$(includedir)                                 \
#        $(GNOME_INCLUDEDIR)

tlacuache_SOURCES =     \
    $(CORBA_GENERATED)  \
    cal.c           \
    cal.h           \
    cal-backend.c       \
    cal-backend.h       \
    cal-common.h        \
    cal-factory.c       \
    cal-factory.h       \
    icalendar.c     \
    icalendar.h     \
    job.c           \
    job.h           \
    tlacuache.c

#   alarm.c         \
#   alarm.h         \
#   cal-util.c      \
#   cal-util.h      \

libpcs_la_SOURCES =             \
    $(CORBA_GENERATED)  \
    cal.c           \
    cal-backend.c       \
    cal-factory.c       \
    icalendar.c     \
    job.c           

libpcsincludedir = $(includedir)/calendar/pcs

libpcsinclude_HEADERS =                 \
    cal.h           \
    cal-backend.h       \
    cal-common.h        \
    cal-factory.h       \
    icalendar.h     \
    job.h           

ICAL_LINK_FLAGS = $(top_builddir)/libical/src/libical/libical.la

tlacuache_LDADD =                   \
    $(BONOBO_VFS_GNOME_LIBS)            \
    $(top_builddir)/calendar/cal-util/libcalutil.la \
    $(top_builddir)/libversit/libversit.la      \
    $(ICAL_LINK_FLAGS)

gnorbadir = $(sysconfdir)/CORBA/servers

gnorba_DATA =           \
    tlacuache.gnorba

EXTRA_DIST =            \
    $(gnorba_DATA)