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

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