dtinfo: make auxillary libs and programs build

This commit is contained in:
Chase
2021-02-27 21:21:34 -06:00
committed by Jon Trulson
parent 08622925c8
commit 58ccd05459
38 changed files with 585 additions and 98 deletions

View File

@@ -0,0 +1,21 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libHardCopy.a
AUTOMAKE_OPTIONS = no-dependencies
libHardCopy_a_CXXFLAGS = -DCDE_NEXT -DEXPAND_TEMPLATES -I../../DtMmdb \
-I../../DtMmdb/HardCopy -I../../DtMmdb/dti_excs
libHardCopy_a_SOURCES = ../../DtMmdb/HardCopy/FPset.C \
../../DtMmdb/HardCopy/HardCopyFP.C \
../../DtMmdb/HardCopy/autoNumber.C \
../../DtMmdb/HardCopy/autoNumberFP.C
if LINUX
libHardCopy_a_SOURCES += ../../DtMmdb/HardCopy/TemplatesAutoNumber.C
endif
if BSD
libHardCopy_a_SOURCES += ../../DtMmdb/HardCopy/TemplatesAutoNumber.C
endif

View File

@@ -0,0 +1,26 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = \
api btree \
btree_berkeley compression \
diskhash dstr \
dti_excs dynhash \
hmphf index \
mgrs misc \
object oliasdb \
schema storage \
utility HardCopy \
dti_cc StyleSheet
noinst_LIBRARIES = libmmdb.a
libmmdb_a_SOURCES =
libmmdb_a_LIBADD = api/libapi.a btree/libbtree.a \
btree_berkeley/libbtree_berkeley.a \
compression/libcompression.a \
diskhash/libdiskhash.a dstr/libdstr.a \
dti_excs/libdti_excs.a dynhash/libdynhash.a \
hmphf/libhmphf.a index/libindex.a mgrs/libmgrs.a \
misc/libmisc.a object/libobject.a oliasdb/liboliasdb.a \
schema/libschema.a storage/libstorage.a utility/libutility.a

View File

@@ -0,0 +1,42 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libStyleSheet.a
AUTOMAKE_OPTIONS = no-dependencies
libStyleSheet_a_CXXFLAGS = -DEXPAND_TEMPLATES -DCDE_NEXT -I../../DtMmdb \
-I../../DtMmdb/StyleSheet -I../../DtMmdb/dti_excs \
-I../../DtMmdb/dti_cc
libStyleSheet_a_SOURCES = ../../DtMmdb/StyleSheet/Attribute.C \
../../DtMmdb/StyleSheet/AttributeList.C \
../../DtMmdb/StyleSheet/BitVector.C \
../../DtMmdb/StyleSheet/DocParser.C \
../../DtMmdb/StyleSheet/Element.C \
../../DtMmdb/StyleSheet/Expression.C \
../../DtMmdb/StyleSheet/Feature.C \
../../DtMmdb/StyleSheet/FeatureDefDictionary.C \
../../DtMmdb/StyleSheet/FeatureSet.C \
../../DtMmdb/StyleSheet/FeatureValue.C \
../../DtMmdb/StyleSheet/PathQualifier.C \
../../DtMmdb/StyleSheet/PathTable.C \
../../DtMmdb/StyleSheet/Resolver.C \
../../DtMmdb/StyleSheet/ResolverStack.C \
../../DtMmdb/StyleSheet/SSPath.C \
../../DtMmdb/StyleSheet/StyleSheet.C \
../../DtMmdb/StyleSheet/StyleSheetExceptions.C \
../../DtMmdb/StyleSheet/SymTab.C \
../../DtMmdb/StyleSheet/VariableTable.C \
../../DtMmdb/StyleSheet/defParser.C \
../../DtMmdb/StyleSheet/defToken.C \
../../DtMmdb/StyleSheet/style.C \
../../DtMmdb/StyleSheet/tokenStyle.C \
../../DtMmdb/StyleSheet/RendererHCV.C
if LINUX
libStyleSheet_a_SOURCES += ../../DtMmdb/StyleSheet/SSTemplates.C
endif
if BSD
libStyleSheet_a_SOURCES += ../../DtMmdb/StyleSheet/SSTemplates.C
endif

View File

@@ -0,0 +1,14 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libapi.a
AUTOMAKE_OPTIONS = no-dependencies
libapi_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/misc -I../../DtMmdb/dti_excs
libapi_a_SOURCES = ../../DtMmdb/api/base.C \
../../DtMmdb/api/info_base.C \
../../DtMmdb/api/info_lib.C \
../../DtMmdb/api/smart_ptr.C \
../../DtMmdb/api/transaction.C \
../../DtMmdb/api/utility.C

