aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/Makefile.am
blob: 57c24d31304356ed5068ce2ea09e1bfe16aad9f8 (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
INCLUDES =                      \
    -DG_LOG_DOMAIN=\"wombat-pcs\"           \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I$(top_srcdir)/libical/src/libical     \
    -I$(top_builddir)/libical/src/libical       \
    -I$(top_srcdir)/libwombat           \
    -I$(top_builddir)/libwombat         \
        -DGNOMELOCALEDIR=\""$(localedir)"\"     \
    $(EVOLUTION_CALENDAR_CFLAGS)

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 = -I $(srcdir) `$(GNOME_CONFIG) --cflags idl` -I $(datadir)/idl

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

noinst_LIBRARIES = libpcs.a

libpcs_a_SOURCES =      \
    $(CORBA_GENERATED)  \
    cal.c           \
    cal.h           \
    cal-backend.c       \
    cal-backend.h       \
    cal-backend-file.c  \
    cal-backend-file.h  \
    cal-backend-util.c  \
    cal-backend-util.h  \
    cal-common.h        \
    cal-factory.c       \
    cal-factory.h       \
    job.c           \
    job.h           \
    query.c         \
    query.h


BUILT_SOURCES = $(CORBA_GENERATED)
CLEANFILES = $(BUILT_SOURCES)

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)