HEAD: removed mrwise debug crud from uniclientgen.cc.
[wvapps.git] / wvmapi / Makefile
blob74a1b8fdde67baa7a501fd93e52a574ececd790d
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
30 WVLIB=-luniconf -lwvstreams -lwvutils -lxplc -L$(WVSDIR)
32 OTHERLIB=-lcrypt -lssl
34 ifdef USE_EFENCE
35 evo-conn-LIBS+=$(EFENCE)
36 evo-srv-LIBS+=$(EFENCE)
37 endif
39 #LDFLAGS+=-rdynamic
40 default: all
41 all: libwvtnef.a
43 test: libwvtnef.a t/wvtnef.t t/wvtnefconv.t t/all.t
44 $(VALGRIND) t/all.t
46 libwvtnef.a: wvtnef.o wvtnefconv.o wvtnefconv_private.o wvtnefdefs.o
48 t/all.t-LIBS+= $(WVLIB) libwvtnef.a -L/usr/lib/evolution/1.4 -lical-evolution -licalvcal-evolution -lebook
49 t/wvtnef.t-LIBS+= $(WVLIB) libwvtnef.a
50 t/wvtnefconv.t-LIBS+= $(WVLIB) libwvtnef.a -L/usr/lib/evolution/1.4 -lical-evolution -licalvcal-evolution -lebook
52 t/all.t: $(call objects,t)
54 #clean:
55 # rm -rf libwvtnef.a t/all.t t/wvtnef.t t/wvtnefconv.t *.o t/*.o