home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somtempl.cfg < prev    next >
Text File  |  1999-02-22  |  6KB  |  173 lines

  1. # @(#) 1.2 src/somc/somapp/somtempl.cfg, somtempl, som2.1 9/22/94 16:41:15 [7/30/96 15:26:43]
  2. #
  3. # This files contains the configuration information for somtempl, the
  4. # SOM Template Application Builder
  5. # Comment lines start with #
  6.  
  7. # This first section is the somtempl defaults section.
  8. # These settings should not be changed.
  9. # User additions may follow this section. See "User-defined symbols" below.
  10. # --------------------------------------------------------------------------
  11. #
  12. aix_name=AIX
  13. cls=defaultClass
  14. export_c=_%sCClassData\n_%sClassData\n_%sNewClass\n
  15. export_pascal=%sCClassData\n%sClassData\n%sNewClass\n
  16. generic_idl=gidl
  17. generic_idl_meta=gidl_meta
  18. generic_idl_parent=gidl_parent
  19. c_header_delete=\t-$(DELETE) %s.h\n
  20. c_header_file=#include "%s.h"\n
  21. cpp_header_delete=\t-$(DELETE) %s.xh\n
  22. cpp_header_file=#include "%s.xh"\n
  23. make_aix=make
  24. make_os2=nmake -f makefile.32
  25. make_w16=nmake -f makefile.w16
  26. meta=SOMClass=somcls
  27. meta_file=#include <%s.idl>\n
  28. meta_name=metaclass = "%s";\n
  29. meta_cls=SOMClass
  30. obj_c_deps=%s.o: %s.ih %s.c\n
  31. obj_cpp_deps=%s.o: %s.xih %s.cpp\n
  32. obj=%s.o
  33. os2_name=OS2
  34. parent=SOMObject=somobj
  35. parent_file=#include <%s.idl>\n
  36. parent_name=%s
  37. parent_cls=SOMObject
  38. sominitbody=    %sNewClass(%s_MajorVersion, %s_MinorVersion);\n
  39. stem=xxxx
  40. title=Generated Application
  41. windows31_16bit_name=W16
  42. # --------------------------------------------------------------------------
  43. #
  44. # User-defined symbols for substitution:
  45. #
  46. # The following section allows for user defined symbols.  These symbols will
  47. # be replaced with the defined value during template file generation.  For
  48. # example, the following symbol, "USERDEFINEDTYPE" will be substituted by the
  49. # value "long" during file generation.  Other user-defined symbols may be
  50. # specified on the command line with the -u option.  If command line symbols
  51. # are the same as in the .cfg file, the command line symbol takes precedence.
  52. # Note: the value of a symbol is a string literal. It will not be formatted
  53. # in any special way like the default values above.
  54. #
  55. USERDEFINEDTYPE=long
  56.  
  57. # --------------------------------------------------------------------------
  58. #
  59. # Templates definitions follow.
  60. #
  61. :gidl|Generic IDL file|templatefile==somtempl.app
  62.     __SOM_STEM__.idl gidl
  63. >
  64. >    Definition for __SOM_CLASS_NAME__ completed.
  65. >    The new class "__SOM_CLASS_NAME__" is defined in "__SOM_STEM__.idl".
  66. >
  67.  
  68. :idl_dll|Basic Class and Makefiles for a SOM Class Library DLL|templatefile==somtempl.app
  69. #
  70. # The files named below will be generated by somtempl, provided there is
  71. # an appropriately named section in the template file, somtempl.app.
  72. # The template section contains the contents of the generated file.
  73. # The default section name for a given file is the appname concatenated with
  74. # the file name. (i.e. <appname>_<filename>) For example, a line below
  75. # that includes the file name:
  76. #   Makefile
  77. # will result in a search of somtempl.app for a section named idl_dll_Makefile.
  78. # (idl_dll is the current app name.) A section name other than the default
  79. # can be specified after the file name. For example, you could specify the
  80. # following line below:
  81. #   Makefile genericMakefile
  82. # and it would result in a search for a section named genericMakefile.
  83. #
  84. #
  85.     Makefile
  86.     makefile.32
  87.     makefile.w16
  88.     __SOM_STEM__.def
  89.     __SOM_STEM__.exp
  90.     __SOM_STEM__.idl gidl
  91.     __SOM_STEM__init.c
  92.     __SOM_STEM__w16.def
  93. # The lines beginning > are lines that are output to the user when the
  94. # application has been generated.
  95. >
  96. >    Application __SOM_CLASS_NAME__ generation completed.
  97. >    The new class "__SOM_CLASS_NAME__" is defined in "__SOM_STEM__.idl".
  98. >
  99. # The >?AIX/OS2/W16 means only print these lines on AIX/OS2/W16 systems.
  100. >?AIX    Please type:
  101. >?AIX        make
  102. >?OS2    Please type:
  103. >?OS2        nmake -f makefile.32
  104. >?W16    Please type:
  105. >?W16        nmake -f makefile.w16
  106. >    to build the __SOM_STEM__.dll.
  107.  
  108. :dsom|Basic SOM/DSOM Application|templatefile=somtempl.app
  109.     README
  110.     Makefile
  111.     makefile.32
  112.     local.bat
  113.     local.cmd
  114.     local.sh
  115.     main.c
  116.     makefile.w16
  117.     __SOM_STEM__.c
  118.     __SOM_STEM__.def
  119.     __SOM_STEM__.exp
  120.     __SOM_STEM__.idl
  121.     __SOM_STEM__cli.def
  122.     __SOM_STEM__init.c idl_dll___SOM_STEM__init.c
  123.     __SOM_STEM__w16.def
  124.     remote.bat
  125.     remote.cmd
  126.     remote.sh
  127.     chk__SOM_STEM__.bat
  128.     chk__SOM_STEM__.cmd
  129.     chk__SOM_STEM__.sh
  130.     som__SOM_STEM__.h
  131.     som__SOM_STEM__.c
  132. # The lines beginning > are lines that are output to the user when the
  133. # application has been generated.
  134. >
  135. >    Application __SOM_CLASS_NAME__ generation completed.
  136. >    The new class "__SOM_CLASS_NAME__" is defined in "__SOM_STEM__.idl".
  137. >    Read the file named README for more information about the files
  138. >    generated.
  139. >
  140. # The >?AIX/OS2/W16 means only print these lines on AIX/OS2/W16 systems.
  141. >?AIX    Please type:
  142. >?AIX        make
  143. >?OS2    Please type:
  144. >?OS2        nmake -f makefile.32
  145. >?W16    Please type:
  146. >?W16        nmake -f makefile.w16
  147. >    to build the application.
  148.  
  149. :dsomsvr|DSOM Server|templatefile=somtempl.app
  150.     Makefile
  151.     makefile.32
  152.     makefile.w16
  153.     __SOM_STEM__svr.c
  154.     __SOM_STEM__svr.def
  155.     chk__SOM_STEM__.sh dsom_chk__SOM_STEM__.sh
  156.     chk__SOM_STEM__.bat dsom_chk__SOM_STEM__.bat
  157.     chk__SOM_STEM__.cmd dsom_chk__SOM_STEM__.cmd
  158. # The lines beginning > are lines that are output to the user when the
  159. # application has been generated.
  160. >
  161. >    DSOM server __SOM_STEM__svr generation completed.
  162. >    This server may be used in place of somdsvr for your object implementations.
  163. >
  164. # The >?AIX/OS2/W16 means only print these lines on AIX/OS2/W16 systems.
  165. >?AIX    Please type:
  166. >?AIX        make
  167. >?OS2    Please type:
  168. >?OS2        nmake -f makefile.32
  169. >?W16    Please type:
  170. >?W16        nmake -f makefile.w16
  171. >    to build the server.
  172.  
  173.