home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / pmeister / IODSIMPL.TMA < prev    next >
Text File  |  1997-04-02  |  3KB  |  115 lines

  1. #   File:          MAKEFILE
  2. #
  3. #   Description:   Make file for $partname$
  4. #
  5. #   Written by:    $author$
  6. #
  7. #   Copyright:     (c) $years$ by $company$
  8. #                  - all rights reserved
  9. #
  10. #   Generated by:  $toolname$ $toolversion$
  11.  
  12. # If you wish to add to the existing compile and link flags, you can
  13. # do it with these macros
  14.  
  15. ExtraSOMCompileOptions = -I$publicpath$
  16.  
  17. ExtraCompileOptions = -I$publicpath$ $ExtraCompileOptionsForAIX$
  18.  
  19. ExtraLinkOptions =
  20.  
  21. # ===================================================================
  22. # Subdirectories you want nmake to visit
  23. Subdirs = $lang_subdir$
  24.  
  25. # ===================================================================
  26. # Targets
  27.  
  28. # IdlTargets = List all the idls
  29. # HdrTargets = List all the C++ headers
  30. # MsgTargets = List all the message catalogs
  31. # LibTargets = List all export libraries to be built
  32. # DllTargets = List all shared libraries to be built
  33. #
  34. # The Reg* and File*  macros are used to generate a table of contents
  35. # and an install package
  36.  
  37.  
  38. IdlTargets = $filename$.idl
  39.  
  40. HdrTargets = $filename$.h
  41.  
  42. MsgTargets =
  43.  
  44. LibTargets = $(ODSRC)/lib/$(LibPrefix)$filename$.$(LibSuffix)
  45.  
  46. #
  47. # Note that the DLL is placed into the "runtime" directory
  48. # specified on "settings" page of PartMeister.
  49. #
  50. # Alternatively this could be "$(ODSRC)/$(DllDir)/$filename$.dll"
  51. # which would ignore the "runtime" setting.
  52. #
  53. DllTargets = $runtimepath$/$filename$.dll
  54.  
  55. RegMain=$filename$.dll
  56. RegIDL=$filename$.idl
  57. RegClassName=$partname$
  58. RegKind=$kindnq$
  59. FilesDlls=$filename$.dll $parentfilename$.dll iodutils.dll
  60. FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets)
  61. FilesLibs=$filename$.$(LibSuffix)
  62. FilesCats=$filename$.cat
  63. FilesHelps=$filename$.hlp
  64. FilesStationery=
  65.  
  66.  
  67. # ===================================================================
  68. # Common Inference Rules
  69.  
  70. # Platform.mak contains all the platform specific code to build the
  71. # sample. Check it to verify which compiler the sample is using.
  72.  
  73. include $(ODSRC)/src/Platform.mak
  74.  
  75.  
  76. # ===================================================================
  77. # Rules
  78.  
  79. $filename$ObjList = $filename$.$(Obj)
  80.  
  81. $filename$.$(Obj) : $filename$.cpp $filename$.xih $filename$.h
  82.  
  83. $filename$LibList = \
  84.     X11 \
  85.     Xt \
  86.     Xm \
  87.         somtk \
  88.         odimagng \
  89.         odui \
  90.         odlayout \
  91.         odcore \
  92.         odstorag \
  93.         iodutils \
  94.         $parentfilename$
  95.  
  96.  
  97. $(DllTargets) :  $(ODSRC)/lib/$filename$.$(Exp) \
  98.         $($filename$ObjList)
  99.     @OBJSRCS="$($filename$ObjList)"; \
  100.     LIBSRCS="$($filename$LibList)"; \
  101.     EXPSRC="$(ODSRC)/lib/$filename$.$(Exp)"; \
  102.     $(BuildDll)
  103.  
  104.  
  105. $(ODSRC)/lib/$filename$.$(Def) :  $filename$.$(Def)
  106.     @$(BuildCopy)
  107.  
  108.  
  109. $(ODSRC)/lib/$(LibPrefix)$filename$.$(LibSuffix) : $(ODSRC)/lib/$filename$.$(Def)\
  110.     $($filename$ObjList)
  111.     @EXPSRC="$(ODSRC)/lib/$filename$.$(Exp)"; \
  112.     $(BuildLib)
  113.  
  114. # end of file
  115.