1 XCOMM $XConsortium: Imakefile /main/15 1996/08/21 15:53:37 drk $
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
15 #define DoNormalLib NormalLibDtMmdb
16 #define DoSharedLib SharedLibDtMmdb
17 #define DoDebugLib DebugLibDtMmdb
18 #define DoProfileLib ProfileLibDtMmdb
19 #define LibName DtMmdb
20 #define SoRev SODTMMDBREV
23 #define LargePICTable YES
25 #define CplusplusSource YES
26 DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
28 XCOMM In DtMmdb we compile as C_API sources.
29 DEFINES = -DC_API -DPORTABLE_DB
30 INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) -I../misc
32 NORMAL_SRCS = desc.C store_desc.C object_dict.C \
33 stored_object_desc.C index_desc.C inv_desc.C \
34 agent_desc.C container_desc.C
35 PARSER_SRCS = sheet.C token.C
37 #if defined(RegenParserFiles)
38 XCOMM Hide the flex and byacc sources so the normal case is simple.
40 YACCSTACK = -DYYSTACKSIZE=20000
44 LinkFile(token.l,token.lex)
45 LexTarget(token,schema)
47 LinkFile(sheet.y,sheet.yacc)
48 YaccTarget(sheet,schema)
51 SRCS = $(NORMAL_SRCS) $(PARSER_SRCS)
52 OBJS = $(NORMAL_SRCS:.C=.o) $(PARSER_SRCS:.C=.o)
54 #include <Library.tmpl>
56 SubdirLibraryRule($(OBJS))