2005-10-20 04:00:35 +02:00
|
|
|
top_builddir=../../..
|
|
|
|
include $(top_builddir)/Makefile.config
|
2005-09-16 13:36:47 +02:00
|
|
|
|
2005-09-28 12:38:17 +02:00
|
|
|
OBJS-$(CONFIG_MAILCAP) += mailcap.o
|
|
|
|
OBJS-$(CONFIG_MIMETYPES) += mimetypes.o
|
2005-09-16 13:36:47 +02:00
|
|
|
|
2005-09-28 12:38:17 +02:00
|
|
|
OBJS = common.o default.o
|
2005-09-16 13:36:47 +02:00
|
|
|
|
2006-01-06 22:18:11 +01:00
|
|
|
TEST_PROGS = \
|
|
|
|
mailcap-cache
|
|
|
|
|
|
|
|
# The dependencies are a bit funny here! I don't know why. Just remember to
|
|
|
|
# make clean before making the test. --jonas
|
|
|
|
mailcap-cache.o: mailcap.c
|
|
|
|
$(call cmd,compile,-DTEST_MAILCAP)
|
|
|
|
|
|
|
|
TESTDEPS = \
|
|
|
|
common.o \
|
2007-05-26 13:43:37 +02:00
|
|
|
$(top_builddir)/src/intl/charsets.o \
|
2006-01-06 22:18:11 +01:00
|
|
|
$(top_builddir)/src/osdep/osdep.o \
|
|
|
|
$(top_builddir)/src/osdep/stub.o \
|
|
|
|
$(top_builddir)/src/util/conv.o \
|
|
|
|
$(top_builddir)/src/util/error.o \
|
|
|
|
$(top_builddir)/src/util/file.o \
|
|
|
|
$(top_builddir)/src/util/hash.o \
|
|
|
|
$(top_builddir)/src/util/memory.o \
|
|
|
|
$(top_builddir)/src/util/string.o \
|
|
|
|
$(top_builddir)/src/util/time.o
|
|
|
|
|
2006-01-21 08:32:17 +01:00
|
|
|
TESTDEPS-$(CONFIG_NLS) += $(top_builddir)/src/intl/gettext/lib.o
|
2006-01-06 22:18:11 +01:00
|
|
|
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
|
2007-05-26 13:43:37 +02:00
|
|
|
TESTDEPS-$(call not,$(CONFIG_SMALL)) += \
|
|
|
|
$(top_builddir)/src/util/fastfind.o \
|
|
|
|
|
2006-01-06 22:18:11 +01:00
|
|
|
|
2005-10-20 01:11:47 +02:00
|
|
|
include $(top_srcdir)/Makefile.lib
|