1 XCOMM $TOG: Imakefile /main/2 1997/12/23 11:41:20 bill $
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 YES
16 #define DoSharedLib NO
18 #define DoProfileLib NO
23 #define CplusplusSource YES
24 DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
25 CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
27 XCOMM Do not put any -g here, will cause the generation of MasterTemplate.c.c
28 XCOMM to use centerline_new, which cannot be linked on HP
37 INCLUDES = -I$(DTMMDBSRC)/HardCopy $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)
39 #if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion == 4)
40 XCOMM need the ptr repository
41 CXXEXTRA_DEFINES = -ptr../templates
44 #if defined(USLArchitecture)
45 CXXEXTRA_DEFINES = -Xo
48 #if defined(HPArchitecture) || defined(LinuxArchitecture) || defined(BSDArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
49 LinkSourceFile(TemplatesAutoNumber.C,$(DTMMDBSRC)/HardCopy)
51 EXTRA_SRCS = TemplatesAutoNumber.C
54 LinkSourceFile(FPset.C,$(DTMMDBSRC)/HardCopy)
55 LinkSourceFile(HardCopyFP.C,$(DTMMDBSRC)/HardCopy)
56 LinkSourceFile(autoNumber.C,$(DTMMDBSRC)/HardCopy)
57 LinkSourceFile(autoNumberFP.C,$(DTMMDBSRC)/HardCopy)
59 BASE_SRCS = FPset.C HardCopyFP.C autoNumber.C autoNumberFP.C
61 SRCS = $(BASE_SRCS) $(EXTRA_SRCS)
62 OBJS = $(BASE_SRCS:.C=.o) $(EXTRA_SRCS:.C=.o)
64 #include <Library.tmpl>
67 LinkSourceFile(all_tmpls,$(DTMMDBSRC)/HardCopy)
68 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,+pti all_tmpls -DEXPAND_TEMPLATES)
69 #elif defined(UXPArchitecture) || (defined(SunArchitecture) && CplusplusCompilerMajorVersion < 4)
70 LinkSourceFile(all_tmpls,$(DTMMDBSRC)/HardCopy)
71 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,+Tall_tmpls -DEXPAND_TEMPLATES)
72 #elif defined(AlphaArchitecture)
73 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-ptf -DEXPAND_TEMPLATES)
74 #elif defined(LinuxArchitecture) || defined(BSDArchitecture)
75 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-DEXPAND_TEMPLATES)
76 SpecialCPlusPlusExpandRule(TemplatesAutoNumber..c,TemplatesAutoNumber.C,-DEXPAND_TEMPLATES)
78 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-ptf -DEXPAND_TEMPLATES)
79 SpecialCPlusPlusExpandRule(TemplatesAutoNumber..c,TemplatesAutoNumber.C,-ptf -DEXPAND_TEMPLATES)
82 SubdirLibraryRule($(OBJS))