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

  1. # @(#) 1.17 os2/src/samples/clock/makefile.mak, odclockpart, od96os2, odos29712d 1/22/97 12:04:26 [ 3/21/97 17:41:43 ]
  2. #
  3. #====START_GENERATED_PROLOG======================================
  4. #
  5. #
  6. #   COMPONENT_NAME: odclockpart
  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. ExtraCompileOption =
  36.  
  37. ExtraLinkOptions =
  38.  
  39.  
  40. # ===================================================================
  41. # Targets
  42.  
  43. # IdlTargets = List all the idl other samples will want to see
  44. # HdrTargets = List all the C++ headers other samples will want to see
  45. # LibTargets = List all export libraries to be built
  46. # DllTargets = List all shared libraries to be built
  47. #
  48. # The Reg* and File*  macros are used to generate a table of contents
  49. # and an install package
  50.  
  51.  
  52. IdlTargets = iodclock.idl
  53.  
  54. HdrTargets =
  55.  
  56. LibTargets = $(ODSRC)/lib/iodclock.$(LibSuffix)
  57.  
  58. DllTargets = $(ODSRC)/dll/iodclock.dll
  59.  
  60. RegMain=iodclock.dll
  61. RegIDL=iodclock.idl
  62. RegClassName=Clock
  63. RegKind=Clock
  64. FilesDlls=iodclock.dll iodutils.dll iodshape.dll iodsimpl.dll
  65. FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets)
  66. FilesLibs=iodclock.$(LibSuffix)
  67. FilesCats=
  68. FilesStationery=
  69.  
  70.  
  71. # ===================================================================
  72. # Common Inference Rules
  73.  
  74. # Platform.mak contains all the platform specific code to build the
  75. # sample. Check it to verify which compiler the sample is using.
  76.  
  77. !include $(ODSRC)/src/Platform.mak
  78.  
  79.  
  80. # ===================================================================
  81. # Rules
  82.  
  83. ClockObjList = iodclock.$(Obj)
  84.  
  85.  
  86. iodclock.$(Obj) : iodclock.xih iodclock.cpp
  87.  
  88. ClockLibList = \
  89.         {$(LIB)}iodutils.$(LibSuffix) \
  90.         {$(LIB)}iodshape.$(LibSuffix) \
  91.         {$(LIB)}iodsimpl.$(LibSuffix) \
  92.         {$(LIB)}odimagng.$(LibSuffix) \
  93.         {$(LIB)}odui.$(LibSuffix) \
  94.         {$(LIB)}odlayout.$(LibSuffix) \
  95.         {$(LIB)}odcore.$(LibSuffix) \
  96.         {$(LIB)}odstorag.$(LibSuffix) \
  97.         {$(LIB)}somtk.$(LibSuffix) \
  98. !IF "$(Platform)"=="win32"
  99.         {$(LIB)}msgdll.$(LibSuffix)
  100. !ENDIF
  101.  
  102.  
  103.  
  104. $(ODSRC)/dll/iodclock.dll :  $(ODSRC)/lib/iodclock.$(Exp) \
  105.         $(ClockLibList) \
  106.         $(ClockObjList)
  107.         @$(BuildDll)
  108.  
  109.  
  110. $(ODSRC)/lib/iodclock.$(Def) :  iodclock.$(Def)
  111.         @$(BuildCopy)
  112.  
  113.  
  114. $(ODSRC)/lib/iodclock.$(LibSuffix) : $(ODSRC)/lib/iodclock.$(Def) \
  115.         $(ClockObjList)
  116.         @$(BuildLib)
  117.  
  118. # end of file
  119.