View File

@@ -0,0 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libbtree.a
AUTOMAKE_OPTIONS = no-dependencies
libbtree_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
libbtree_a_SOURCES = ../../DtMmdb/btree/mmdb_btree.C

View File

@@ -0,0 +1,34 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libbtree_berkeley.a
AUTOMAKE_OPTIONS = no-dependencies
libbtree_berkeley_a_CFLAGS = -DMEMMOVE -I../../DtMmdb \
-I../../DtMmdb/btree_berkeley
libbtree_berkeley_a_SOURCES = ../../DtMmdb/btree_berkeley/bt_close.c \
../../DtMmdb/btree_berkeley/bt_conv.c \
../../DtMmdb/btree_berkeley/bt_debug.c \
../../DtMmdb/btree_berkeley/bt_delete.c \
../../DtMmdb/btree_berkeley/bt_get.c \
../../DtMmdb/btree_berkeley/bt_open.c \
../../DtMmdb/btree_berkeley/bt_overflow.c \
../../DtMmdb/btree_berkeley/bt_page.c \
../../DtMmdb/btree_berkeley/bt_put.c \
../../DtMmdb/btree_berkeley/bt_search.c \
../../DtMmdb/btree_berkeley/bt_seq.c \
../../DtMmdb/btree_berkeley/bt_split.c \
../../DtMmdb/btree_berkeley/bt_stack.c \
../../DtMmdb/btree_berkeley/bt_utils.c \
../../DtMmdb/btree_berkeley/mktemp.c \
../../DtMmdb/btree_berkeley/realloc.c \
../../DtMmdb/btree_berkeley/snprintf.c \
../../DtMmdb/btree_berkeley/mpool.c \
../../DtMmdb/btree_berkeley/db.c
if AIX
else
libbtree_berkeley_a_SOURCES += ../../DtMmdb/btree_berkeley/memmove.c
endif

View File

@@ -0,0 +1,16 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libcompression.a
AUTOMAKE_OPTIONS = no-dependencies
libcompression_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
libcompression_a_SOURCES = ../../DtMmdb/compression/abs_agent.C \
../../DtMmdb/compression/zip.C \
../../DtMmdb/compression/huffman.C \
../../DtMmdb/compression/trie.C \
../../DtMmdb/compression/code.C \
../../DtMmdb/compression/lzss.C \
../../DtMmdb/compression/sgml.C \
../../DtMmdb/compression/ps.C

View File

@@ -0,0 +1,11 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libdiskhash.a
AUTOMAKE_OPTIONS = no-dependencies
libdiskhash_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
libdiskhash_a_SOURCES = ../../DtMmdb/diskhash/disk_bucket.C \
../../DtMmdb/diskhash/bucket_array.C \
../../DtMmdb/diskhash/disk_hash.C

View File

@@ -0,0 +1,21 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libdstr.a
AUTOMAKE_OPTIONS = no-dependencies
libdstr_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
libdstr_a_SOURCES = ../../DtMmdb/dstr/set.C \
../../DtMmdb/dstr/bset.C \
../../DtMmdb/dstr/slist.C \
../../DtMmdb/dstr/dlist_cell.C \
../../DtMmdb/dstr/dlist.C \
../../DtMmdb/dstr/heap.C \
../../DtMmdb/dstr/void_ptr_array.C \
../../DtMmdb/dstr/void_ptr_stack.C \
../../DtMmdb/dstr/memory_pool.C \
../../DtMmdb/dstr/dstr_test.C \
../../DtMmdb/dstr/index_agent.C \
../../DtMmdb/dstr/token_stack.C \
../../DtMmdb/dstr/slist_char_ptr_cell.C

View File

@@ -0,0 +1,15 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libdti_cc.a
AUTOMAKE_OPTIONS = no-dependencies
libdti_cc_a_CXXFLAGS = -DEXPAND_TEMPLATES -I../../DtMmdb -I../../DtMmdb/dti_cc \
-I../../DtMmdb/dti_excs
libdti_cc_a_SOURCES = ../../DtMmdb/dti_cc/CC_Listbase.C \
../../DtMmdb/dti_cc/cc_exceptions.C \
../../DtMmdb/dti_cc/CC_String.C \
../../DtMmdb/dti_cc/CC_Tokenizer.C \
../../DtMmdb/dti_cc/CC_Stack.C \
../../DtMmdb/dti_cc/CC_Slist.C

View File

