Resolve many build warnings
[oweals/cde.git] / cde / programs / dtinfo / DtMmdb / schema / Imakefile
1 XCOMM $XConsortium: Imakefile /main/15 1996/08/21 15:53:37 drk $
2
3 XCOMM                         ** WARNING **
4 XCOMM 
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.
8 XCOMM
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
14
15 #define DoNormalLib     NormalLibDtMmdb
16 #define DoSharedLib     SharedLibDtMmdb
17 #define DoDebugLib      DebugLibDtMmdb
18 #define DoProfileLib    ProfileLibDtMmdb
19 #define LibName         DtMmdb
20 #define SoRev           SODTMMDBREV
21 #define LibHeaders      NO
22 #define LibCreate       NO
23 #define LargePICTable   YES
24
25 #define CplusplusSource YES
26 DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
27
28 XCOMM In DtMmdb we compile as C_API sources.
29 DEFINES  = -DC_API -DPORTABLE_DB
30 INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) -I../misc
31
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
36
37 #if defined(RegenParserFiles)
38 XCOMM Hide the flex and byacc sources so the normal case is simple.
39
40 YACCSTACK = -DYYSTACKSIZE=20000
41 YFLAGS    = -l -d 
42 LFLAGS    = -8 -s 
43
44 LinkFile(token.l,token.lex)
45 LexTarget(token,schema)
46
47 LinkFile(sheet.y,sheet.yacc)
48 YaccTarget(sheet,schema)
49 #endif
50
51 SRCS = $(NORMAL_SRCS)       $(PARSER_SRCS)
52 OBJS = $(NORMAL_SRCS:.C=.o) $(PARSER_SRCS:.C=.o)
53
54 #include <Library.tmpl>
55
56 SubdirLibraryRule($(OBJS))
57
58 DependTarget()