## Makefile.am -- Process this file with automake to produce Makefile.in
# $Id: Makefile.am,v 1.13 2006/07/18 02:43:18 ca Exp $

MAINTAINERCLEANFILES	= Makefile.in

INCLUDES		= -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir) -I$(top_srcdir)/include

IS		= include/sm
ISM		= $(top_srcdir)/include/sm
noinst_HEADERS 	= $(ISM)/cdb.h $(ISM)/cdbfs.h cdb.h \
		cdbbf.h

noinst_LIBRARIES	= libcdb.a
libcdb_a_SOURCES	= cdb.c \
			cdbctx.c \
			cdb_open_wr.c \
			cdbbf.c \
			cdbfs.c

# compile and run
TESTP =
# compile only, do not run
TESTC = t-cdb-0 t-cdb-1
# run only
TESTSH = t-cdb-0.sh t-cdb-1.sh
# do not run at all...
TESTDATA = 

# list programs to compile here
check_PROGRAMS 		= $(TESTP) $(TESTC)

TESTS = $(TESTP) $(TESTSH)

EXTRA_DIST 	= $(TESTSH) $(TESTDATA)

LDADD		= ../libmta/libmta.a
LDCSTR		= ../libmta/libcstr.a
LDREPL		= ../librepl/librepl.a
LDCHK		= ../libcheck/libcheck.a

t_cdb_0_SOURCES	= t-cdb-0.c
t_cdb_0_LDADD	= libcdb.a $(LDADD) $(LDCSTR) $(LDCHK) $(LDREPL)

t_cdb_1_SOURCES	= t-cdb-0.c
t_cdb_1_CFLAGS	= -DTEST_CDB_BC
t_cdb_1_LDADD	= libcdb.a $(LDADD) $(LDCSTR) $(LDCHK) $(LDREPL)


syntax highlighted by Code2HTML, v. 0.9.1