summaryrefslogtreecommitdiffstats
path: root/src/plugins/kdb/db2/libdb2/Makefile.in
blob: d2df68c79cc8f0510f6c3d4928a0302a6ef8ecc2 (plain)
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
30
31
32
33
34
mydir=plugins$(S)kdb$(S)db2$(S)libdb2
BUILDTOP=$(REL)..$(S)..$(S)..$(S)..
SUBDIRS=hash btree db mpool recno test

LIBBASE=db
LIBMAJOR=1
LIBMINOR=1
STOBJLISTS=hash/OBJS.ST btree/OBJS.ST db/OBJS.ST mpool/OBJS.ST \
	recno/OBJS.ST
SUBDIROBJLISTS=$(STOBJLISTS)
RELDIR=../plugins/kdb/db2/libdb2

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

SHLIB_EXPDEPS=$(SUPPORT_DEPLIB)
SHLIB_EXPLIBS=$(SUPPORT_LIB) $(LIBS)
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)

all-unix:: includes all-libs
all-prerecurse depend-prerecurse: $(HDRS)
clean-unix:: clean-libs clean-includes

includes:: $(HDRS)

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

clean-includes::
	$(RM) $(HDRS) include/*.stmp
@lib_frag@