aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/Makefile.am
blob: 36eeab0782228d9afbed52548534c12de36501f6 (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
bin_PROGRAMS = wombat
lib_LTLIBRARIES = libpas.la

corbadir = $(sysconfdir)/CORBA/servers

CORBA_SOURCE =                      \
    addressbook.h                   \
    addressbook-common.c                \
    addressbook-stubs.c             \
    addressbook-skels.c

idls =                          \
    ../idl/addressbook.idl

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

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

INCLUDES =                      \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
    -DG_LOG_DOMAIN=\"Wombat\"           \
    -I$(srcdir) -I$(top_srcdir)             \
    -I.                         \
    -I..                        \
    -I$(top_builddir)               \
        -I$(includedir)                                 \
        $(GNOME_INCLUDEDIR)

gnome_libs =                        \
    $(GNOME_LIBDIR)                 \
        $(GNOMEUI_LIBS)                 \
    $(GNOMEGNORBA_LIBS)             \
    $(INTLLIBS)

pas_libs =                      \
    libpas.la                   \
    $(gnome_libs)


libpas_la_SOURCES =                 \
    $(CORBA_SOURCE)                 \
    pas-book.c                  \
    pas-book-factory.c              \
    pas-backend.c                   \
    pas-backend-file.c

libpasincludedir = $(includedir)/backend

libpasinclude_HEADERS =                 \
    pas-book.h                  \
    pas-book-factory.h              \
    pas-backend.h                   \
    pas-backend-file.h

wombat_SOURCES =                    \
    pas.c

wombat_LDADD =                      \
    $(GTK_LIBS)                 \
    $(GNOME_LIBDIR)                 \
    $(GNOMEGNORBA_LIBS)             \
    $(INTLLIBS)                 \
    -lbonobo                    \
    $(pas_libs)

gnorbadir     = $(sysconfdir)/CORBA/servers
gnorba_DATA   = wombat.gnorba

BUILT_SOURCES = $(CORBA_SOURCE)
CLEANFILES   += $(BUILT_SOURCES)
EXTRA_DIST    = $(gnorba_DATA)