view mcabber/src/Makefile.am @ 1428:5667048423db

Reset auto-away before changing the status Without this check some strange things can happen when the status is modified by a FIFO or a remote command, because the previous status & message will be restored.
author Mikael Berthe <mikael@lilotux.net>
date Tue, 19 Feb 2008 22:56:18 +0100
parents a64778f5f26b
children 844410b9b4cc
line wrap: on
line source

bin_PROGRAMS = mcabber
mcabber_SOURCES = main.c roster.c roster.h events.c events.h \
		  jabglue.c jabglue.h jab_iq.c jab_priv.h \
		  commands.c commands.h compl.c compl.h \
		  hbuf.c hbuf.h screen.c screen.h logprint.h \
		  settings.c settings.h hooks.c hooks.h utf8.c utf8.h \
		  histolog.c histolog.h utils.c utils.h pgp.c pgp.h \
		  help.c help.h

if FIFO
mcabber_SOURCES += fifo.c fifo.h
endif

if OTR
mcabber_SOURCES += otr.c otr.h
endif

LDADD = $(GLIB_LIBS) $(GPGME_LIBS) $(LIBOTR_LIBS) \
	../libjabber/liblibjabber.a ../connwrap/libconnwrap.a

AM_CPPFLAGS = $(GLIB_CFLAGS) $(GPGME_CFLAGS) $(LIBOTR_CFLAGS)

CLEANFILES = hgcset.h

if HGCSET
BUILT_SOURCES = hgcset.h

#mcabber_DEPENDENCIES = hgcset.h \
#	../libjabber/liblibjabber.a ../connwrap/libconnwrap.a

hgcset.h:
	../hgcset.sh

.PHONY: hgcset.h
endif

#SUBDIRS =