59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
XCOMM $XConsortium: Imakefile /main/15 1996/08/21 15:53:37 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 NormalLibDtMmdb
|
|
#define DoSharedLib SharedLibDtMmdb
|
|
#define DoDebugLib DebugLibDtMmdb
|
|
#define DoProfileLib ProfileLibDtMmdb
|
|
#define LibName DtMmdb
|
|
#define SoRev SODTMMDBREV
|
|
#define LibHeaders NO
|
|
#define LibCreate NO
|
|
#define LargePICTable YES
|
|
|
|
#define CplusplusSource YES
|
|
DEPEND_DEFINES = $(DEPENDDEFINES)
|
|
|
|
XCOMM In DtMmdb we compile as C_API sources.
|
|
DEFINES = -DC_API -DPORTABLE_DB
|
|
INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) -I../misc
|
|
|
|
NORMAL_SRCS = desc.C store_desc.C object_dict.C \
|
|
stored_object_desc.C index_desc.C inv_desc.C \
|
|
agent_desc.C container_desc.C
|
|
PARSER_SRCS = sheet.C token.C
|
|
|
|
#if defined(RegenParserFiles)
|
|
XCOMM Hide the flex and byacc sources so the normal case is simple.
|
|
|
|
YACCSTACK = -DYYSTACKSIZE=20000
|
|
YFLAGS = -l -d
|
|
LFLAGS = -8 -s
|
|
|
|
LinkFile(token.l,token.lex)
|
|
LexTarget(token,schema)
|
|
|
|
LinkFile(sheet.y,sheet.yacc)
|
|
YaccTarget(sheet,schema)
|
|
#endif
|
|
|
|
SRCS = $(NORMAL_SRCS) $(PARSER_SRCS)
|
|
OBJS = $(NORMAL_SRCS:.C=.o) $(PARSER_SRCS:.C=.o)
|
|
|
|
#include <Library.tmpl>
|
|
|
|
SubdirLibraryRule($(OBJS))
|
|
|
|
DependTarget()
|