HEAD: merged recent changes from r3_80.
[wvapps.git] / evolution / evo-conn / Makefile
blobb6393dece42a1cdb16883d7d3a99cf0775310f89
1 # ** Copyright (C) 2003 Net Integration Technologies
2 # **
3 # ** This program is free software; you can redistribute it and/or modify
4 # ** it under the terms of the GNU General Public License as published by
5 # ** the Free Software Foundation; either version 2 of the License, or
6 # ** (at your option) any later version.
7 # **
8 # ** This program is distributed in the hope that it will be useful,
9 # ** but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # ** GNU General Public License for more details.
12 # **
13 # ** You should have received a copy of the GNU General Public License
14 # ** along with this program; if not, write to the Free Software
15 # ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 #************************************************************************
19 # Variable Definition
21 #************************************************************************
22 WVSDIR=$(TOPDIR)/src/wvstreams
23 include $(TOPDIR)/wvrules.mk
25 XPATH += . .. $(WVSDIR)/include /usr/include/libbonobo-2.0 /usr/include/glib-2.0 \
26 /usr/lib/glib-2.0/include /usr/include/orbit-2.0 /usr/include/linc-1.0 \
27 /usr/include/bonobo-activation-2.0 /usr/include/evolution-1.4 \
28 /usr/include/libgnome-2.0 $(TOPDIR)/src/exchangeit/wvmapi
30 BONOBOLIB=-L/usr/X11R6/lib -L/usr/lib -lsoup-2.0 -L/usr/lib/mozilla -lplc4 \
31 -lplds4 -lnspr4 -lgtkhtml-3.0 -lgtkhtml-a11y-3.0 -lgailutil \
32 -lgal-2.0 -lgnomeprintui-2-2 -lgnomeui-2 -ljpeg -lSM -lICE \
33 -lbonoboui-2 -lgnome-2 -lesd -laudiofile -lbonobo-2 -lORBitCosNaming-2 \
34 -lgnomevfs-2 -lgconf-2 -lnsl -lrt -lbonobo-activation -lORBit-2 \
35 -lpopt -lgthread-2.0 -lgnomecanvas-2 -lpangoft2-1.0 -lglade-2.0 \
36 -lgnomeprint-2-2 -lfontconfig -lfreetype -lgtk-x11-2.0 -lgdk-x11-2.0 \
37 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 \
38 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl \
39 -lglib-2.0 -L/usr/lib/evolution/1.4 -lcal-client -lcal-util \
40 -lical-evolution -lebook \
42 WVLIB=-luniconf -lwvstreams -lwvutils -L$(WVSDIR)
44 OTHERLIB=-lcrypt -lssl $(TOPDIR)/src/exchangeit/wvmapi/libwvtnef.a
46 ifdef USE_EFENCE
47 evo-conn-LIBS+=$(EFENCE)
48 evo-srv-LIBS+=$(EFENCE)
49 endif
51 #LDFLAGS+=-rdynamic
52 default: all
53 all: evo-conn evo-conn2 evo-srv
55 util: all wvbase64dec vcard-import vcal-import
57 evo-conn-LIBS+=${WVLIB} ${BONOBOLIB} ${OTHERLIB}
58 evo-conn: ../wvglibstreamclone.o
60 evo-conn2-LIBS+=${WVLIB} ${BONOBOLIB} ${OTHERLIB}
61 evo-conn2: ../wvglibstreamclone.o wvexcconn.o
63 evo-srv-LIBS+=${WVLIB} ${OTHERLIB}
64 evo-srv:
66 btest-LIBS+=${BONOBOLIB}
67 btest:
69 ebook-test-LIBS+=${BONOBOLIB}
70 ebook-test:
72 wvbase64dec-LIBS+=${WVLIB}
73 wvbase64dec:
75 vcard-import-LIBS+=${WVLIB} ${BONOBOLIB} ${OTHERLIB}
76 vcard-import: ../wvglibstreamclone.o
78 vcal-import-LIBS+=${WVLIB} ${BONOBOLIB} ${OTHERLIB}
79 vcal-import: ../wvglibstreamclone.o
81 clean:
82 rm -rf ebook-test btest evo-conn evo-conn2 evo-srv wvtneftest \
83 vcal-import vcard-import wvbase64dec wvcrash.txt