DtMmdb: move to lib directory as a standalone library.
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/1 1996/08/21 15:59:27 drk $
|
||||
|
||||
XCOMM ** WARNING **
|
||||
XCOMM
|
||||
XCOMM The files named here may appear in many different Imakefiles.
|
||||
XCOMM If you add or remove a file, be sure to update all locations.
|
||||
XCOMM It's unfortunate, but all this redundancy serves a purpose.
|
||||
XCOMM
|
||||
XCOMM Other possible locations are:
|
||||
XCOMM .../lib/DtMmdb/Imakefile
|
||||
XCOMM .../lib/DtMmdb/<subdir>/Imakefile
|
||||
XCOMM .../programs/dtinfo/mmdb/Imakefile
|
||||
XCOMM .../programs/dtinfo/mmdb/<subdir>/Imakefile
|
||||
|
||||
#define DoNormalLib YES
|
||||
#define DoSharedLib NO
|
||||
#define DoDebugLib NO
|
||||
#define DoProfileLib NO
|
||||
#define LibName MMDB
|
||||
#define LibHeaders NO
|
||||
#define LibCreate NO
|
||||
|
||||
#define CplusplusSource YES
|
||||
DEPEND_DEFINES = $(DEPENDDEFINES)
|
||||
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
|
||||
|
||||
DEFINES =
|
||||
INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/dti_cc $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
|
||||
|
||||
LinkSourceFile(CC_Listbase.C,$(DTMMDBSRC)/dti_cc)
|
||||
LinkSourceFile(cc_exceptions.C,$(DTMMDBSRC)/dti_cc)
|
||||
LinkSourceFile(CC_String.C,$(DTMMDBSRC)/dti_cc)
|
||||
LinkSourceFile(CC_Tokenizer.C,$(DTMMDBSRC)/dti_cc)
|
||||
LinkSourceFile(CC_Stack.C,$(DTMMDBSRC)/dti_cc)
|
||||
LinkSourceFile(CC_Slist.C,$(DTMMDBSRC)/dti_cc)
|
||||
|
||||
SRCS = CC_Listbase.C cc_exceptions.C CC_String.C \
|
||||
CC_Tokenizer.C CC_Stack.C CC_Slist.C
|
||||
OBJS = $(SRCS:.C=.o)
|
||||
|
||||
#include <Library.tmpl>
|
||||
|
||||
SubdirLibraryRule($(OBJS))
|
||||
|
||||
DependTarget()
|
||||
|
||||
#ifdef TEST
|
||||
TEST_OBJS = $(OBJS) \
|
||||
../utility/mmdb_exception.o \
|
||||
../utility/funcs.o \
|
||||
../utility/atoi_fast.o \
|
||||
../utility/pm_random.o \
|
||||
../dti_excs/Jump_Environment.o \
|
||||
../dti_excs/Exceptions.o \
|
||||
../dti_excs/Exception.o \
|
||||
../dti_excs/Destructable.o \
|
||||
../dti_excs/terminate.o \
|
||||
../dti_excs/centerline.o \
|
||||
../misc/unique_id.o -lm
|
||||
|
||||
SpecialCPlusPlusObjectRule(CC_Template.o,,-ptf)
|
||||
SimpleCPlusPlusProgram(tt, main.o CC_Template.o,$(TEST_OBJS))
|
||||
#endif
|
||||
@@ -1,20 +0,0 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include $(top_srcdir)/programs/dtinfo/dtinfo_env.mk
|
||||
|
||||
BASE = ../../DtMmdb/dti_cc
|
||||
BUILT_SOURCES = CC_Listbase.C cc_exceptions.C CC_String.C \
|
||||
CC_Tokenizer.C CC_Stack.C CC_Slist.C
|
||||
|
||||
$(BUILT_SOURCES):
|
||||
$(LN_S) $(BASE)/$@ $@
|
||||
|
||||
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)
|
||||
Reference in New Issue
Block a user