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

  1. # @(#) 1.7.1.3 os2/src/samples/linkcntr/makefile.mak, odlinkpart, od96os2, odos29712d 1/22/97 12:01:03 [ 3/21/97 17:44:55 ]
  2. #
  3. #====START_GENERATED_PROLOG======================================
  4. #
  5. #
  6. #   COMPONENT_NAME: odlinkcntr
  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 de_DE es_ES fr_FR ja_JP pt_BR zh_CN zh_TW
  43.  
  44.  
  45. # ===================================================================
  46. # Targets
  47.  
  48. # IdlTargets = List all the idl other samples will want to see
  49. # HdrTargets = List all the C++ headers other samples will want to see
  50. # LibTargets = List all export libraries to be built
  51. # DllTargets = List all shared libraries to be built
  52.  
  53.  
  54. IdlTargets = iodlinkc.idl
  55.  
  56. HdrTargets =
  57.  
  58. LibTargets = $(ODSRC)/lib/iodlinkc.$(LibSuffix)
  59.  
  60. DllTargets = $(ODSRC)/dll/iodlinkc.dll
  61.  
  62. RegMain=iodlinkc.dll
  63. RegIDL=iodlinkc.idl
  64. RegClassName=LinkContainer
  65. RegKind=LinkContainer
  66. FilesDlls=iodlinkc.dll iodutils.dll iodbasec.dll
  67. FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets)
  68. FilesLibs=iodlinkc.$(LibSuffix)
  69. FilesCats=
  70. FilesStationery=
  71.  
  72.  
  73. # ===================================================================
  74. # Common Inference Rules
  75.  
  76. # Platform.mak contains all the platform specific code to build the
  77. # sample. Check it to verify which compiler the sample is using.
  78.  
  79. !include $(ODSRC)/src/Platform.mak
  80.  
  81.  
  82. # ===================================================================
  83. # Rules
  84.  
  85. linkcntrObjList = iodlinkc.$(Obj)
  86.  
  87. iodlinkc.$(Obj) : iodlinkc.xih iodlinkc.cpp
  88.  
  89. linkcntrLibList = \
  90. !IF "$(Platform)"=="win32"
  91.         {$(LIB)}COMDLG32.$(LibSuffix)  \
  92.         {$(LIB)}msgdll.$(LibSuffix)   \
  93. !ENDIF
  94.         {$(LIB)}somtk.$(LibSuffix)  \
  95.         {$(LIB)}iodutils.$(LibSuffix) \
  96.         {$(LIB)}iodbasec.$(LibSuffix) \
  97.         {$(LIB)}odbento.$(LibSuffix)  \
  98.         {$(LIB)}odbindng.$(LibSuffix) \
  99.         {$(LIB)}odcm.$(LibSuffix)     \
  100.         {$(LIB)}odcore.$(LibSuffix)   \
  101.         {$(LIB)}oddatax.$(LibSuffix)  \
  102.         {$(LIB)}odimagng.$(LibSuffix) \
  103.         {$(LIB)}odlayout.$(LibSuffix) \
  104.         {$(LIB)}odmsgcat.$(LibSuffix) \
  105.         {$(LIB)}odstorag.$(LibSuffix) \
  106.         {$(LIB)}odui.$(LibSuffix)     \
  107.         {$(LIB)}odregsty.$(LibSuffix)
  108.  
  109.  
  110.  
  111. $(ODSRC)/dll/iodlinkc.dll :  $(ODSRC)/lib/iodlinkc.$(Exp) \
  112.         $(linkcntrLibList) \
  113.         $(linkcntrObjList)
  114.         @$(BuildDll)
  115.  
  116.  
  117. $(ODSRC)/lib/iodlinkc.$(Def) :  iodlinkc.$(Def)
  118.         @$(BuildCopy)
  119.  
  120.  
  121. $(ODSRC)/lib/iodlinkc.$(LibSuffix) : \
  122. !IFDEF CPPMAIN
  123.     $(ODSRC)/lib/iodlinkc.$(Def) \
  124. !ENDIF
  125.         $(linkcntrObjList)
  126.         @$(BuildLib)
  127.  
  128.  
  129. # end of file
  130.