blob: 37542aee4506f7eb0a2c1e1005ec1e1de1bbdfed (
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
39
40
41
|
thisconfigdir=.
myfulldir=util/db2
mydir=.
BUILDTOP=$(REL)..$(S)..
LOCAL_SUBDIRS=hash btree db mpool recno clib test
LIBBASE=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
all-prerecurse: include/config.h include/db-config.h
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 $@
include/config.h include/db-config.h: include/generated.stmp
include/generated.stmp: $(srcdir)/include/config.h.in $(srcdir)/include/db-config.h.in
cd $(thisconfigdir) && $(SHELL) config.status
$(srcdir)/include/config.h.in: @MAINT@ $(srcdir)/include/autoconf.stmp
$(srcdir)/include/autoconf.stmp: $(srcdir)/configure.in $(SRCTOP)/aclocal.m4
cd $(srcdir) && $(AUTOHEADER) --include=$(CONFIG_RELTOPDIR) $(AUTOHEADERFLAGS)
touch $(srcdir)/include/autoconf.stmp
clean-includes::
$(RM) $(HDRS) include/*.stmp
# @lib_frag@
|