2010-01-07 20:52:10 +01:00
|
|
|
## Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; either version 3 of the License, or
|
|
|
|
## (at your option) any later version.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software Foundation,
|
|
|
|
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
2010-01-25 09:24:33 +01:00
|
|
|
include $(top_srcdir)/gtest.mk
|
|
|
|
|
|
|
|
# enforce compiling this dir first before decending into tests/
|
|
|
|
SUBDIRS= .
|
|
|
|
|
|
|
|
if HAVE_GTEST
|
|
|
|
SUBDIRS += tests
|
|
|
|
endif
|
|
|
|
|
2009-11-25 21:55:06 +01:00
|
|
|
INCLUDES=$(XAPIAN_CXXFLAGS) $(GMIME_CFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2010-02-02 20:52:59 +01:00
|
|
|
# don't use -Werror, as it might break on other compilers
|
|
|
|
# use -Wno-unused-parameters, because some callbacks may not
|
|
|
|
# really need all the params they get
|
|
|
|
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter
|
|
|
|
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter
|
|
|
|
|
2010-01-25 08:43:53 +01:00
|
|
|
bin_PROGRAMS= \
|
2009-11-25 21:55:06 +01:00
|
|
|
mu
|
|
|
|
|
2010-01-25 08:43:53 +01:00
|
|
|
noinst_LTLIBRARIES= \
|
|
|
|
libmu.la
|
|
|
|
|
2010-01-31 11:10:21 +01:00
|
|
|
# note, mu.cc is only '.cc' and not '.c' because libmu must explicitly
|
|
|
|
# be linked as c++, not c.
|
2010-01-23 22:34:27 +01:00
|
|
|
mu_SOURCES= \
|
2010-01-31 11:10:21 +01:00
|
|
|
mu.cc
|
2010-01-25 08:43:53 +01:00
|
|
|
|
|
|
|
mu_LDADD= \
|
|
|
|
libmu.la
|
|
|
|
|
|
|
|
libmu_la_SOURCES= \
|
2010-08-21 19:44:13 +02:00
|
|
|
mu-cmd-extract.c \
|
2010-01-31 11:10:21 +01:00
|
|
|
mu-cmd-find.c \
|
|
|
|
mu-cmd-index.c \
|
2010-08-20 20:07:36 +02:00
|
|
|
mu-cmd-mkdir.c \
|
2010-08-21 19:44:13 +02:00
|
|
|
mu-cmd-view.c \
|
|
|
|
mu-cmd.c \
|
|
|
|
mu-cmd.h \
|
2010-01-23 22:34:27 +01:00
|
|
|
mu-config.c \
|
|
|
|
mu-config.h \
|
|
|
|
mu-index.c \
|
|
|
|
mu-index.h \
|
|
|
|
mu-log.c \
|
|
|
|
mu-log.h \
|
|
|
|
mu-maildir.c \
|
|
|
|
mu-maildir.h \
|
2010-08-19 21:15:19 +02:00
|
|
|
mu-msg-contact.c \
|
|
|
|
mu-msg-contact.h \
|
2010-01-23 22:34:27 +01:00
|
|
|
mu-msg-fields.c \
|
|
|
|
mu-msg-fields.h \
|
|
|
|
mu-msg-flags.c \
|
|
|
|
mu-msg-flags.h \
|
2010-08-24 23:57:16 +02:00
|
|
|
mu-msg-prio.h \
|
|
|
|
mu-msg-status.h \
|
|
|
|
mu-msg.c \
|
|
|
|
mu-msg.h \
|
|
|
|
mu-msg-priv.h \
|
2010-08-25 20:29:53 +02:00
|
|
|
mu-msg-iter-priv.hh \
|
|
|
|
mu-msg-iter.cc \
|
|
|
|
mu-msg-iter.h \
|
2010-08-24 23:57:16 +02:00
|
|
|
mu-msg-part.c \
|
|
|
|
mu-msg-part.h \
|
2010-01-23 22:34:27 +01:00
|
|
|
mu-msg-str.c \
|
|
|
|
mu-msg-str.h \
|
|
|
|
mu-msg.h \
|
2010-08-25 20:46:16 +02:00
|
|
|
mu-query.cc \
|
|
|
|
mu-query.h \
|
2010-01-23 22:34:27 +01:00
|
|
|
mu-result.h \
|
2010-08-25 20:55:08 +02:00
|
|
|
mu-store.cc \
|
|
|
|
mu-store.h \
|
2010-08-25 20:40:07 +02:00
|
|
|
mu-util-db.cc \
|
|
|
|
mu-util-db.h \
|
2010-01-23 22:34:27 +01:00
|
|
|
mu-util.c \
|
2010-01-25 08:43:53 +01:00
|
|
|
mu-util.h
|
2009-11-25 21:55:06 +01:00
|
|
|
|
2010-01-25 08:43:53 +01:00
|
|
|
libmu_la_LIBADD= \
|
|
|
|
$(XAPIAN_LIBS) \
|
|
|
|
$(GMIME_LIBS) \
|
2009-11-25 21:55:06 +01:00
|
|
|
$(GLIB_LIBS)
|