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

  1. # @(#) 1.19.1.16 os2/src/samples/utils/makefile.mak, odutilspart, od96os2, odos29712d 2/11/97 08:59:30 [ 3/21/97 17:39:47 ]
  2. #====START_GENERATED_PROLOG======================================
  3. #
  4. #
  5. #   COMPONENT_NAME: odsutils
  6. #
  7. #   CLASSES: none
  8. #
  9. #   ORIGINS: 27
  10. #
  11. #
  12. #   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. #   All Rights Reserved
  14. #   Licensed Materials - Property of IBM
  15. #   US Government Users Restricted Rights - Use, duplication or
  16. #   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. #
  18. #   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. #   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. #   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. #   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. #   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. #   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. #   OR PERFORMANCE OF THIS SOFTWARE.
  25. #
  26. #====END_GENERATED_PROLOG========================================
  27.  
  28. # If you wish to add to the existing compile and link flags, you can
  29. # do it with these macros
  30.  
  31. ExtraSOMCompileOptions =
  32.  
  33. ExtraCompileOptions =
  34.  
  35. ExtraLinkOptions =
  36.  
  37.  
  38. # ===================================================================
  39. # Subdirectories you want nmake to visit
  40. Subdirs = 
  41.  
  42. # include to define the iodutils macro
  43. !include $(ODSRC)/src/iodduals.mak
  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. # The Reg* and File*  macros are used to generate a table of contents
  55. # and an install package
  56.  
  57.  
  58. IdlTargets = iodlink.idl iodprint.idl iodscrol.idl
  59.  
  60. HdrTargets = AltPoint.h \
  61.     AltPoly.h \
  62.     BArray.h \
  63.     ODExcept.h \
  64.     FlipEnd.h \
  65.     FocusLib.h \
  66.     iodprint.hpp \
  67.     iodscrol.hpp \
  68.     IText.h \
  69.     LineOps.h \
  70.     ODDebug.h \
  71.     ODMath.h \
  72.     ODMemory.h \
  73.     ODMvcLnk.h \
  74.     ODUtils.h \
  75.     StorUtil.h \
  76.     StdTypIO.h \
  77.     TempIter.h \
  78.     TempObj.h \
  79.     TempObj.th \
  80.     TempRef.th \
  81.     WinUtils.h
  82.  
  83. MsgTargets =
  84.  
  85. RcTargets =  iodutils.rc
  86.  
  87. LibTargets = $(ODSRC)/lib/$(iodutils).$(LibSuffix)
  88.  
  89. DllTargets = $(ODSRC)/dll/$(iodutils).dll
  90.  
  91.  
  92. # ===================================================================
  93. # Common Inference Rules
  94.  
  95. # Platform.mak contains all the platform specific code to build the
  96. # sample. Check it to verify which compiler the sample is using.
  97.  
  98. !include $(ODSRC)/src/Platform.mak
  99.  
  100.  
  101. # ===================================================================
  102. # Rules
  103.  
  104. samputilObjList = \
  105.     AltPoint.$(Obj) \
  106.     AltPoly.$(Obj) \
  107.     BArray.$(Obj) \
  108.     ODExcept.$(Obj) \
  109.     FlipEnd.$(Obj) \
  110.     FocusLib.$(Obj) \
  111.     iodlink.$(Obj) \
  112.     iodprint.$(Obj) \
  113.     iodscrol.$(Obj) \
  114.     IText.$(Obj) \
  115.     LineOps.$(Obj) \
  116.     ODMathW.$(Obj) \
  117.     ODDebug.$(Obj) \
  118.     ODUtils.$(Obj) \
  119. !IF "$(Platform)"=="os2"
  120.     qprintf.$(Obj) \
  121. !ENDIF
  122.     StorUtil.$(Obj) \
  123.     StdTypIO.$(Obj) \
  124.     TempIter.$(Obj) \
  125.     TempObj.$(Obj) \
  126.     WinUtils.$(Obj)
  127.  
  128. iodlink.$(Obj) : iodlink.xih
  129.  
  130. iodprint.$(Obj) : iodprint.xih iodprint.hpp
  131.  
  132. iodscrol.$(Obj) : iodscrol.xih iodscrol.hpp
  133.  
  134.  
  135. samputilLibList = \
  136. !IF "$(Platform)"=="win32"
  137.     {$(LIB)}msgdll.$(LibSuffix) \
  138.     {$(LIB)}COMDLG32.$(LibSuffix) \
  139. !ENDIF
  140. !IF "$(Platform)"=="os2"
  141.     {$(LIB)}oddataX.$(LibSuffix) \
  142. !ENDIF
  143.     {$(LIB)}odcore.$(LibSuffix) \
  144.     {$(LIB)}odimagng.$(LibSuffix) \
  145.     {$(LIB)}odlayout.$(LibSuffix) \
  146.     {$(LIB)}odstorag.$(LibSuffix) \
  147.     {$(LIB)}odui.$(LibSuffix) \
  148.     {$(LIB)}odmsgcat.$(LibSuffix) \
  149.     {$(LIB)}somtk.$(LibSuffix)
  150.  
  151.  
  152.  
  153. $(ODSRC)/dll/$(iodutils).dll :  $(ODSRC)/lib/$(iodutils).$(Exp) \
  154.     $(samputilObjList) \
  155.     $(samputilLibList)
  156.     @$(BuildDllWithRes) "RecFile=IODUtils.res" BuildDllRule
  157.  
  158.  
  159. $(ODSRC)/lib/$(iodutils).$(Def) :  $(samputilObjList)
  160.     @$(BuildDef)
  161.  
  162.  
  163. $(ODSRC)/lib/$(iodutils).$(LibSuffix) : \
  164. !IFDEF CPPMAIN
  165.     $(ODSRC)/lib/$(iodutils).$(Def) \
  166. !ENDIF
  167.     $(samputilObjList)
  168.     @$(BuildLib)
  169.  
  170. # end of file
  171.