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
36 #ifdef SCOArchitecture
37 /* put cpp directives here rather than in CXXDEFINES because
38 * for some reason the CXXDEFINES aren't passed to the link phase
39 * but they are needed there to instantiate templates
42 -DSP_VOLATILE= -DSP_CONST= \
43 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
46 * Flags passed into compile step when doing manual template instantiation.
55 * make null pointer use invalid
57 * also, put cpp directives here rather than in CXXDEFINES because
58 * for some reason the CXXDEFINES aren't passed to the link phase
59 * but they are needed there to instantiate templates
62 -DSP_VOLATILE= -DSP_CONST= \
63 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
64 EXTRA_INCLUDES = -I/opt/CC/include/CC
67 * Flags passed into compile step when doing manual template instantiation.
72 * using /usr/lib/libC.a on HPUX cause nsgmls to core dump.
80 #if defined(LinuxArchitecture) || defined(BSDArchitecture)
83 * put cpp directives here rather than in CXXDEFINES because
84 * for some reason the CXXDEFINES aren't passed to the link phase
85 * but they are needed there to instantiate templates
88 -DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
89 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST -fno-implicit-templates
92 * Flags passed into compile step when doing manual template instantiation.
94 CXXTEMPLATEFLAGS = -fno-implicit-templates
100 #if defined(RsArchitecture)
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=volatile -DSP_CONST=const \
107 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
110 * Flags passed into compile step when doing manual template instantiation.
117 #if defined(SunArchitecture)
118 /* put cpp directives here rather than in CXXDEFINES because
119 * for some reason the CXXDEFINES aren't passed to the link phase
120 * but they are needed there to instantiate templates
123 -DSP_VOLATILE= -DSP_CONST= \
124 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
125 EXTRA_INCLUDES = -I/opt/SUNWspro/SC2.0.1/include/CC
128 * Flags passed into compile step when doing manual template instantiation.
133 #endif /* SunArchitecture */
135 #if defined(USLArchitecture)
136 /* put cpp directives here rather than in CXXDEFINES because
137 * for some reason the CXXDEFINES aren't passed to the link phase
138 * but they are needed there to instantiate templates
141 -DSP_VOLATILE= -DSP_CONST= \
142 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
145 * Flags passed into compile step when doing manual template instantiation.
152 #if defined(UXPArchitecture)
153 /* put cpp directives here rather than in CXXDEFINES because
154 * for some reason the CXXDEFINES aren't passed to the link phase
155 * but they are needed there to instantiate templates
158 -DSP_VOLATILE= -DSP_CONST= \
159 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
162 * Flags passed into compile step when doing manual template instantiation.
164 CXXTEMPLATEFLAGS = -pta
172 $(M4) instmac.m4 $< >$@
177 INSTALLFLAGS = $(INSTINCFLAGS)
191 DescriptorManager.C \
193 EUCJPCodingSystem.C \
201 ErrorCountEventHandler.C \
204 ExtendEntityManager.C \
206 Fixed2CodingSystem.C \
207 GenericEventHandler.C \
211 ISO8859InputCodingSystem.C \
213 IdentityCodingSystem.C \
215 InternalInputSource.C \
224 MessageEventHandler.C \
229 NumericCharRefOrigin.C \
230 OffsetOrderedList.C \
237 ParserEventGeneratorKit.C \
244 RewindStorageObject.C \
250 SearchResultMessageArg.C \
252 SgmlsEventHandler.C \
253 ShortReferenceMap.C \
257 StringVectorMessageArg.C \
261 TranslateInputCodingSystem.C \
267 UnicodeCodingSystem.C \
292 HashTableItemBase.C \
321 DescriptorManager.o \
323 EUCJPCodingSystem.o \
331 ErrorCountEventHandler.o \
334 ExtendEntityManager.o \
336 Fixed2CodingSystem.o \
337 GenericEventHandler.o \
341 ISO8859InputCodingSystem.o \
343 IdentityCodingSystem.o \
345 InternalInputSource.o \
354 MessageEventHandler.o \
359 NumericCharRefOrigin.o \
360 OffsetOrderedList.o \
367 ParserEventGeneratorKit.o \
374 RewindStorageObject.o \
380 SearchResultMessageArg.o \
382 SgmlsEventHandler.o \
383 ShortReferenceMap.o \
387 StringVectorMessageArg.o \
391 TranslateInputCodingSystem.o \
397 UnicodeCodingSystem.o \
422 HashTableItemBase.o \
439 #ifdef HPArchitecture
440 SpecialCplusplusObjectRule(Parser,Parser,+T)
443 SpecialCplusplusObjectRule(app_inst,app_inst,$(CXXTEMPLATEFLAGS))
444 SpecialCplusplusObjectRule(arc_inst,arc_inst,$(CXXTEMPLATEFLAGS))
445 SpecialCplusplusObjectRule(entmgr_inst,entmgr_inst,$(CXXTEMPLATEFLAGS))
446 SpecialCplusplusObjectRule(nsgmls_inst,nsgmls_inst,$(CXXTEMPLATEFLAGS))
447 SpecialCplusplusObjectRule(parser_inst,parser_inst,$(CXXTEMPLATEFLAGS))
448 SpecialCplusplusObjectRule(xentmgr_inst,xentmgr_inst,$(CXXTEMPLATEFLAGS))
450 includes:: $(GENERATED_SRCS)
452 NormalCplusplusObjectRule()
453 ComplexCplusplusProgramTarget($(PROGRAMS))
455 /* make sure the template repository is cleaned */
458 rm -f $(GENERATED_SRCS)
461 * Required to build .o files from .m4 files on Alpha
463 app_inst.C: app_inst.m4
464 arc_inst.C: arc_inst.m4
465 entmgr_inst.C: entmgr_inst.m4
466 nsgmls_inst.C: nsgmls_inst.m4
467 parser_inst.C: parser_inst.m4
468 xentmgr_inst.C: xentmgr_inst.m4