aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/Makefile.am
blob: 3432837685eb02d0e963d39ce3f258feb554d7f5 (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
INCLUDES =                      \
    -DG_LOG_DOMAIN=\"wombat-pcs\"           \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I$(top_builddir)/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_H =             \
    evolution-calendar.h

CORBA_GENERATED_C =             \
    evolution-calendar-common.c     \
    evolution-calendar-skels.c      \
    evolution-calendar-stubs.c

CORBA_GENERATED = $(CORBA_GENERATED_H) $(CORBA_GENERATED_C)

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

idl_flags = -I $(srcdir) $(IDL_INCLUDES)

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

pcsincludedir = $(includedir)/evolution/pcs

privlib_LIBRARIES = libpcs.a
noinst_LIBRARIES = libpcsfile.a

pcsinclude_HEADERS =        \
    $(CORBA_GENERATED_H)    \
    cal.h           \
    cal-backend.h       \
    cal-backend-util.h  \
    cal-common.h        \
    cal-factory.h       \
    job.h           \
    query-backend.h     \
    query.h

libpcs_a_SOURCES =      \
    $(pcsinclude_HEADERS)   \
    $(CORBA_GENERATED_C)    \
    cal.c           \
    cal-backend.c       \
    cal-backend-util.c  \
    cal-factory.c       \
    job.c           \
    query-backend.c     \
    query.c

libpcsfile_a_SOURCES =      \
    cal-backend-file.c  \
    cal-backend-file.h

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

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