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



                                                         
                                                   
 

                                                         








                                                         

                                                         







                                                                 
                                     
 



                                                






                                                                    
                                                               
                                      

                                                                                         

                             
privlibexec_SCRIPTS =                   \
    csv2vcard                   \
    evolution-addressbook-clean

privlibexec_PROGRAMS = evolution-addressbook-export

evolution_addressbook_export_CPPFLAGS =         \
    $(AM_CPPFLAGS)                  \
    -DG_LOG_DOMAIN=\"evolution-addressbook-tools\"  \
    -I$(top_srcdir)                 \
    -I$(top_builddir)               \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DPREFIX=\""$(prefix)"\"            \
    -DSYSCONFDIR=\""$(sysconfdir)"\"        \
    -DDATADIR=\""$(datadir)"\"          \
    -DLIBDIR=\""$(libdir)"\"            \
    -I$(top_srcdir)/addressbook         \
    -I$(top_builddir)/addressbook           \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

evolution_addressbook_export_SOURCES =              \
    evolution-addressbook-export.c              \
    evolution-addressbook-export-list-cards.c       \
    evolution-addressbook-export-list-folders.c     \
    evolution-addressbook-export.h

evolution_addressbook_export_LDADD =                \
    $(EVOLUTION_ADDRESSBOOK_LIBS)

if OS_WIN32
evolution_addressbook_export_LDFLAGS = -mwindows
endif

EXTRA_DIST = $(privlibexec_SCRIPTS) \
    evolution-addressbook-clean.in

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\@?$(privlibexecdir)?g' \
        -e 's?\@PERL\@?@PERL@?g' \
           < $(srcdir)/evolution-addressbook-clean.in > evolution-addressbook-clean.tmp \
          && mv evolution-addressbook-clean.tmp evolution-addressbook-clean

-include $(top_srcdir)/git.mk