File: Makefile.am

package info (click to toggle)
maildrop 1.3.7-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,776 kB
  • ctags: 2,107
  • sloc: ansic: 17,156; cpp: 9,694; makefile: 641; sh: 605; perl: 454
file content (29 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: Makefile.am,v 1.4 1999/12/06 13:13:46 mrsam Exp $
#
# Copyright 1998 - 1999 Double Precision, Inc.  See COPYING for
# distribution information.

LIBDBOBJSOURCES=bdbobj.h bdbobj.c bdbobj2.c bdbobj3.c
TESTBDBSOURCES=testbdb.C

if FOUND_DB
noinst_LIBRARIES=libbdbobj.a
noinst_PROGRAMS=testbdb

libbdbobj_a_SOURCES=$(LIBDBOBJSOURCES)
testbdb_SOURCES=$(TESTBDBSOURCES)

testbdb_DEPENDENCIES=libbdbobj.a
testbdb_LDADD=libbdbobj.a @LIBDB@

check:
	$(srcdir)/testsuite | cmp -s - $(srcdir)/testsuite.txt
else
noinst_SCRIPTS=notfound

notfound:
	@exit 0
endif

EXTRA_DIST=$(LIBDBOBJSOURCES) $(TESTBDBSOURCES) testsuite testsuite.txt