home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osp1.exe / src / shape / makefile < prev    next >
Makefile  |  1997-04-02  |  4KB  |  129 lines

  1. #====START_GENERATED_PROLOG======================================
  2. #
  3. #
  4. #   COMPONENT_NAME: odshapepart
  5. #
  6. #   CLASSES: none
  7. #
  8. #   ORIGINS: 82,27
  9. #
  10. #
  11. #   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  12. #   All Rights Reserved
  13. #   Licensed Materials - Property of IBM
  14. #   US Government Users Restricted Rights - Use, duplication or
  15. #   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  16. #       
  17. #   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. #   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. #   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  20. #   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  21. #   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  22. #   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  23. #   OR PERFORMANCE OF THIS SOFTWARE.
  24. #
  25. #====END_GENERATED_PROLOG========================================
  26. #
  27. # @(#) 1.16 os2/src/samples/shape/makefile.mak, odshapepart, od96os2, odos29712d 2/13/97 14:25:39 [ 3/21/97 17:44:32 ]
  28. #
  29.  
  30. # If you wish to add to the existing compile and link flags, you can
  31. # do it with these macros
  32.  
  33. ExtraSOMCompileOptions =
  34.  
  35. ExtraCompileOptions =
  36.  
  37. ExtraLinkOptions =
  38.  
  39.  
  40. # ===================================================================
  41. # Subdirectories you want nmake to visit
  42. Subdirs = en_US
  43.  
  44.  
  45. # ===================================================================
  46. # Targets
  47.  
  48. # IdlTargets = List all the idls
  49. # HdrTargets = List all the C++ headers
  50. # MsgTargets = List all the message catalogs
  51. # LibTargets = List all export libraries to be built
  52. # DllTargets = List all shared libraries to be built
  53.  
  54.  
  55. IdlTargets = iodshape.idl
  56.  
  57. RcTargets  = iodshape.rc
  58.  
  59. HdrTargets = iodshape.h
  60.  
  61. MsgTargets =
  62.  
  63. LibTargets = $(ODSRC)/lib/iodshape.$(LibSuffix)
  64.  
  65. DllTargets = $(ODSRC)/dll/iodshape.dll
  66.  
  67. RegMain=iodshape.dll
  68. RegIDL=iodshape.idl
  69. RegClassName=ShapePart
  70. RegKind=ShapePart
  71. FilesDlls=iodshape.dll iodutils.dll iodsimpl.dll
  72. FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets)
  73. FilesLibs=iodshape.$(LibSuffix)
  74. FilesCats=iodshpe.cat
  75. FilesHelps=iodshape.hlp
  76. FilesStationery=
  77.  
  78.  
  79. # ===================================================================
  80. # Common Inference Rules
  81.  
  82. # Platform.mak contains all the platform specific code to build the
  83. # sample. Check it to verify which compiler the sample is using.
  84.  
  85. !include $(ODSRC)/src/Platform.mak
  86.  
  87.  
  88. # ===================================================================
  89. # Rules
  90.  
  91. shapeprtObjList = iodshape.$(Obj)
  92.  
  93. iodshape.$(Obj) : iodshape.cpp iodshape.xih iodshape.h
  94.  
  95.  
  96. shapeprtLibList = \
  97. !IF "$(Platform)"=="win32"
  98.         {$(LIB)}COMDLG32.$(LibSuffix)  \
  99.     {$(LIB)}msgdll.$(LibSuffix) \
  100. !ENDIF
  101.        {$(LIB)}iodsimpl.$(LibSuffix) \
  102.     {$(LIB)}somtk.$(LibSuffix) \
  103.     {$(LIB)}iodutils.$(LibSuffix) \
  104.     {$(LIB)}odimagng.$(LibSuffix) \
  105.     {$(LIB)}odui.$(LibSuffix) \
  106.     {$(LIB)}odlayout.$(LibSuffix) \
  107.     {$(LIB)}odcore.$(LibSuffix) \
  108.     {$(LIB)}odmsgcat.$(LibSuffix) \
  109.     {$(LIB)}odstorag.$(LibSuffix)
  110.  
  111.  
  112. $(ODSRC)/dll/iodshape.dll :  $(ODSRC)/lib/iodshape.$(Exp) \
  113.     $(shapeprtLibList) \
  114.     $(shapeprtObjList)
  115.     @$(BuildDllWithRes) "RecFile=iodshape.res" BuildDllRule
  116.  
  117. $(ODSRC)/lib/iodshape.$(Def) :  iodshape.$(Def)
  118.     @$(BuildCopy)
  119.  
  120.  
  121. $(ODSRC)/lib/iodshape.$(LibSuffix) : \
  122. !IFDEF CPPMAIN
  123.     $(ODSRC)/lib/iodshape.$(Def) \
  124. !ENDIF
  125.     $(shapeprtObjList)
  126.     @$(BuildLib)
  127.  
  128. # end of file
  129.