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)
68 NOIMPLTEMPLATES = -fno-implicit-templates
72 * put cpp directives here rather than in CXXDEFINES because
73 * for some reason the CXXDEFINES aren't passed to the link phase
74 * but they are needed there to instantiate templates
77 -DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
78 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST $(NOIMPLTEMPLATES)
81 * Flags passed into compile step when doing manual template instantiation.
83 CXXTEMPLATEFLAGS = $(NOIMPLTEMPLATES)
89 #if defined(RsArchitecture)
90 /* put cpp directives here rather than in CXXDEFINES because
91 * for some reason the CXXDEFINES aren't passed to the link phase
92 * but they are needed there to instantiate templates
95 -DSP_VOLATILE=volatile -DSP_CONST=const \
96 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
99 * Flags passed into compile step when doing manual template instantiation.
106 #if defined(SunArchitecture)
107 /* put cpp directives here rather than in CXXDEFINES because
108 * for some reason the CXXDEFINES aren't passed to the link phase
109 * but they are needed there to instantiate templates
112 -DSP_VOLATILE= -DSP_CONST= \
113 -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
116 * Flags passed into compile step when doing manual template instantiation.
121 #endif /* SunArchitecture */
126 $(M4) instmac.m4 $< >$@
131 INSTALLFLAGS = $(INSTINCFLAGS)
145 DescriptorManager.C \
147 EUCJPCodingSystem.C \
155 ErrorCountEventHandler.C \
158 ExtendEntityManager.C \
160 Fixed2CodingSystem.C \
161 GenericEventHandler.C \
165 ISO8859InputCodingSystem.C \
167 IdentityCodingSystem.C \
169 InternalInputSource.C \
178 MessageEventHandler.C \
183 NumericCharRefOrigin.C \
184 OffsetOrderedList.C \
191 ParserEventGeneratorKit.C \
198 RewindStorageObject.C \
204 SearchResultMessageArg.C \
206 SgmlsEventHandler.C \
207 ShortReferenceMap.C \
211 StringVectorMessageArg.C \
215 TranslateInputCodingSystem.C \
221 UnicodeCodingSystem.C \
246 HashTableItemBase.C \
275 DescriptorManager.o \
277 EUCJPCodingSystem.o \
285 ErrorCountEventHandler.o \
288 ExtendEntityManager.o \
290 Fixed2CodingSystem.o \
291 GenericEventHandler.o \
295 ISO8859InputCodingSystem.o \
297 IdentityCodingSystem.o \
299 InternalInputSource.o \
308 MessageEventHandler.o \
313 NumericCharRefOrigin.o \
314 OffsetOrderedList.o \
321 ParserEventGeneratorKit.o \
328 RewindStorageObject.o \
334 SearchResultMessageArg.o \
336 SgmlsEventHandler.o \
337 ShortReferenceMap.o \
341 StringVectorMessageArg.o \
345 TranslateInputCodingSystem.o \
351 UnicodeCodingSystem.o \
376 HashTableItemBase.o \
393 #ifdef HPArchitecture
394 SpecialCplusplusObjectRule(Parser,Parser,+T)
397 SpecialCplusplusObjectRule(app_inst,app_inst,$(CXXTEMPLATEFLAGS))
398 SpecialCplusplusObjectRule(arc_inst,arc_inst,$(CXXTEMPLATEFLAGS))
399 SpecialCplusplusObjectRule(entmgr_inst,entmgr_inst,$(CXXTEMPLATEFLAGS))
400 SpecialCplusplusObjectRule(nsgmls_inst,nsgmls_inst,$(CXXTEMPLATEFLAGS))
401 SpecialCplusplusObjectRule(parser_inst,parser_inst,$(CXXTEMPLATEFLAGS))
402 SpecialCplusplusObjectRule(xentmgr_inst,xentmgr_inst,$(CXXTEMPLATEFLAGS))
404 includes:: $(GENERATED_SRCS)
406 NormalCplusplusObjectRule()
407 ComplexCplusplusProgramTarget($(PROGRAMS))
409 /* make sure the template repository is cleaned */
412 rm -f $(GENERATED_SRCS)
415 * Required to build .o files from .m4 files on Alpha
417 app_inst.C: app_inst.m4
418 arc_inst.C: arc_inst.m4
419 entmgr_inst.C: entmgr_inst.m4
420 nsgmls_inst.C: nsgmls_inst.m4
421 parser_inst.C: parser_inst.m4
422 xentmgr_inst.C: xentmgr_inst.m4