123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422 |
- XCOMM $TOG: Imakefile /main/13 1998/04/06 13:38:18 mgreess $
- DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
- #include <Library.tmpl>
- #ifdef AlphaArchitecture
- /*
- * The OSF 3.2 compiler has a bug which prevents the use of
- * template class destructors (see Vector.c)
- */
- #if OSMajorVersion < 4
- CXX_COMPILER_BUG_OPTION = -DSP_TEMPLATE_DESTRUCTOR_COMPILER_BUG
- #else
- CXX_COMPILER_BUG_OPTION =
- #endif
- /*
- * put cpp directives here rather than in CXXDEFINES because
- * for some reason the CXXDEFINES aren't passed to the link phase
- * but they are needed there to instantiate templates
- */
- CXXOPTIONS = \
- -DSP_VOLATILE= -DSP_CONST= $(CXX_COMPILER_BUG_OPTION) \
- -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
- /*
- * Flags passed into compile step when doing manual template instantiation.
- */
- CXXTEMPLATEFLAGS = -ptf
- M4 = /bin/m4
- #endif
- #ifdef HPArchitecture
- /*
- * make null pointer use invalid
- *
- * also, put cpp directives here rather than in CXXDEFINES because
- * for some reason the CXXDEFINES aren't passed to the link phase
- * but they are needed there to instantiate templates
- */
- CXXOPTIONS = +a1 -z \
- -DSP_VOLATILE= -DSP_CONST= \
- -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
- EXTRA_INCLUDES = -I/opt/CC/include/CC
- /*
- * Flags passed into compile step when doing manual template instantiation.
- */
- CXXTEMPLATEFLAGS =
- /*
- * using /usr/lib/libC.a on HPUX cause nsgmls to core dump.
- * use the default.
- */
- STLIBCENV =
- M4 = /bin/m4
- #endif
- #if defined(LinuxArchitecture) || defined(BSDArchitecture)
- #if defined(__llvm__)
- NOIMPLTEMPLATES =
- #else
- NOIMPLTEMPLATES = -fno-implicit-templates
- #endif
- /*
- * put cpp directives here rather than in CXXDEFINES because
- * for some reason the CXXDEFINES aren't passed to the link phase
- * but they are needed there to instantiate templates
- */
- CXXOPTIONS = \
- -DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
- -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST $(NOIMPLTEMPLATES)
- /*
- * Flags passed into compile step when doing manual template instantiation.
- */
- CXXTEMPLATEFLAGS = $(NOIMPLTEMPLATES)
- M4 = M4Cmd
- #endif
- #if defined(RsArchitecture)
- /* put cpp directives here rather than in CXXDEFINES because
- * for some reason the CXXDEFINES aren't passed to the link phase
- * but they are needed there to instantiate templates
- */
- CXXOPTIONS = \
- -DSP_VOLATILE=volatile -DSP_CONST=const \
- -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
- /*
- * Flags passed into compile step when doing manual template instantiation.
- */
- CXXTEMPLATEFLAGS =
- M4 = /bin/m4
- #endif
- #if defined(SunArchitecture)
- /* put cpp directives here rather than in CXXDEFINES because
- * for some reason the CXXDEFINES aren't passed to the link phase
- * but they are needed there to instantiate templates
- */
- CXXOPTIONS = \
- -DSP_VOLATILE= -DSP_CONST= \
- -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_ANSI_CLASS_INST
- /*
- * Flags passed into compile step when doing manual template instantiation.
- */
- CXXTEMPLATEFLAGS =
- M4 = /usr/ccs/bin/m4
- #endif /* SunArchitecture */
- .SUFFIXES: .m4
- .m4.C:
- rm -f $@
- $(M4) instmac.m4 $< >$@
- PROGRAMS=nsgmls
- INSTALLFLAGS = $(INSTINCFLAGS)
- SRCS = \
- Allocator.C \
- ArcEngine.C \
- Attribute.C \
- CharsetDecl.C \
- CharsetInfo.C \
- CharsetRegistry.C \
- CmdLineApp.C \
- CodingSystem.C \
- ConsoleOutput.C \
- ContentState.C \
- ContentToken.C \
- DescriptorManager.C \
- Dtd.C \
- EUCJPCodingSystem.C \
- ElementType.C \
- Entity.C \
- EntityApp.C \
- EntityCatalog.C \
- EntityDecl.C \
- EntityManager.C \
- ErrnoMessageArg.C \
- ErrorCountEventHandler.C \
- Event.C \
- EventGenerator.C \
- ExtendEntityManager.C \
- ExternalId.C \
- Fixed2CodingSystem.C \
- GenericEventHandler.C \
- Group.C \
- Hash.C \
- IListBase.C \
- ISO8859InputCodingSystem.C \
- Id.C \
- IdentityCodingSystem.C \
- InputSource.C \
- InternalInputSource.C \
- Link.C \
- LinkProcess.C \
- LiteralStorage.C \
- Location.C \
- Lpd.C \
- Markup.C \
- Message.C \
- MessageArg.C \
- MessageEventHandler.C \
- MessageReporter.C \
- MessageTable.C \
- ModeInfo.C \
- Notation.C \
- NumericCharRefOrigin.C \
- OffsetOrderedList.C \
- OpenElement.C \
- OutputCharStream.C \
- OutputState.C \
- Parser.C \
- Param.C \
- ParserApp.C \
- ParserEventGeneratorKit.C \
- ParserOptions.C \
- ParserState.C \
- Partition.C \
- PosixStorage.C \
- RastEventHandler.C \
- Recognizer.C \
- RewindStorageObject.C \
- SGMLApplication.C \
- SJISCodingSystem.C \
- SOEntityCatalog.C \
- Sd.C \
- SdText.C \
- SearchResultMessageArg.C \
- SgmlParser.C \
- SgmlsEventHandler.C \
- ShortReferenceMap.C \
- StdioStorage.C \
- StorageManager.C \
- StringSet.C \
- StringVectorMessageArg.C \
- Syntax.C \
- Text.C \
- TokenMessageArg.C \
- TranslateInputCodingSystem.C \
- TrieBuilder.C \
- TypeId.C \
- URLStorage.C \
- UTF8CodingSystem.C \
- Undo.C \
- UnicodeCodingSystem.C \
- UnivCharsetDesc.C \
- assert.C \
- nsgmls.C \
- parseAttribute.C \
- parseCommon.C \
- parseDecl.C \
- parseInstance.C \
- parseMode.C \
- parseParam.C \
- parseSd.C \
- splib.C \
- $(GENERATED_SRCS)
- GENERATED_SRCS = \
- app_inst.C \
- arc_inst.C \
- entmgr_inst.C \
- nsgmls_inst.C \
- parser_inst.C \
- xentmgr_inst.C
- EXTRA_SRCS = \
- CopyOwner.C \
- HashTable.C \
- HashTableItemBase.C \
- IQueue.C \
- ISet.C \
- List.C \
- NCVector.C \
- Options.C \
- Owner.C \
- OwnerTable.C \
- ParserMessages.C \
- PointerTable.C \
- Ptr.C \
- RangeMap.C \
- StringOf.C \
- SubstTable.C \
- Vector.C \
- XcharMap.C
- OBJS = \
- Allocator.o \
- ArcEngine.o \
- Attribute.o \
- CharsetDecl.o \
- CharsetInfo.o \
- CharsetRegistry.o \
- CmdLineApp.o \
- CodingSystem.o \
- ConsoleOutput.o \
- ContentState.o \
- ContentToken.o \
- DescriptorManager.o \
- Dtd.o \
- EUCJPCodingSystem.o \
- ElementType.o \
- Entity.o \
- EntityApp.o \
- EntityCatalog.o \
- EntityDecl.o \
- EntityManager.o \
- ErrnoMessageArg.o \
- ErrorCountEventHandler.o \
- Event.o \
- EventGenerator.o \
- ExtendEntityManager.o \
- ExternalId.o \
- Fixed2CodingSystem.o \
- GenericEventHandler.o \
- Group.o \
- Hash.o \
- IListBase.o \
- ISO8859InputCodingSystem.o \
- Id.o \
- IdentityCodingSystem.o \
- InputSource.o \
- InternalInputSource.o \
- Link.o \
- LinkProcess.o \
- LiteralStorage.o \
- Location.o \
- Lpd.o \
- Markup.o \
- Message.o \
- MessageArg.o \
- MessageEventHandler.o \
- MessageReporter.o \
- MessageTable.o \
- ModeInfo.o \
- Notation.o \
- NumericCharRefOrigin.o \
- OffsetOrderedList.o \
- OpenElement.o \
- OutputCharStream.o \
- OutputState.o \
- Param.o \
- Parser.o \
- ParserApp.o \
- ParserEventGeneratorKit.o \
- ParserOptions.o \
- ParserState.o \
- Partition.o \
- PosixStorage.o \
- RastEventHandler.o \
- Recognizer.o \
- RewindStorageObject.o \
- SGMLApplication.o \
- SJISCodingSystem.o \
- SOEntityCatalog.o \
- Sd.o \
- SdText.o \
- SearchResultMessageArg.o \
- SgmlParser.o \
- SgmlsEventHandler.o \
- ShortReferenceMap.o \
- StdioStorage.o \
- StorageManager.o \
- StringSet.o \
- StringVectorMessageArg.o \
- Syntax.o \
- Text.o \
- TokenMessageArg.o \
- TranslateInputCodingSystem.o \
- TrieBuilder.o \
- TypeId.o \
- URLStorage.o \
- UTF8CodingSystem.o \
- Undo.o \
- UnicodeCodingSystem.o \
- UnivCharsetDesc.o \
- assert.o \
- nsgmls.o \
- parseAttribute.o \
- parseCommon.o \
- parseDecl.o \
- parseInstance.o \
- parseMode.o \
- parseParam.o \
- parseSd.o \
- splib.o \
- $(GENERATED_OBJS)
- GENERATED_OBJS = \
- app_inst.o \
- arc_inst.o \
- entmgr_inst.o \
- nsgmls_inst.o \
- parser_inst.o \
- xentmgr_inst.o
- EXTRA_OBJS = \
- CopyOwner.o \
- HashTable.o \
- HashTableItemBase.o \
- IQueue.o \
- ISet.o \
- List.o \
- NCVector.o \
- Options.o \
- Owner.o \
- OwnerTable.o \
- ParserMessages.o \
- PointerTable.o \
- Ptr.o \
- RangeMap.o \
- StringOf.o \
- SubstTable.o \
- Vector.o \
- XcharMap.o
- #ifdef HPArchitecture
- SpecialCplusplusObjectRule(Parser,Parser,+T)
- #endif
- SpecialCplusplusObjectRule(app_inst,app_inst,$(CXXTEMPLATEFLAGS))
- SpecialCplusplusObjectRule(arc_inst,arc_inst,$(CXXTEMPLATEFLAGS))
- SpecialCplusplusObjectRule(entmgr_inst,entmgr_inst,$(CXXTEMPLATEFLAGS))
- SpecialCplusplusObjectRule(nsgmls_inst,nsgmls_inst,$(CXXTEMPLATEFLAGS))
- SpecialCplusplusObjectRule(parser_inst,parser_inst,$(CXXTEMPLATEFLAGS))
- SpecialCplusplusObjectRule(xentmgr_inst,xentmgr_inst,$(CXXTEMPLATEFLAGS))
- includes:: $(GENERATED_SRCS)
- NormalCplusplusObjectRule()
- ComplexCplusplusProgramTarget($(PROGRAMS))
- /* make sure the template repository is cleaned */
- clean::
- rm -rf ptrepository
- rm -f $(GENERATED_SRCS)
- /*
- * Required to build .o files from .m4 files on Alpha
- */
- app_inst.C: app_inst.m4
- arc_inst.C: arc_inst.m4
- entmgr_inst.C: entmgr_inst.m4
- nsgmls_inst.C: nsgmls_inst.m4
- parser_inst.C: parser_inst.m4
- xentmgr_inst.C: xentmgr_inst.m4
|