aboutsummaryrefslogblamecommitdiffstats
path: root/addressbook/gui/component/Makefile.am
blob: b1f585db7a12e2bef2f9b018b4e83cef93716165 (plain) (tree)
1
2

                      





























                                                                                 
                                       
 

                                                   
 
                                         

                                         

                                         

                                         
                                         
                                         
                                         
                                         

                                         

                                         
                         
 
                                                                                         


                                                                                         

                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                                                         

                                                                                         
                                                  
 
 


                                                            











                                                                                                                               
                                                          
 


                                                               

                                                            
                      
 
                                                       
                              
 
                                                      
 



                                 
                          










                                                                                                                         
SUBDIRS = select-names

INCLUDES =                                  \
    -DG_LOG_DOMAIN=\"evolution-addressbook\"                \
    -DPREFIX=\"$(prefix)\"                          \
    -DSYSCONFDIR=\"$(sysconfdir)\"                      \
    -DDATADIR=\"$(datadir)\"                        \
    -DLIBDIR=\"$(libdir)\"                          \
    -I$(top_srcdir)                             \
    -I$(top_builddir)                           \
    -I$(top_srcdir)/shell                           \
    -I$(top_builddir)/shell                         \
    -I$(top_srcdir)/widgets/misc                        \
    -I$(top_srcdir)/addressbook/gui/contact-editor              \
    -I$(top_srcdir)/addressbook/gui/contact-list-editor         \
    -I$(top_srcdir)/addressbook/gui/minicard                \
    -I$(top_srcdir)/addressbook/gui/widgets                 \
    -I$(top_srcdir)/addressbook/backend                 \
    -I$(top_builddir)/addressbook/backend                   \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                    \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"                  \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"                \
    -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\"                  \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"                \
    -DCAMEL_PROVIDERDIR=\""$(providerdir)"\"                \
    -DEVOLUTION_IMAGESDIR=\""$(datadir)"/evolution-$(BASE_VERSION)/images\" \
    -DEVOLUTION_UIDIR=\""$(evolutionuidir)"\"               \
    $(LDAP_CFLAGS)                              \
    -DG_DISABLE_DEPRECATED                          \
    -DGTK_DISABLE_DEPRECATED                        \
    -DLIBGNOME_DISABLE_DEPRECATED                       \
    -DLIBGNOMEUI_DISABLE_DEPRECATED                     \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

componentdir = $(COMPONENT_DIR)
component_LTLIBRARIES = libevolution-addressbook.la

libevolution_addressbook_la_SOURCES =   \
    addressbook-component.c     \
    addressbook-component.h     \
    addressbook-config.c        \
    addressbook-config.h        \
    addressbook-storage.c       \
    addressbook-storage.h       \
    addressbook.c           \
    addressbook.h           \
    component-factory.c     \
    e-cardlist-model.c      \
    e-cardlist-model.h      \
    e-address-widget.h      \
    e-address-widget.c      \
    e-address-popup.h       \
    e-address-popup.c

libevolution_addressbook_la_LIBADD =                            \
    select-names/libeselectnames.la                         \
    $(top_builddir)/shell/libeshell.la                      \
    $(top_builddir)/addressbook/gui/widgets/libeminicard.a              \
    $(top_builddir)/addressbook/printing/libecontactprint.a             \
    $(top_builddir)/addressbook/gui/search/libeaddressbooksearch.a          \
    $(top_builddir)/filter/libfilter.la                     \
    $(top_builddir)/addressbook/backend/ebook/libebook.la               \
    $(top_builddir)/camel/libcamel.la                       \
    $(top_builddir)/e-util/ename/libename.la                    \
    $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.a \
    $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.a      \
    $(top_builddir)/libversit/libversit.a                       \
    $(top_builddir)/widgets/misc/libemiscwidgets.a                  \
    $(top_builddir)/addressbook/gui/merging/libecardmerging.a           \
    $(top_builddir)/e-util/libeutil.la                      \
    $(top_builddir)/widgets/menus/libmenus.la                   \
    $(EVOLUTION_ADDRESSBOOK_LIBS) $(LDAP_LIBS)



libevolution_addressbook_la_LDFLAGS = -module -avoid-version

# GConf schemas

schemadir   = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = apps_evolution_addressbook.schemas

install-data-local:
    if test -z "$(DESTDIR)" ; then \
        for p in $(schema_DATA) ; do \
            GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
        done \
    fi

server_in_files = GNOME_Evolution_Addressbook.server.in.in

serverdir = $(libdir)/bonobo/servers
server_DATA = $(server_in_files:.server.in.in=.server)
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
    sed -e "s|\@COMPONENTDIR\@|$(componentdir)|" $< > $@

@INTLTOOL_SERVER_RULE@

gladedir   = $(datadir)/evolution-$(BASE_VERSION)/glade
glade_DATA = ldap-config.glade

iconsdir = $(datadir)/evolution-$(BASE_VERSION)/images

EXTRA_DIST =            \
    $(glade_DATA)       \
    $(schema_DATA)      \
    $(server_DATA)      \
    $(server_in_files)

if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

all-local: evolution-addressbook.pure

evolution-addressbook.pure: evolution-addressbook
    @rm -f evolution-addressbook.pure
    $(PLINK) $(evolution_addressbook_LDFLAGS) $(evolution_addressbook_OBJECTS) $(evolution_addressbook_LDADD) $(LIBS)

endif