aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/Makefile.am
blob: 62a401dc5daacdc9a2650eed3aa567ea6743cbc0 (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
ecpsdir    = $(datadir)/evolution/ecps

ecps_DATA  =                \
    smallbook.ecps          \
    medbook.ecps            \
    phonelist.ecps

gladedir   = $(datadir)/evolution/glade

glade_DATA =                \
    e-contact-print.glade       \
    e-contact-print.glade.h

CPPFLAGS = \
        -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"  \
    -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\"    \
    -DDATADIR=\""$(datadir)"\"      \
    $(GNOME_PRINT_CFLAGS)           \
        $(BONOBO_GNOME_CFLAGS)

INCLUDES =                  \
    $(GNOME_INCLUDEDIR)         \
    -DG_LOG_DOMAIN=\"addressbook-printing\" \
    -I$(top_srcdir)/addressbook     \
    -I$(top_srcdir)

noinst_LIBRARIES =              \
    libecontactprint.a

libecontactprint_a_SOURCES =            \
    e-contact-print.c           \
    e-contact-print.h           \
    e-contact-print-style-editor.c      \
    e-contact-print-style-editor.h      \
    e-contact-print-types.h

noinst_PROGRAMS =   \
    contact-print-test  \
    contact-print-style-editor-test

contact_print_test_SOURCES =    \
    test-print.c

contact_print_test_LDADD =  \
    $(EXTRA_GNOME_LIBS) \
    $(BONOBO_GNOME_LIBS)    \
    $(top_builddir)/addressbook/backend/ebook/libebook.la       \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/libversit/libversit.la              \
    $(top_builddir)/addressbook/ename/libename.la           \
    libecontactprint.a  \
    $(GNOME_PRINT_LIBS) 

contact_print_style_editor_test_SOURCES =   \
    test-contact-print-style-editor.c

contact_print_style_editor_test_LDADD = \
    $(EXTRA_GNOME_LIBS) \
    $(BONOBO_GNOME_LIBS)    \
    $(top_builddir)/addressbook/backend/ebook/libebook.la       \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/libversit/libversit.la              \
    $(top_builddir)/addressbook/ename/libename.la           \
    libecontactprint.a  \
    $(GNOME_PRINT_LIBS)

EXTRA_DIST = $(glade_DATA) $(ecps_DATA)