mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtinfo/mmdb: redo the way this library is built
Specifically: - use libtool so that the top level library contains the actual objects, and not just the sub-archives, which the linker will just ignore. - create the source files via symlinks rather than referencing them with relative paths. Doing it that way causes a 'make clean' to delete objects in DtMmdb/ which is wrong. - fix up utility/ - it seemed to be building more source files than the original Imakefile listed. Other changes may need to be done here if similar mistakes were made in other subdirs.
This commit is contained in:
parent
b24fd04619
commit
97b2f86eba
22 changed files with 350 additions and 301 deletions
|
@ -1,9 +1,21 @@
|
|||
# Some common env variables needed by the various modules
|
||||
|
||||
# common defines
|
||||
DTINFO_DEFINES = -DWideCharSupport -DUseWideChars -DInternationalize \
|
||||
-DJapaneseLocal -DUseMotifXpm -DUseTooltalk -DUseSessionMgmt \
|
||||
-DDTSEARCH -DCDE_NEXT -DEXPAND_TEMPLATES
|
||||
DTINFO_DEFINES = -DDtinfoClient -DUseWideChars -DInternationalize \
|
||||
-DUseMotifXpm -DUseTooltalk -DUseSessionMgmt -DDTSEARCH -DCDE_NEXT \
|
||||
-DEXPAND_TEMPLATES
|
||||
|
||||
if LINUX
|
||||
DTINFO_DEFINES += -DNATIVE_EXCEPTIONS
|
||||
endif
|
||||
|
||||
if BSD
|
||||
DTINFO_DEFINES += -DNATIVE_EXCEPTIONS
|
||||
endif
|
||||
|
||||
if SOLARIS
|
||||
DTINFO_DEFINES += -DHAS_TERMINATE -DNATIVE_EXCEPTIONS
|
||||
endif
|
||||
|
||||
# where stuff is
|
||||
OLIAS = $(top_srcdir)/programs/dtinfo
|
||||
|
@ -19,6 +31,9 @@ WWL_INCLUDES = -I$(WWL)/include
|
|||
WWL_LIBS=$(STATIC) -L$(WWL)/src -lWWL
|
||||
EXCEPTIONS_INCLUDES = -I$(EXCEPTIONS)
|
||||
MMDB_INCLUDES = -I$(MMDB)
|
||||
#MMDB_LIBS=$(STATIC) -L$(OLIAS)/mmdb -lMMDB
|
||||
MMDB_LIBS=$(OLIAS)/mmdb/libMMDB.la
|
||||
#MMDB_LIBS= $(OLIAS)/DtMmdb/libDtMmdb.la
|
||||
UAS_INCLUDES = -I$(UAS)/Base
|
||||
COMMON_CLASS_INCLUDES = -I$(MMDB)/dti_cc -I$(MMDB)
|
||||
COMMON_CLASS_LIBDIR = $(STATIC) -L$(MMDB)/dti_cc
|
||||
|
|
|
@ -1,21 +1,27 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libHardCopy.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
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
|
||||
BASE = ../../DtMmdb/HardCopy
|
||||
BUILT_SOURCES = FPset.C HardCopyFP.C autoNumber.C autoNumberFP.C
|
||||
|
||||
if LINUX
|
||||
libHardCopy_a_SOURCES += ../../DtMmdb/HardCopy/TemplatesAutoNumber.C
|
||||
BUILT_SOURCES += TemplatesAutoNumber.C
|
||||
endif
|
||||
|
||||
if BSD
|
||||
libHardCopy_a_SOURCES += ../../DtMmdb/HardCopy/TemplatesAutoNumber.C
|
||||
BUILT_SOURCES += TemplatesAutoNumber.C
|
||||
endif
|
||||
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libHardCopy.la
|
||||
|
||||
libHardCopy_la_CXXFLAGS = $(DTINFO_DEFINES) \
|
||||
-I../../DtMmdb -I../../DtMmdb/HardCopy -I../../DtMmdb/dti_excs \
|
||||
-I$(BASE)
|
||||
|
||||
libHardCopy_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -12,15 +12,19 @@ SUBDIRS = \
|
|||
utility HardCopy \
|
||||
dti_cc StyleSheet
|
||||
|
||||
noinst_LIBRARIES = libmmdb.a
|
||||
noinst_LTLIBRARIES = libMMDB.la
|
||||
|
||||
libmmdb_a_SOURCES =
|
||||
libMMDB_la_SOURCES =
|
||||
# fake things so libtool creates this as a C++ library
|
||||
nodist_EXTRA_libMMDB_la_SOURCES = dummy.cxx
|
||||
|
||||
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
|
||||
libMMDB_la_LIBADD = api/libapi.la btree/libbtree.la \
|
||||
btree_berkeley/libbtree_berkeley.la \
|
||||
compression/libcompression.la \
|
||||
diskhash/libdiskhash.la dstr/libdstr.la \
|
||||
dti_excs/libdti_excs.la dynhash/libdynhash.la \
|
||||
hmphf/libhmphf.la index/libindex.la \
|
||||
mgrs/libmgrs.la misc/libmisc.la \
|
||||
object/libobject.la oliasdb/liboliasdb.la \
|
||||
schema/libschema.la storage/libstorage.la \
|
||||
utility/libutility.la
|
||||
|
|
|
@ -1,42 +1,36 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libStyleSheet.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/StyleSheet
|
||||
BUILT_SOURCES = Attribute.C AttributeList.C BitVector.C DocParser.C \
|
||||
Element.C Expression.C Feature.C FeatureDefDictionary.C \
|
||||
FeatureSet.C FeatureValue.C PathQualifier.C PathTable.C \
|
||||
Resolver.C ResolverStack.C SSPath.C StyleSheet.C \
|
||||
StyleSheetExceptions.C SymTab.C VariableTable.C defParser.C \
|
||||
defToken.C style.C tokenStyle.C RendererHCV.C
|
||||
|
||||
libStyleSheet_a_CXXFLAGS = -DEXPAND_TEMPLATES -DCDE_NEXT -I../../DtMmdb \
|
||||
-I../../DtMmdb/StyleSheet -I../../DtMmdb/dti_excs \
|
||||
-I../../DtMmdb/dti_cc
|
||||
SPECFILES = hardcopy.feature.spec online.feature.spec
|
||||
|
||||
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
|
||||
BUILT_SOURCES += $(SPECFILES)
|
||||
|
||||
if LINUX
|
||||
libStyleSheet_a_SOURCES += ../../DtMmdb/StyleSheet/SSTemplates.C
|
||||
BUILT_SOURCES += SSTemplates.C
|
||||
endif
|
||||
|
||||
if BSD
|
||||
libStyleSheet_a_SOURCES += ../../DtMmdb/StyleSheet/SSTemplates.C
|
||||
BUILT_SOURCES += SSTemplates.C
|
||||
endif
|
||||
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libStyleSheet.la
|
||||
|
||||
libStyleSheet_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb \
|
||||
-I../../DtMmdb/StyleSheet -I../../DtMmdb/dti_excs \
|
||||
-I../../DtMmdb/dti_cc -I$(BASE)
|
||||
|
||||
libStyleSheet_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,14 +1,22 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libapi.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
BASE = ../../DtMmdb/api
|
||||
BUILT_SOURCES = base.C info_base.C info_lib.C smart_ptr.C \
|
||||
transaction.C utility.C
|
||||
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libapi.la
|
||||
|
||||
libapi_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb -I../../DtMmdb/misc \
|
||||
-I../../DtMmdb/dti_excs -I$(BASE) $(DTINFO_DEFINES)
|
||||
|
||||
libapi_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
||||
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
|
||||
|
|
|
@ -1,9 +1,17 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libbtree.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/btree
|
||||
BUILT_SOURCES = mmdb_btree.C
|
||||
|
||||
libbtree_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
libbtree_a_SOURCES = ../../DtMmdb/btree/mmdb_btree.C
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libbtree.la
|
||||
|
||||
libbtree_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libbtree_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,34 +1,35 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libbtree_berkeley.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/btree_berkeley
|
||||
BUILT_SOURCES = bt_close.c bt_conv.c bt_debug.c bt_delete.c bt_get.c \
|
||||
bt_open.c bt_overflow.c bt_page.c \
|
||||
bt_put.c bt_search.c bt_seq.c \
|
||||
bt_split.c bt_stack.c bt_utils.c \
|
||||
\
|
||||
mktemp.c realloc.c snprintf.c \
|
||||
\
|
||||
mpool.c \
|
||||
\
|
||||
db.c
|
||||
|
||||
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
|
||||
if LINUX
|
||||
BUILT_SOURCES += memmove.c
|
||||
endif
|
||||
|
||||
if BSD
|
||||
BUILT_SOURCES += memmove.c
|
||||
endif
|
||||
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libbtree_berkeley.la
|
||||
|
||||
libbtree_berkeley_la_CFLAGS = $(DTINFO_DEFINES) -DMEMMOVE -I../../DtMmdb \
|
||||
-I../../DtMmdb/btree_berkeley -I$(BASE)
|
||||
|
||||
libbtree_berkeley_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libcompression.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/compression
|
||||
BUILT_SOURCES = abs_agent.C zip.C huffman.C trie.C code.C lzss.C
|
||||
|
||||
libcompression_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
PARSER_FILES = sgml.C ps.C
|
||||
BUILT_SOURCES += $(PARSER_FILES)
|
||||
|
||||
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
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libcompression.la
|
||||
|
||||
libcompression_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libcompression_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,11 +1,17 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libdiskhash.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/diskhash
|
||||
BUILT_SOURCES = disk_bucket.C bucket_array.C disk_hash.C
|
||||
|
||||
libdiskhash_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
libdiskhash_a_SOURCES = ../../DtMmdb/diskhash/disk_bucket.C \
|
||||
../../DtMmdb/diskhash/bucket_array.C \
|
||||
../../DtMmdb/diskhash/disk_hash.C
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libdiskhash.la
|
||||
|
||||
libdiskhash_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libdiskhash_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,21 +1,19 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libdstr.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/dstr
|
||||
BUILT_SOURCES = set.C bset.C slist.C dlist_cell.C dlist.C heap.C \
|
||||
void_ptr_array.C void_ptr_stack.C memory_pool.C dstr_test.C \
|
||||
index_agent.C token_stack.C slist_char_ptr_cell.C
|
||||
|
||||
libdstr_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libdstr.la
|
||||
|
||||
libdstr_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libdstr_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,15 +1,20 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libdti_cc.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/dti_cc
|
||||
BUILT_SOURCES = CC_Listbase.C cc_exceptions.C CC_String.C \
|
||||
CC_Tokenizer.C CC_Stack.C CC_Slist.C
|
||||
|
||||
libdti_cc_a_CXXFLAGS = -DEXPAND_TEMPLATES -I../../DtMmdb -I../../DtMmdb/dti_cc \
|
||||
-I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
||||
noinst_LTLIBRARIES = libdti_cc.la
|
||||
|
||||
libdti_cc_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb \
|
||||
-I../../DtMmdb/dti_cc -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libdti_cc_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libdti_excs.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/dti_excs
|
||||
BUILT_SOURCES = Jump_Environment.C Exceptions.C Exception.C \
|
||||
Destructable.C terminate.C
|
||||
|
||||
libdti_excs_a_CXXFLAGS = -DCC_VERSION=30 -DCHECK_INITIALIZED \
|
||||
-I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
if SOLARIS
|
||||
libdti_excs_a_CXXFLAGS += -DHAS_TERMINATE
|
||||
endif
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
if LINUX
|
||||
libdti_excs_a_CXXFLAGS += -DNATIVE_EXCEPTIONS
|
||||
endif
|
||||
noinst_LTLIBRARIES = libdti_excs.la
|
||||
|
||||
if BSD
|
||||
libdti_excs_a_CXXFLAGS += -DNATIVE_EXCEPTIONS
|
||||
endif
|
||||
libdti_excs_la_CXXFLAGS = $(DTINFO_DEFINES) -DCC_VERSION=30 -DCHECK_INITIALIZED \
|
||||
-I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
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
|
||||
libdti_excs_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,11 +1,17 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libdynhash.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/dynhash
|
||||
BUILT_SOURCES = data_t.C imp_bucket.C imp_die.C
|
||||
|
||||
libdynhash_a_CXXFLAGS = -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
libdynhash_a_SOURCES = ../../DtMmdb/dynhash/data_t.C \
|
||||
../../DtMmdb/dynhash/imp_bucket.C \
|
||||
../../DtMmdb/dynhash/imp_die.C
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libdynhash.la
|
||||
|
||||
libdynhash_la_CXXFLAGS = $(DTINFO_DEFINES) -I../../DtMmdb -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libdynhash_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,14 +1,20 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libhmphf.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/hmphf
|
||||
BUILT_SOURCES = buckets.C mphf_funcs.C mphf_hash_table.C params.C \
|
||||
pattern.C sorter.C
|
||||
|
||||
libhmphf_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libhmphf.la
|
||||
|
||||
libhmphf_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB -I../../DtMmdb \
|
||||
-I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libhmphf_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
||||
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
|
||||
|
|
|
@ -1,17 +1,20 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libindex.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/index
|
||||
BUILT_SOURCES = btree_index.C dyn_disk_index.C dyn_index.C \
|
||||
dyn_memory_index.C fast_mphf.C hash.C index.C \
|
||||
inv_lists.C mphf_index.C
|
||||
|
||||
libindex_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libindex.la
|
||||
|
||||
libindex_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
|
||||
-I$(BASE)
|
||||
|
||||
libindex_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,13 +1,18 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libmgrs.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/mgrs
|
||||
BUILT_SOURCES = managers.C misc.C query_mgr.C template_mgr.C
|
||||
|
||||
libmgrs_a_CXXFLAGS = -DCOMPACTED_DISK_REP -DPORTABLE_DB -I../../DtMmdb \
|
||||
-I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
libmgrs_a_SOURCES = ../../DtMmdb/mgrs/managers.C \
|
||||
../../DtMmdb/mgrs/misc.C \
|
||||
../../DtMmdb/mgrs/query_mgr.C \
|
||||
../../DtMmdb/mgrs/template_mgr.C
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libmgrs.la
|
||||
|
||||
libmgrs_la_CXXFLAGS = $(DTINFO_DEFINES) -DCOMPACTED_DISK_REP -DPORTABLE_DB -I../../DtMmdb \
|
||||
-I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libmgrs_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,9 +1,17 @@
|
|||
MAINTAINERCLEANFILES= Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libmisc.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/misc
|
||||
BUILT_SOURCES = unique_id.c
|
||||
|
||||
libmisc_a_CFLAGS = -DPORTABLE_DB
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
libmisc_a_SOURCES = ../../DtMmdb/misc/unique_id.c
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libmisc.la
|
||||
|
||||
libmisc_la_CFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB -I$(BASE)
|
||||
|
||||
libmisc_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,25 +1,22 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libobject.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/object
|
||||
BUILT_SOURCES = composite.C compressed_pstring.C cset.C dl_list.C \
|
||||
dl_list_cell.C handler.C integer.C \
|
||||
long_pstring.C oid.C oid_list.C oid_t.C \
|
||||
primitive.C pstring.C random_gen.C root.C \
|
||||
short_list.C tuple.C
|
||||
|
||||
libobject_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libobject.la
|
||||
|
||||
libobject_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
|
||||
-I$(BASE)
|
||||
|
||||
libobject_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,33 +1,26 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = liboliasdb.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/oliasdb
|
||||
BUILT_SOURCES = asciiIn_filters.C collectionIterator.C dlp_hd.C \
|
||||
dlp_test.C doc_hd.C doc_test.C graphic_hd.C \
|
||||
graphic_test.C loc_test.C locator_hd.C mark.C \
|
||||
mark_base.C mark_test.C mmdb.C node_hd.C \
|
||||
node_test.C olias_funcs.C olias_test.C \
|
||||
stylesheet_hd.C stylesheet_test.C toc_hd.C \
|
||||
toc_test.C user_base.C
|
||||
|
||||
liboliasdb_a_CXXFLAGS = -DNO_DB_LOCK -DCDE_NEXT -I../../DtMmdb \
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = liboliasdb.la
|
||||
|
||||
liboliasdb_la_CXXFLAGS = $(DTINFO_DEFINES) -DNO_DB_LOCK -DCDE_NEXT -I../../DtMmdb \
|
||||
-I../../DtMmdb/misc -I../../DtMmdb/dti_excs \
|
||||
-I../../DtMmdb/dti_cc -I../.. -I../../DtMmdb/oliasdb
|
||||
-I../../DtMmdb/dti_cc -I../.. -I../../DtMmdb/oliasdb \
|
||||
-I$(BASE)
|
||||
|
||||
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
|
||||
liboliasdb_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libschema.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/schema
|
||||
BUILT_SOURCES = desc.C store_desc.C object_dict.C \
|
||||
stored_object_desc.C index_desc.C inv_desc.C \
|
||||
agent_desc.C container_desc.C sheet.C token.C
|
||||
|
||||
libschema_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
|
||||
-I../../DtMmdb/misc
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libschema.la
|
||||
|
||||
libschema_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
|
||||
-I../../DtMmdb/misc -I$(BASE)
|
||||
|
||||
libschema_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libstorage.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/storage
|
||||
BUILT_SOURCES = abs_storage.C chunks_index.C heap_comp_funcs.C lru.C \
|
||||
page.C page_cache.C page_rep.C page_storage.C \
|
||||
rep_cell.C rep_policy.C store_test.C \
|
||||
unixf_storage.C version.C vm_storage.C
|
||||
|
||||
libstorage_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libstorage.la
|
||||
|
||||
libstorage_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB \
|
||||
-I../../DtMmdb -I../../DtMmdb/dti_excs -I$(BASE)
|
||||
|
||||
libstorage_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
|
@ -1,31 +1,20 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libutility.a
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dependencies
|
||||
BASE = ../../DtMmdb/utility
|
||||
BUILT_SOURCES = atoi_fast.C atoi_larson.C atoi_pearson.C \
|
||||
atomic_lock.C buffer.C filter.C funcs.C mmdb_exception.C \
|
||||
ostring.C pm_random.C randomize.C rw_lock.C xtime.C
|
||||
|
||||
libutility_a_CXXFLAGS = -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
|
||||
-I../../DtMmdb/misc
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libutility.la
|
||||
|
||||
libutility_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB \
|
||||
-I../../DtMmdb -I../../DtMmdb/dti_excs -I../../DtMmdb/misc -I$(BASE)
|
||||
|
||||
libutility_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue