aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/Makefile.am
blob: c51eb14d3b57e25fe70e67aba76e7a29526c5164 (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
ecpsdir    = $(privdatadir)/ecps
ecps_DATA  =                \
    smallbook.ecps          \
    medbook.ecps            \
    phonelist.ecps

libecontactprint_la_CPPFLAGS =          \
    $(AM_CPPFLAGS)              \
    -DG_LOG_DOMAIN=\"addressbook-printing\" \
    -I$(top_srcdir)/addressbook     \
    -I$(top_srcdir)             \
    -DEVOLUTION_UIDIR=\""$(uidir)"\"    \
    -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\"    \
    $(EVOLUTION_DATA_SERVER_CFLAGS)     \
    $(GNOME_PLATFORM_CFLAGS)        \
    $(GTKHTML_CFLAGS)

noinst_LTLIBRARIES = libecontactprint.la

libecontactprint_la_SOURCES =           \
    e-contact-print-types.h         \
    e-contact-print.c           \
    e-contact-print.h

libecontactprint_la_LIBADD =                    \
    $(top_builddir)/e-util/libevolution-util.la     \
    $(top_builddir)/addressbook/util/libeabutil.la      \
    $(EVOLUTION_DATA_SERVER_LIBS)               \
    $(GNOME_PLATFORM_LIBS)                  \
    $(GTKHTML_LIBS)

noinst_PROGRAMS = contact-print-test

contact_print_test_CPPFLAGS = \
    $(AM_CPPFLAGS)              \
    -DG_LOG_DOMAIN=\"addressbook-printing\" \
    -I$(top_srcdir)/addressbook     \
    -I$(top_srcdir)             \
    -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\"    \
    $(EVOLUTION_DATA_SERVER_CFLAGS)     \
    $(GNOME_PLATFORM_CFLAGS)

contact_print_test_SOURCES = test-print.c

contact_print_test_LDADD =  \
    libecontactprint.la                 \
    $(top_builddir)/addressbook/util/libeabutil.la      \
    $(top_builddir)/shell/libevolution-shell.la     \
    $(top_builddir)/e-util/libevolution-util.la     \
    $(EVOLUTION_DATA_SERVER_LIBS)               \
    $(GNOME_PLATFORM_LIBS)

EXTRA_DIST =        \
    $(ecps_DATA)

-include $(top_srcdir)/git.mk