comparison mcabber/src/Makefile.am @ 1309:887f8801418c

Only compile otr.c if libotr is available
author franky@veqlargh.fs
date Mon, 10 Sep 2007 19:52:43 +0200
parents 0d4a1699accb
children a64778f5f26b
comparison
equal deleted inserted replaced
1308:b17754d9221b 1309:887f8801418c
3 jabglue.c jabglue.h jab_iq.c jab_priv.h \ 3 jabglue.c jabglue.h jab_iq.c jab_priv.h \
4 commands.c commands.h compl.c compl.h \ 4 commands.c commands.h compl.c compl.h \
5 hbuf.c hbuf.h screen.c screen.h logprint.h \ 5 hbuf.c hbuf.h screen.c screen.h logprint.h \
6 settings.c settings.h hooks.c hooks.h utf8.c utf8.h \ 6 settings.c settings.h hooks.c hooks.h utf8.c utf8.h \
7 histolog.c histolog.h utils.c utils.h pgp.c pgp.h \ 7 histolog.c histolog.h utils.c utils.h pgp.c pgp.h \
8 otr.c otr.h help.c help.h 8 help.c help.h
9
10 if OTR
11 mcabber_SOURCES += otr.c otr.h
12 endif
9 13
10 LDADD = $(GLIB_LIBS) $(GPGME_LIBS) $(LIBOTR_LIBS) \ 14 LDADD = $(GLIB_LIBS) $(GPGME_LIBS) $(LIBOTR_LIBS) \
11 ../libjabber/liblibjabber.a ../connwrap/libconnwrap.a 15 ../libjabber/liblibjabber.a ../connwrap/libconnwrap.a
12 16
13 AM_CPPFLAGS = $(GLIB_CFLAGS) $(GPGME_CFLAGS) $(LIBOTR_CFLAGS) 17 AM_CPPFLAGS = $(GLIB_CFLAGS) $(GPGME_CFLAGS) $(LIBOTR_CFLAGS)