aboutsummaryrefslogblamecommitdiffstats
path: root/wombat/Makefile.am
blob: 398c2ccf7f7f3296f2c8171e4cca6415137f5611 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                         
                                                         



                                                         

                                                         

                                                         
                                                         

                                                         
                                                         
                                                         
                                                         

                                                         
 

                                                       
                        
 
                            

                





                                                                         
                                                                         
                                                                         
                                                                         

                                                                         

                                                                         
                                                                         
                                                                         

                                                                         
                                                                         
                                                                         

                                                                         

                                                                         
 
                                     
 
              
                                                      
    
                                                        

     
                                                      

                





                                                               
 
                      
 

                               




                                                         



                                                                                        
                                
 


                                                                                                          

     
INCLUDES =                      \
    -DG_LOG_DOMAIN=\"wombat\"           \
    -DPREFIX=\"$(prefix)\"              \
    -DSYSCONFDIR=\"$(sysconfdir)\"          \
    -DDATADIR=\"$(datadir)\"            \
    -DLIBDIR=\"$(libdir)\"              \
    -I$(top_srcdir)/e-util              \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -I$(top_srcdir)/calendar            \
    -I$(top_srcdir)/calendar            \
    -I$(top_builddir)/calendar          \
    -I$(top_srcdir)/libical/src/libical     \
    -I$(top_builddir)/libical/src/libical       \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"            \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    $(WOMBAT_CFLAGS)

evolibexecdir = $(libexecdir)/evolution/$(BASE_VERSION)
evolibexec_PROGRAMS =   \
    evolution-wombat

evolution_wombat_SOURCES = \
    wombat.c

if ENABLE_LDAP
LDAP_STUFF =                                \
    $(top_builddir)/addressbook/backend/pas/libpasldap.a        \
    $(LDAP_LIBS)
endif

evolution_wombat_LDADD =                        \
    $(top_builddir)/addressbook/backend/pas/libpasfile.a        \
    $(DB3_LDADD)                            \
    $(LDAP_STUFF)                           \
    $(top_builddir)/addressbook/backend/pas/libpas.a        \
    $(top_builddir)/addressbook/backend/ebook/libebook.la       \
    $(top_builddir)/camel/libcamel.la               \
    $(top_builddir)/e-util/ename/libename.la            \
    $(top_builddir)/calendar/pcs/libpcsfile.a           \
    $(top_builddir)/calendar/pcs/libpcs.a               \
    $(top_builddir)/calendar/cal-util/libcal-util.la        \
    $(top_builddir)/libical/src/libical/libical-evolution.la    \
    $(top_builddir)/libversit/libversit.a               \
    $(top_builddir)/e-util/libedb3util.la               \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/libwombat/libwombat.la              \
    $(WOMBAT_LIBS)

serversdir = $(libdir)/bonobo/servers

if ENABLE_LDAP
SERVER_IN_FILE=GNOME_Evolution_WombatLDAP.server.in.in
else
SERVER_IN_FILE=GNOME_Evolution_WombatNOLDAP.server.in.in
endif

GNOME_Evolution_Wombat.server.in.in: $(SERVER_IN_FILE)
    cp $< $@

server_in_files = GNOME_Evolution_Wombat.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|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@

@INTLTOOL_SERVER_RULE@

idl_DATA = Evolution-Wombat.idl

EXTRA_DIST = $(server_DATA)             \
    $(server_in_files)              \
    $(idl_DATA)                 \
    GNOME_Evolution_WombatLDAP.server.in.in     \
    GNOME_Evolution_WombatNOLDAP.server.in.in

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

all-local: evolution-wombat.pure

evolution-wombat.pure: evolution-wombat
    @rm -f evolution-wombat.pure
    $(PLINK) $(evolution_wombat_LDFLAGS) $(evolution_wombat_OBJECTS) $(evolution_wombat_LDADD) $(LIBS)

endif