@@ -0,0 +1,26 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libdti_excs.a
AUTOMAKE_OPTIONS = no-dependencies
libdti_excs_a_CXXFLAGS = -DCC_VERSION=30 -DCHECK_INITIALIZED \
-I../../DtMmdb/dti_excs
if SOLARIS
libdti_excs_a_CXXFLAGS += -DHAS_TERMINATE
endif
if LINUX
libdti_excs_a_CXXFLAGS += -DNATIVE_EXCEPTIONS
endif
if BSD
libdti_excs_a_CXXFLAGS += -DNATIVE_EXCEPTIONS
endif
libdti_excs_a_SOURCES = ../../DtMmdb/dti_excs/Jump_Environment.C \
../../DtMmdb/dti_excs/Exceptions.C \
../../DtMmdb/dti_excs/Exception.C \
../../DtMmdb/dti_excs/Destructable.C \
../../DtMmdb/dti_excs/terminate.C

View File

@@ -0,0 +1,11 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libdynhash.a
AUTOMAKE_OPTIONS = no-dependencies
libdynhash_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
libdynhash_a_SOURCES = ../../DtMmdb/dynhash/data_t.C \
../../DtMmdb/dynhash/imp_bucket.C \
../../DtMmdb/dynhash/imp_die.C

View File

@@ -0,0 +1,14 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libhmphf.a
AUTOMAKE_OPTIONS = no-dependencies
libhmphf_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
libhmphf_a_SOURCES = ../../DtMmdb/hmphf/buckets.C \
../../DtMmdb/hmphf/mphf_funcs.C \
../../DtMmdb/hmphf/mphf_hash_table.C \
../../DtMmdb/hmphf/params.C \
../../DtMmdb/hmphf/pattern.C \
../../DtMmdb/hmphf/sorter.C

View File

@@ -0,0 +1,17 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libindex.a
AUTOMAKE_OPTIONS = no-dependencies
libindex_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
libindex_a_SOURCES = ../../DtMmdb/index/btree_index.C \
../../DtMmdb/index/dyn_disk_index.C \
../../DtMmdb/index/dyn_index.C \
../../DtMmdb/index/dyn_memory_index.C \
../../DtMmdb/index/fast_mphf.C \
../../DtMmdb/index/hash.C \
../../DtMmdb/index/index.C \
../../DtMmdb/index/inv_lists.C \
../../DtMmdb/index/mphf_index.C

View File

@@ -0,0 +1,13 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libmgrs.a
AUTOMAKE_OPTIONS = no-dependencies
libmgrs_a_CXXFLAGS = -DCOMPACTED_DISK_REP -DPORTABLE_DB -I../../DtMmdb \
-I../../DtMmdb/dti_excs
libmgrs_a_SOURCES = ../../DtMmdb/mgrs/managers.C \
../../DtMmdb/mgrs/misc.C \
../../DtMmdb/mgrs/query_mgr.C \
../../DtMmdb/mgrs/template_mgr.C

View File

@@ -0,0 +1,9 @@
MAINTAINERCLEANFILES= Makefile.in
noinst_LIBRARIES = libmisc.a
AUTOMAKE_OPTIONS = no-dependencies
libmisc_a_CFLAGS = -DPORTABLE_DB
libmisc_a_SOURCES = ../../DtMmdb/misc/unique_id.c

View File

@@ -0,0 +1,25 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libobject.a
AUTOMAKE_OPTIONS = no-dependencies
libobject_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
libobject_a_SOURCES = ../../DtMmdb/object/composite.C \
../../DtMmdb/object/compressed_pstring.C \
../../DtMmdb/object/cset.C \
../../DtMmdb/object/dl_list.C \
../../DtMmdb/object/dl_list_cell.C \
../../DtMmdb/object/handler.C \
../../DtMmdb/object/integer.C \
../../DtMmdb/object/long_pstring.C \
../../DtMmdb/object/oid.C \
../../DtMmdb/object/oid_list.C \
../../DtMmdb/object/oid_t.C \
../../DtMmdb/object/primitive.C \
../../DtMmdb/object/pstring.C \
../../DtMmdb/object/random_gen.C \
../../DtMmdb/object/root.C \
../../DtMmdb/object/short_list.C \
../../DtMmdb/object/tuple.C

View File

