1 XCOMM $TOG: Imakefile /main/13 1998/04/06 13:38:18 mgreess $
3 DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
5 #include <Library.tmpl>
7 #ifdef AlphaArchitecture
10 * The OSF 3.2 compiler has a bug which prevents the use of
11 * template class destructors (see Vector.c)
13 #if OSMajorVersion < 4
14 CXX_COMPILER_BUG_OPTION = -DSP_TEMPLATE_DESTRUCTOR_COMPILER_BUG
16 CXX_COMPILER_BUG_OPTION =
20 * put cpp directives here rather than in CXXDEFINES because
21 * for some reason the CXXDEFINES aren't passed to the link phase
22 * but they are needed there to instantiate templates
25 -DSP_VOLATILE= -DSP_CONST= $(CXX_COMPILER_BUG_OPTION) \
26 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
29 * Flags passed into compile step when doing manual template instantiation.
31 CXXTEMPLATEFLAGS = -ptf
38 * make null pointer use invalid
40 * also, put cpp directives here rather than in CXXDEFINES because
41 * for some reason the CXXDEFINES aren't passed to the link phase
42 * but they are needed there to instantiate templates
45 -DSP_VOLATILE= -DSP_CONST= \
46 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
47 EXTRA_INCLUDES = -I/opt/CC/include/CC
50 * Flags passed into compile step when doing manual template instantiation.
55 * using /usr/lib/libC.a on HPUX cause nsgmls to core dump.
63 #if defined(LinuxArchitecture) || defined(BSDArchitecture)
66 * put cpp directives here rather than in CXXDEFINES because
67 * for some reason the CXXDEFINES aren't passed to the link phase
68 * but they are needed there to instantiate templates
71 -DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
72 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST -fno-implicit-templates
75 * Flags passed into compile step when doing manual template instantiation.
77 CXXTEMPLATEFLAGS = -fno-implicit-templates
83 #if defined(RsArchitecture)
84 /* put cpp directives here rather than in CXXDEFINES because
85 * for some reason the CXXDEFINES aren't passed to the link phase
86 * but they are needed there to instantiate templates
89 -DSP_VOLATILE=volatile -DSP_CONST=const \
90 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
93 * Flags passed into compile step when doing manual template instantiation.
100 #if defined(SunArchitecture)
101 /* put cpp directives here rather than in CXXDEFINES because
102 * for some reason the CXXDEFINES aren't passed to the link phase
103 * but they are needed there to instantiate templates
106 -DSP_VOLATILE= -DSP_CONST= \
107 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
110 * Flags passed into compile step when doing manual template instantiation.
115 #endif /* SunArchitecture */
120 $(M4) instmac.m4 $< >$@
125 INSTALLFLAGS = $(INSTINCFLAGS)
139 DescriptorManager.C \
141 EUCJPCodingSystem.C \
149 ErrorCountEventHandler.C \
152 ExtendEntityManager.C \
154 Fixed2CodingSystem.C \
155 GenericEventHandler.C \
159 ISO8859InputCodingSystem.C \
161 IdentityCodingSystem.C \
163 InternalInputSource.C \
172 MessageEventHandler.C \
177 NumericCharRefOrigin.C \
178 OffsetOrderedList.C \
185 ParserEventGeneratorKit.C \
192 RewindStorageObject.C \
198 SearchResultMessageArg.C \
200 SgmlsEventHandler.C \
201 ShortReferenceMap.C \
205 StringVectorMessageArg.C \
209 TranslateInputCodingSystem.C \
215 UnicodeCodingSystem.C \
240 HashTableItemBase.C \
269 DescriptorManager.o \
271 EUCJPCodingSystem.o \
279 ErrorCountEventHandler.o \
282 ExtendEntityManager.o \
284 Fixed2CodingSystem.o \
285 GenericEventHandler.o \
289 ISO8859InputCodingSystem.o \
291 IdentityCodingSystem.o \
293 InternalInputSource.o \
302 MessageEventHandler.o \
307 NumericCharRefOrigin.o \
308 OffsetOrderedList.o \
315 ParserEventGeneratorKit.o \
322 RewindStorageObject.o \
328 SearchResultMessageArg.o \
330 SgmlsEventHandler.o \
331 ShortReferenceMap.o \
335 StringVectorMessageArg.o \
339 TranslateInputCodingSystem.o \
345 UnicodeCodingSystem.o \
370 HashTableItemBase.o \
387 #ifdef HPArchitecture
388 SpecialCplusplusObjectRule(Parser,Parser,+T)
391 SpecialCplusplusObjectRule(app_inst,app_inst,$(CXXTEMPLATEFLAGS))
392 SpecialCplusplusObjectRule(arc_inst,arc_inst,$(CXXTEMPLATEFLAGS))
393 SpecialCplusplusObjectRule(entmgr_inst,entmgr_inst,$(CXXTEMPLATEFLAGS))
394 SpecialCplusplusObjectRule(nsgmls_inst,nsgmls_inst,$(CXXTEMPLATEFLAGS))
395 SpecialCplusplusObjectRule(parser_inst,parser_inst,$(CXXTEMPLATEFLAGS))
396 SpecialCplusplusObjectRule(xentmgr_inst,xentmgr_inst,$(CXXTEMPLATEFLAGS))
398 includes:: $(GENERATED_SRCS)
400 NormalCplusplusObjectRule()
401 ComplexCplusplusProgramTarget($(PROGRAMS))
403 /* make sure the template repository is cleaned */
406 rm -f $(GENERATED_SRCS)
409 * Required to build .o files from .m4 files on Alpha
411 app_inst.C: app_inst.m4
412 arc_inst.C: arc_inst.m4
413 entmgr_inst.C: entmgr_inst.m4
414 nsgmls_inst.C: nsgmls_inst.m4
415 parser_inst.C: parser_inst.m4
416 xentmgr_inst.C: xentmgr_inst.m4