1 XCOMM $TOG: Imakefile /main/13 1998/04/06 13:38:18 mgreess $
3 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
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 #ifdef LinuxArchitecture
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= -DSP_CONST= \
89 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
92 * Flags passed into compile step when doing manual template instantiation.
94 CXXTEMPLATEFLAGS = -ptf
99 #if defined(RsArchitecture)
100 /* put cpp directives here rather than in CXXDEFINES because
101 * for some reason the CXXDEFINES aren't passed to the link phase
102 * but they are needed there to instantiate templates
105 -DSP_VOLATILE=volatile -DSP_CONST=const \
106 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
109 * Flags passed into compile step when doing manual template instantiation.
116 #if defined(SunArchitecture)
117 /* put cpp directives here rather than in CXXDEFINES because
118 * for some reason the CXXDEFINES aren't passed to the link phase
119 * but they are needed there to instantiate templates
122 -DSP_VOLATILE= -DSP_CONST= \
123 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
124 EXTRA_INCLUDES = -I/opt/SUNWspro/SC2.0.1/include/CC
127 * Flags passed into compile step when doing manual template instantiation.
132 #endif /* SunArchitecture */
134 #if defined(USLArchitecture)
135 /* put cpp directives here rather than in CXXDEFINES because
136 * for some reason the CXXDEFINES aren't passed to the link phase
137 * but they are needed there to instantiate templates
140 -DSP_VOLATILE= -DSP_CONST= \
141 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
144 * Flags passed into compile step when doing manual template instantiation.
151 #if defined(UXPArchitecture)
152 /* put cpp directives here rather than in CXXDEFINES because
153 * for some reason the CXXDEFINES aren't passed to the link phase
154 * but they are needed there to instantiate templates
157 -DSP_VOLATILE= -DSP_CONST= \
158 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
161 * Flags passed into compile step when doing manual template instantiation.
163 CXXTEMPLATEFLAGS = -pta
171 $(M4) instmac.m4 $< >$@
176 INSTALLFLAGS = $(INSTINCFLAGS)
190 DescriptorManager.C \
192 EUCJPCodingSystem.C \
200 ErrorCountEventHandler.C \
203 ExtendEntityManager.C \
205 Fixed2CodingSystem.C \
206 GenericEventHandler.C \
210 ISO8859InputCodingSystem.C \
212 IdentityCodingSystem.C \
214 InternalInputSource.C \
223 MessageEventHandler.C \
228 NumericCharRefOrigin.C \
229 OffsetOrderedList.C \
236 ParserEventGeneratorKit.C \
243 RewindStorageObject.C \
249 SearchResultMessageArg.C \
251 SgmlsEventHandler.C \
252 ShortReferenceMap.C \
256 StringVectorMessageArg.C \
260 TranslateInputCodingSystem.C \
266 UnicodeCodingSystem.C \
291 HashTableItemBase.C \
320 DescriptorManager.o \
322 EUCJPCodingSystem.o \
330 ErrorCountEventHandler.o \
333 ExtendEntityManager.o \
335 Fixed2CodingSystem.o \
336 GenericEventHandler.o \
340 ISO8859InputCodingSystem.o \
342 IdentityCodingSystem.o \
344 InternalInputSource.o \
353 MessageEventHandler.o \
358 NumericCharRefOrigin.o \
359 OffsetOrderedList.o \
366 ParserEventGeneratorKit.o \
373 RewindStorageObject.o \
379 SearchResultMessageArg.o \
381 SgmlsEventHandler.o \
382 ShortReferenceMap.o \
386 StringVectorMessageArg.o \
390 TranslateInputCodingSystem.o \
396 UnicodeCodingSystem.o \
421 HashTableItemBase.o \
438 #ifdef HPArchitecture
439 SpecialCplusplusObjectRule(Parser,Parser,+T)
442 SpecialCplusplusObjectRule(app_inst,app_inst,$(CXXTEMPLATEFLAGS))
443 SpecialCplusplusObjectRule(arc_inst,arc_inst,$(CXXTEMPLATEFLAGS))
444 SpecialCplusplusObjectRule(entmgr_inst,entmgr_inst,$(CXXTEMPLATEFLAGS))
445 SpecialCplusplusObjectRule(nsgmls_inst,nsgmls_inst,$(CXXTEMPLATEFLAGS))
446 SpecialCplusplusObjectRule(parser_inst,parser_inst,$(CXXTEMPLATEFLAGS))
447 SpecialCplusplusObjectRule(xentmgr_inst,xentmgr_inst,$(CXXTEMPLATEFLAGS))
449 NormalCplusplusObjectRule()
450 ComplexCplusplusProgramTarget($(PROGRAMS))
452 /* make sure the template repository is cleaned */
455 rm -f $(GENERATED_SRCS)
458 * Required to build .o files from .m4 files on Alpha
460 app_inst.C: app_inst.m4
461 arc_inst.C: arc_inst.m4
462 entmgr_inst.C: entmgr_inst.m4
463 nsgmls_inst.C: nsgmls_inst.m4
464 parser_inst.C: parser_inst.m4
465 xentmgr_inst.C: xentmgr_inst.m4