aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/kdb/db2/libdb2/Makefile.in
blob: b04f52133e6ae6692aa0438607dd65d0d1a6870b (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
35
36
37
38
thisconfigdir=../../../..
myfulldir=plugins/kdb/db2/libdb2
mydir=plugins/kdb/db2/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 $(HDRDIR)/db-ndbm.h

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

all-unix:: includes all-libs
all-prerecurse: $(HDRS)
clean-unix:: 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) $(srcdir)/include/db-config.h $@
$(HDRDIR)/db-ndbm.h: $(srcdir)/include/db-ndbm.h
	$(CP) $(srcdir)/include/db-ndbm.h $@

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