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

                                                         

                                                         
                                                         
                                                         

                                                         

                                                         






                         

                                                                 
                                                                 
                                                                 
                                                                 
                                                                 
                                                                 
                                                                 
                                                                 



                                                                 


                                              



                         

                                       




                         











                                                                                        
INCLUDES =                      \
    -DG_LOG_DOMAIN=\"wombat\"           \
    -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/pcs            \
    $(EXTRA_GNOME_CFLAGS)               \
    $(GNOME_INCLUDEDIR)             \
    -DEVOLUTION_VERSION=\""$(VERSION)"\"        \
    -DEVOLUTION_LOCALEDIR=\""$(datadir)/locale"\"

bin_PROGRAMS =  \
    wombat

wombat_SOURCES =    \
    wombat.c

wombat_LDADD =                          \
    $(EXTRA_GNOME_LIBS)                 \
    $(BONOBO_VFS_GNOME_LIBS)                \
    $(top_builddir)/addressbook/backend/pas/libpas.a    \
    $(top_builddir)/addressbook/backend/ebook/libebook.la   \
    $(top_builddir)/addressbook/ename/libename.la       \
    $(top_builddir)/calendar/pcs/libpcs.a           \
    $(top_builddir)/libical/src/libical/libical.la      \
    $(top_builddir)/calendar/cal-util/libcal-util.la    \
    $(top_builddir)/libversit/libversit.la          \
    $(top_builddir)/e-util/libeutil.la          \
    -lgnomevfs                      \
    $(LDAP_LIBS)

wombat_LDFLAGS = `gnome-config --libs gnorba` 

if USING_OAF
oafdir = $(datadir)/oaf
oaf_DATA = wombat.oafinfo
else
gnorbadir = $(sysconfdir)/CORBA/servers
gnorba_DATA = wombat.gnorba
endif

EXTRA_DIST =        \
    wombat.gnorba   \
    wombat.oafinfo

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

all-local: wombat.pure

wombat.pure: wombat
    @rm -f wombat.pure
    $(PLINK) $(wombat_LDFLAGS) $(wombat_OBJECTS) $(wombat_LDADD) $(LIBS)

endif