1 XCOMM $XConsortium: Imakefile /main/1 1996/08/21 15:59:10 drk $
5 XCOMM The files named here may appear in many different Imakefiles.
6 XCOMM If you add or remove a file, be sure to update all locations.
7 XCOMM It's unfortunate, but all this redundancy serves a purpose.
9 XCOMM Other possible locations are:
10 XCOMM .../lib/DtMmdb/Imakefile
11 XCOMM .../lib/DtMmdb/<subdir>/Imakefile
12 XCOMM .../programs/dtinfo/mmdb/Imakefile
13 XCOMM .../programs/dtinfo/mmdb/<subdir>/Imakefile
15 #define DoNormalLib YES
16 #define DoSharedLib NO
18 #define DoProfileLib NO
23 DEPEND_DEFINES = $(DEPENDDEFINES)
25 INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/btree_berkeley -I$(DTMMDBSRC)
27 XCOMM Integretion Berkeley ndbm packege (sun.4.1.3 version) to mmdb:
30 XCOMM cp -r berkeley.db/PORT/sun.4.1.3/{clib,include,sys}/?* .
32 XCOMM change a few "include" lines in db.h, snprintf.h and mmmove.h.
34 XCOMM Merge Notes: 9/15/93. qfc
35 XCOMM SRCS1: btree code. from berkeley.db/btree
36 XCOMM SRCS2: clib code. from berkeley.db/PORT/sun.4.1.3/clib
37 XCOMM SRCS3: mpool code. from berkeley.db/mpool
38 XCOMM SRCS4: db code. from berkeley.db/db
40 LinkSourceFile(bt_close.c,$(DTMMDBSRC)/btree_berkeley)
41 LinkSourceFile(bt_conv.c,$(DTMMDBSRC)/btree_berkeley)
42 LinkSourceFile(bt_debug.c,$(DTMMDBSRC)/btree_berkeley)
43 LinkSourceFile(bt_delete.c,$(DTMMDBSRC)/btree_berkeley)
44 LinkSourceFile(bt_get.c,$(DTMMDBSRC)/btree_berkeley)
45 LinkSourceFile(bt_open.c,$(DTMMDBSRC)/btree_berkeley)
46 LinkSourceFile(bt_overflow.c,$(DTMMDBSRC)/btree_berkeley)
47 LinkSourceFile(bt_page.c,$(DTMMDBSRC)/btree_berkeley)
48 LinkSourceFile(bt_put.c,$(DTMMDBSRC)/btree_berkeley)
49 LinkSourceFile(bt_search.c,$(DTMMDBSRC)/btree_berkeley)
50 LinkSourceFile(bt_seq.c,$(DTMMDBSRC)/btree_berkeley)
51 LinkSourceFile(bt_split.c,$(DTMMDBSRC)/btree_berkeley)
52 LinkSourceFile(bt_stack.c,$(DTMMDBSRC)/btree_berkeley)
53 LinkSourceFile(bt_utils.c,$(DTMMDBSRC)/btree_berkeley)
55 SRCS1 = bt_close.c bt_conv.c bt_debug.c bt_delete.c bt_get.c \
56 bt_open.c bt_overflow.c bt_page.c bt_put.c bt_search.c \
57 bt_seq.c bt_split.c bt_stack.c bt_utils.c
59 #ifndef AIXArchitecture
60 LinkSourceFile(memmove.c,$(DTMMDBSRC)/btree_berkeley)
62 EXTRA_SRCS2 = memmove.c
65 LinkSourceFile(mktemp.c,$(DTMMDBSRC)/btree_berkeley)
66 LinkSourceFile(realloc.c,$(DTMMDBSRC)/btree_berkeley)
67 LinkSourceFile(snprintf.c,$(DTMMDBSRC)/btree_berkeley)
69 SRCS2 = mktemp.c realloc.c snprintf.c
71 LinkSourceFile(mpool.c,$(DTMMDBSRC)/btree_berkeley)
75 LinkSourceFile(db.c,$(DTMMDBSRC)/btree_berkeley)
79 SRCS = $(SRCS1) $(SRCS2) $(EXTRA_SRCS2) $(SRCS3) $(SRCS4)
80 OBJS = $(SRCS1:.c=.o) $(SRCS2:.c=.o) $(EXTRA_SRCS2:.c=.o) $(SRCS3:.c=.o) $(SRCS4:.c=.o)
82 #include <Library.tmpl>
84 SubdirLibraryRule($(OBJS))