1 XCOMM $TOG: Imakefile /main/18 1998/08/10 15:51:59 mgreess $
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
16 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CXXDEBUGFLAGS=$(CXXDEBUGFLAGS)'
18 XCOMM This directory has the source for both C and C++ versions of this
19 XCOMM library. Only the C version is built as libDtMmdb. Check in
20 XCOMM .../programs/dtinfo/mmdb also to find out if files are really
22 MMDB_SUBDIRS = HardCopy StyleSheet dti_cc
24 #ifdef SharedDtMmdbReqs
25 #ifdef SunArchitecture
26 REQUIREDLIBS = SharedDtMmdbReqs
31 REQUIREDLIBS = SharedDtMmdbReqs
37 btree_berkeley compression \
48 btree_berkeley/DONE compression/DONE \
49 diskhash/DONE dstr/DONE \
50 dti_excs/DONE dynhash/DONE \
51 hmphf/DONE index/DONE \
53 object/DONE oliasdb/DONE \
54 schema/DONE storage/DONE \
57 EXTRALIBRARYDEPS = $(DONES)
59 XCOMM redefine TopLevelProject to build DtInfo with standard CDE config dir
60 #undef TopLevelProject
61 #define TopLevelProject DtInfo
62 IMAKE_DEF_DTINFO = -DTopLevelProject=TopLevelProject \
63 -DProjectTmplFile='<DtInfo.tmpl>' \
64 -DProjectRulesFile='<DtInfo.rules>'
66 MakeSubdirs($(SUBDIRS))
67 ForceSubdirs($(SUBDIRS))
68 DependSubdirs($(SUBDIRS))
70 NamedTargetSubdirs(install_buildtools,$(SUBDIRS),\
71 install_buildtools,,install_buildtools)
74 #define DoNormalLib NormalLibDtMmdb
75 #define DoSharedLib SharedLibDtMmdb
76 #define DoDebugLib DebugLibDtMmdb
77 #define DoProfileLib ProfileLibDtMmdb
78 #define LibName DtMmdb
79 #define SoRev SODTMMDBREV
81 #define LargePICTable YES
83 #define CplusplusSource YES
86 * N.B.: All .o's should be built in the subdirectories.
90 api/base.o api/info_base.o api/info_lib.o \
91 api/smart_ptr.o api/transaction.o api/utility.o
93 BTREE_OBJS = btree/mmdb_btree.o
95 #if !defined(AIXArchitecture)
96 EXTRA_BTREE_BERKELEY_OBJS = btree_berkeley/memmove.o
99 BTREE_BERKELEY_OBJS = \
100 btree_berkeley/bt_close.o btree_berkeley/bt_conv.o \
101 btree_berkeley/bt_debug.o btree_berkeley/bt_delete.o \
102 btree_berkeley/bt_get.o btree_berkeley/bt_open.o \
103 btree_berkeley/bt_overflow.o btree_berkeley/bt_page.o \
104 btree_berkeley/bt_put.o btree_berkeley/bt_search.o \
105 btree_berkeley/bt_seq.o btree_berkeley/bt_split.o \
106 btree_berkeley/bt_stack.o btree_berkeley/bt_utils.o \
107 btree_berkeley/mktemp.o btree_berkeley/realloc.o \
108 btree_berkeley/snprintf.o $(EXTRA_BTREE_BERKELEY_OBJS) \
109 btree_berkeley/mpool.o btree_berkeley/db.o
112 compression/abs_agent.o compression/zip.o \
113 compression/huffman.o compression/trie.o \
114 compression/code.o compression/lzss.o \
115 compression/sgml.o compression/ps.o
118 diskhash/disk_bucket.o diskhash/bucket_array.o \
122 dstr/set.o dstr/bset.o \
123 dstr/slist.o dstr/dlist_cell.o \
124 dstr/dlist.o dstr/heap.o \
125 dstr/void_ptr_array.o dstr/void_ptr_stack.o \
126 dstr/memory_pool.o dstr/dstr_test.o \
127 dstr/index_agent.o dstr/token_stack.o \
128 dstr/slist_char_ptr_cell.o
131 dti_excs/Jump_Environment.o dti_excs/Exceptions.o \
132 dti_excs/Exception.o dti_excs/Destructable.o \
133 dti_excs/terminate.o dti_excs/init.o
135 DYNHASH_OBJS = dynhash/data_t.o dynhash/imp_bucket.o dynhash/imp_die.o
138 hmphf/buckets.o hmphf/mphf_funcs.o hmphf/mphf_hash_table.o \
139 hmphf/params.o hmphf/pattern.o hmphf/sorter.o
142 index/btree_index.o index/dyn_disk_index.o \
143 index/dyn_index.o index/dyn_memory_index.o \
144 index/fast_mphf.o index/hash.o \
145 index/index.o index/inv_lists.o \
148 MGRS_OBJS = mgrs/managers.o mgrs/misc.o mgrs/query_mgr.o mgrs/template_mgr.o
150 MISC_OBJS = misc/unique_id.o
153 object/composite.o object/compressed_pstring.o \
154 object/cset.o object/dl_list.o \
155 object/dl_list_cell.o object/handler.o \
156 object/integer.o object/long_pstring.o \
157 object/oid.o object/oid_list.o \
158 object/oid_t.o object/primitive.o \
159 object/pstring.o object/random_gen.o \
160 object/root.o object/short_list.o \
164 oliasdb/asciiIn_filters.o oliasdb/collectionIterator.o \
165 oliasdb/dlp_hd.o oliasdb/dlp_test.o \
166 oliasdb/doc_hd.o oliasdb/doc_test.o \
167 oliasdb/graphic_hd.o oliasdb/graphic_test.o \
168 oliasdb/loc_test.o oliasdb/locator_hd.o \
169 oliasdb/mark.o oliasdb/mark_base.o \
170 oliasdb/mark_test.o oliasdb/mmdb.o \
171 oliasdb/node_hd.o oliasdb/node_test.o \
172 oliasdb/olias_funcs.o oliasdb/olias_test.o \
173 oliasdb/stylesheet_hd.o oliasdb/stylesheet_test.o \
174 oliasdb/toc_hd.o oliasdb/toc_test.o \
175 oliasdb/user_base.o \
176 oliasdb/c_api_book.o oliasdb/c_api_book_test.o \
177 oliasdb/c_api_bookcase.o oliasdb/c_api_bookcase_test.o \
178 oliasdb/c_api_common.o \
179 oliasdb/c_api_dlp.o oliasdb/c_api_dlp_test.o \
180 oliasdb/c_api_graphic.o oliasdb/c_api_graphic_test.o \
181 oliasdb/c_api_infolib.o oliasdb/c_api_infolib_test.o \
182 oliasdb/c_api_locator.o oliasdb/c_api_locator_test.o \
183 oliasdb/c_api_pure_virtual.o \
184 oliasdb/c_api_section.o oliasdb/c_api_section_test.o \
185 oliasdb/c_api_stylesheet.o oliasdb/c_api_stylesheet_test.o \
186 oliasdb/c_api_toc.o oliasdb/c_api_toc_test.o
189 schema/desc.o schema/store_desc.o \
190 schema/object_dict.o schema/stored_object_desc.o \
191 schema/index_desc.o schema/inv_desc.o \
192 schema/agent_desc.o schema/container_desc.o \
193 schema/sheet.o schema/token.o
196 storage/abs_storage.o storage/chunks_index.o \
197 storage/heap_comp_funcs.o storage/lru.o \
198 storage/page.o storage/page_cache.o \
199 storage/page_rep.o storage/page_storage.o \
200 storage/rep_cell.o storage/rep_policy.o \
201 storage/store_test.o storage/unixf_storage.o \
202 storage/version.o storage/vm_storage.o
205 utility/funcs.o utility/ostring.o \
206 utility/pm_random.o utility/atoi_pearson.o \
207 utility/xtime.o utility/buffer.o \
208 utility/atoi_larson.o utility/atomic_lock.o \
209 utility/rw_lock.o utility/atoi_fast.o \
210 utility/filter.o utility/mmdb_exception.o \
211 utility/randomize.o \
212 utility/streambuf.o utility/charbuf.o utility/filebuf.o \
213 utility/stringstream.o utility/iostream.o utility/fstream.o \
214 utility/stream.o utility/string.o utility/ios.o
217 OBJS = $(API_OBJS) $(BTREE_OBJS) \
218 $(BTREE_BERKELEY_OBJS) $(COMPRESSION_OBJS) \
219 $(DISKHASH_OBJS) $(DSTR_OBJS) \
220 $(DTI_EXCS_OBJS) $(DYNHASH_OBJS) \
221 $(HMPHF_OBJS) $(INDEX_OBJS) \
222 $(MGRS_OBJS) $(MISC_OBJS) \
223 $(OBJECT_OBJS) $(OLIASDB_OBJS) \
224 $(SCHEMA_OBJS) $(STORAGE_OBJS) \
227 XCOMM All dependent libraries are shared, no need to tell the linker twice.
231 #include <Library.tmpl>
233 XCOMM Variables to switch on debug mode temporarily
234 XCOMM CDEBUGFLAGS = -g -DDEBUG
235 XCOMM CXXDEBUGFLAGS = -g -DDEBUG