aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/Makefile.am
blob: 237a11b83aa4460d576d3ade40df097be28d7903 (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
CORBA_SOURCE =                      \
    addressbook.h                   \
    addressbook-common.c                \
    addressbook-stubs.c             \
    addressbook-skels.c

idls =                          \
    $(srcdir)/../idl/addressbook.idl

idl_flags = `$(GNOME_CONFIG) --cflags idl` -I $(datadir)/idl

$(CORBA_SOURCE): $(idls)
    $(ORBIT_IDL) -I $(srcdir) $(srcdir)/../idl/addressbook.idl $(idl_flags)

INCLUDES =                      \
    $(DB3_CFLAGS)                   \
    $(LDAP_CFLAGS)                  \
        -DGNOMELOCALEDIR=\""$(localedir)"\"     \
    -DG_LOG_DOMAIN=\"wombat-pas\"           \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)

LDAP_SCHEMA =                       \
    evolutionperson.schema

LDAP_BACKEND_FILES = pas-backend-ldap.c pas-backend-ldap.h

if ENABLE_LDAP
LDAP_BACKEND = $(LDAP_BACKEND_FILES)
else
LDAP_BACKEND = 
endif

noinst_LIBRARIES = libpas.a

libpas_a_SOURCES =                  \
    $(CORBA_SOURCE)                 \
    pas-book-factory.c              \
    pas-book-factory.h              \
    pas-book-view.c                 \
    pas-book-view.h                 \
    pas-book.c                  \
    pas-book.h                  \
    pas-backend-card-sexp.c             \
    pas-backend-card-sexp.h             \
    pas-backend-file.c              \
    pas-backend-file.h              \
    $(LDAP_BACKEND)                 \
    pas-backend.c                   \
    pas-backend.h                   \
    pas-backend-summary.c               \
    pas-backend-summary.h               \
    pas-card-cursor.c               \
    pas-card-cursor.h

BUILT_SOURCES = $(CORBA_SOURCE)
CLEANFILES = $(BUILT_SOURCES)

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

EXTRA_DIST = $(LDAP_BACKEND_FILES) $(LDAP_SCHEMA)