aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/Makefile.am
blob: 0719a5e5662cb929fb2dadd6ada3e883100853bd (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
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       \
    $(BONOBO_VFS_GNOME_CFLAGS)          \
        -DGNOMELOCALEDIR=\""$(localedir)"\"

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-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)