@@ -0,0 +1,33 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = liboliasdb.a
AUTOMAKE_OPTIONS = no-dependencies
liboliasdb_a_CXXFLAGS = -DNO_DB_LOCK -DCDE_NEXT -I../../DtMmdb \
-I../../DtMmdb/misc -I../../DtMmdb/dti_excs \
-I../../DtMmdb/dti_cc -I../.. -I../../DtMmdb/oliasdb
liboliasdb_a_SOURCES = ../../DtMmdb/oliasdb/asciiIn_filters.C \
../../DtMmdb/oliasdb/collectionIterator.C \
../../DtMmdb/oliasdb/dlp_hd.C \
../../DtMmdb/oliasdb/dlp_test.C \
../../DtMmdb/oliasdb/doc_hd.C \
../../DtMmdb/oliasdb/doc_test.C \
../../DtMmdb/oliasdb/graphic_hd.C \
../../DtMmdb/oliasdb/graphic_test.C \
../../DtMmdb/oliasdb/loc_test.C \
../../DtMmdb/oliasdb/locator_hd.C \
../../DtMmdb/oliasdb/mark.C \
../../DtMmdb/oliasdb/mark_base.C \
../../DtMmdb/oliasdb/mark_test.C \
../../DtMmdb/oliasdb/mmdb.C \
../../DtMmdb/oliasdb/node_hd.C \
../../DtMmdb/oliasdb/node_test.C \
../../DtMmdb/oliasdb/olias_funcs.C \
../../DtMmdb/oliasdb/olias_test.C \
../../DtMmdb/oliasdb/stylesheet_hd.C \
../../DtMmdb/oliasdb/stylesheet_test.C \
../../DtMmdb/oliasdb/toc_hd.C \
../../DtMmdb/oliasdb/toc_test.C \
../../DtMmdb/oliasdb/user_base.C

View File

@@ -0,0 +1,19 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libschema.a
AUTOMAKE_OPTIONS = no-dependencies
libschema_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
-I../../DtMmdb/misc
libschema_a_SOURCES = ../../DtMmdb/schema/desc.C \
../../DtMmdb/schema/store_desc.C \
../../DtMmdb/schema/object_dict.C \
../../DtMmdb/schema/stored_object_desc.C \
../../DtMmdb/schema/index_desc.C \
../../DtMmdb/schema/inv_desc.C \
../../DtMmdb/schema/agent_desc.C \
../../DtMmdb/schema/container_desc.C \
../../DtMmdb/schema/sheet.C \
../../DtMmdb/schema/token.C

View File

@@ -0,0 +1,22 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libstorage.a
AUTOMAKE_OPTIONS = no-dependencies
libstorage_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
libstorage_a_SOURCES = ../../DtMmdb/storage/abs_storage.C \
../../DtMmdb/storage/chunks_index.C \
../../DtMmdb/storage/heap_comp_funcs.C \
../../DtMmdb/storage/lru.C \
../../DtMmdb/storage/page.C \
../../DtMmdb/storage/page_cache.C \
../../DtMmdb/storage/page_rep.C \
../../DtMmdb/storage/page_storage.C \
../../DtMmdb/storage/rep_cell.C \
../../DtMmdb/storage/rep_policy.C \
../../DtMmdb/storage/store_test.C \
../../DtMmdb/storage/unixf_storage.C \
../../DtMmdb/storage/version.C \
../../DtMmdb/storage/vm_storage.C

View File

@@ -0,0 +1,52 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_LIBRARIES = libutility.a
AUTOMAKE_OPTIONS = no-dependencies
libutility_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
-I../../DtMmdb/misc
#FIXME: This should be done in autotools_config.h
if I386
libutility_a_CXXFLAGS += -DMMDB_LITTLE_ENDIAN
endif
if X86_64
libutility_a_CXXFLAGS += -DMMDB_LITTLE_ENDIAN
endif
if ARM
libutility_a_CXXFLAGS += -DMMDB_LITTLE_ENDIAN
endif
if PPC
libutility_a_CXXFLAGS += -DMMDB_BIG_ENDIAN
endif
if SPARC
libutility_a_CXXFLAGS += -DMMDB_BIG_ENDIAN
endif
libutility_a_SOURCES = ../../DtMmdb/utility/funcs.C \
../../DtMmdb/utility/ostring.C \
../../DtMmdb/utility/pm_random.C \
../../DtMmdb/utility/atoi_pearson.C \
../../DtMmdb/utility/xtime.C \
../../DtMmdb/utility/buffer.C \
../../DtMmdb/utility/atoi_larson.C \
../../DtMmdb/utility/atomic_lock.C \
../../DtMmdb/utility/rw_lock.C \
../../DtMmdb/utility/atoi_fast.C \
../../DtMmdb/utility/filter.C \
../../DtMmdb/utility/mmdb_exception.C \
../../DtMmdb/utility/randomize.C \
../../DtMmdb/utility/streambuf.C \
../../DtMmdb/utility/charbuf.C \
../../DtMmdb/utility/filebuf.C \
../../DtMmdb/utility/string.C \
../../DtMmdb/utility/stringstream.C \
../../DtMmdb/utility/iostream.C \
../../DtMmdb/utility/fstream.C \
../../DtMmdb/utility/stream.C \
../../DtMmdb/utility/ios.C