aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/printing/Makefile.am')
-rw-r--r--addressbook/printing/Makefile.am34
1 files changed, 26 insertions, 8 deletions
diff --git a/addressbook/printing/Makefile.am b/addressbook/printing/Makefile.am
index 0aa9dbef9d..d0268d7dbc 100644
--- a/addressbook/printing/Makefile.am
+++ b/addressbook/printing/Makefile.am
@@ -1,12 +1,26 @@
+ecpsdir = $(datadir)/evolution/ecps
+
+ecps_DATA = \
+ smallbook.ecps \
+ medbook.ecps \
+ phonelist.ecps
+
+gladedir = $(datadir)/evolution/glade
+
+glade_DATA = \
+ e-contact-print.glade
CPPFLAGS = \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
+ -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\" \
-DDATADIR=\""$(datadir)"\" \
$(GNOME_PRINT_CFLAGS)
INCLUDES = \
$(GNOME_INCLUDEDIR) \
- -DG_LOG_DOMAIN=\"addressbook-printing\"
+ -DG_LOG_DOMAIN=\"addressbook-printing\" \
+ -I$(top_srcdir)/addressbook \
+ -I$(top_srcdir)
noinst_LIBRARIES = \
libecontactprint.a
@@ -27,6 +41,11 @@ contact_print_test_SOURCES = \
contact_print_test_LDADD = \
$(EXTRA_GNOME_LIBS) \
+ -lbonobo \
+ $(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)
@@ -35,13 +54,12 @@ contact_print_style_editor_test_SOURCES = \
contact_print_style_editor_test_LDADD = \
$(EXTRA_GNOME_LIBS) \
+ -lbonobo \
+ $(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)
-gladedir = $(datadir)/evolution/glade
-
-glade_DATA = \
- e-contact-print.glade
-
-EXTRA_DIST = $(glade_DATA)
-
+EXTRA_DIST = $(glade_DATA) $(ecps_DATA)