thisconfigdir=.
myfulldir=util/db2
mydir=.
BUILDTOP=$(REL)..$(S)..
LOCAL_SUBDIRS=hash btree db mpool recno clib test

LIB=db
LIBMAJOR=1
LIBMINOR=1
STOBJLISTS=hash/OBJS.ST btree/OBJS.ST db/OBJS.ST mpool/OBJS.ST \
	recno/OBJS.ST clib/OBJS.ST
SUBDIROBJLISTS=$(STOBJLISTS)
RELDIR=../util/db2

HDRDIR=$(BUILDTOP)/include
HDRS =	$(HDRDIR)/db.h $(HDRDIR)/db-config.h $(HDRDIR)/db-ndbm.h

all-unix:: all-liblinks includes
clean-unix:: clean-liblinks clean-libs clean-includes

includes:: $(HDRS)

$(HDRDIR)/db.h: $(srcdir)/include/db.h
	$(CP) $(srcdir)/include/db.h $@
$(HDRDIR)/db-config.h: include/db-config.h
	$(CP) include/db-config.h $@
$(HDRDIR)/db-ndbm.h: $(srcdir)/include/db-ndbm.h
	$(CP) $(srcdir)/include/db-ndbm.h $@

clean-includes::
	$(RM) $(HDRS)
# @lib_frag@
