aboutsummaryrefslogblamecommitdiffstats
path: root/tools/Makefile.am
blob: dd73df96f6efced5568abcd9e370e08c9198f01e (plain) (tree)
1
2
3
4
5
6
7
8
9
                               

                                         




                                         
                                         

                                         
 
                                             
 



                                                         
                                                         



                                                         
                                                         

                                                         
                                                         
                            
 
                                                           
                                      
 


                                                                 

                                                 
                                                                 

                                             
                                                                 

                                             




                                                                    
                                                         

                                                                                         
toolsdir = $(privdatadir)/tools

tools_SCRIPTS =             \
    csv2vcard           \
    evolution-move-tasks        \
    evolution-addressbook-clean \
    killev

tools_PROGRAMS =            \
    evolution-addressbook-import    \
    evolution-addressbook-export

noinst_PROGRAMS = evolution-addressbook-abuse

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"evolution-tools\"      \
    -I$(top_srcdir)                 \
    -I$(top_builddir)               \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DPREFIX=\""$(prefix)"\"            \
    -DSYSCONFDIR=\""$(sysconfdir)"\"        \
    -DDATADIR=\""$(datadir)"\"          \
    -DLIBDIR=\""$(libdir)"\"            \
    -I$(top_srcdir)/addressbook         \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED \
    $(GNOME_FULL_CFLAGS)

EXTRA_DIST = $(tools_SCRIPTS) verify-evolution-install.sh \
    evolution-addressbook-clean.in

evolution_addressbook_import_LDADD =                \
    $(GNOME_FULL_LIBS)                  \
    $(top_builddir)/addressbook/backend/ebook/libebook.la   \
    $(top_builddir)/widgets/menus/libmenus.la

evolution_addressbook_export_LDADD =                \
    $(evolution_addressbook_import_LDADD)

evolution_addressbook_abuse_LDADD =             \
    $(evolution_addressbook_import_LDADD)

CLEANFILES = evolution-addressbook-clean


evolution-addressbook-clean: evolution-addressbook-clean.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
    sed -e 's?\@EVOLUTION_TOOLSDIR\@?$(toolsdir)?g' \
       < $(srcdir)/evolution-addressbook-clean.in > evolution-addressbook-clean.tmp \
      && mv evolution-addressbook-clean.tmp evolution-addressbook-clean