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

  1. # @(#) 1.8.2.26 os2/src/samples/basecntr/makefile.mak, odbasepart, od96os2, odos29712d 3/13/97 21:16:02 [ 3/21/97 17:41:21 ]
  2. #
  3. #====START_GENERATED_PROLOG======================================
  4. #
  5. #
  6. #   COMPONENT_NAME: odbasecntr
  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 = -DEMIT_CONTOBJ
  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. # LibTargets = List all export libraries to be built
  54. # DllTargets = List all shared libraries to be built
  55. #
  56. # The Reg* and File*  macros are used to generate a table of contents
  57. # and an install package
  58.  
  59. IdlTargets = iodbasec.idl\
  60. iodbcitr.idl\
  61. iodbcutl.idl\
  62. iodbcobj.idl\
  63. iodbcset.idl
  64.  
  65. RcTargets = iodbasec.rc
  66.  
  67. HdrTargets = bcmain.h 
  68.  
  69. LibTargets = $(ODSRC)/lib/iodbasec.$(LibSuffix)
  70.  
  71. DllTargets = $(ODSRC)/dll/iodbasec.dll
  72.  
  73. RegMain=iodbasec.dll
  74. RegIDL=iodbasec.idl
  75. RegClassName=BaseContainer
  76. RegKind=IBM:BaseContainer:PartKind
  77. FilesDlls=iodbasec.dll $(iodutils).dll
  78. FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets) iodbasec.h
  79. FilesLibs=iodbasec.$(LibSuffix)
  80. FilesCats=iodbasec.cat
  81. FilesHelps=iodbasec.hlp
  82. FilesStationery=
  83.  
  84.  
  85. # ===================================================================
  86. # Common Inference Rules
  87.  
  88. # Platform.mak contains all the platform specific code to build the
  89. # sample. Check it to verify which compiler the sample is using.
  90.  
  91. !include $(ODSRC)/src/Platform.mak
  92.  
  93.  
  94. # ===================================================================
  95. # Rules
  96.  
  97. bcpartObjList = iodbasec.$(Obj) iodbcitr.$(Obj) iodbcutl.$(Obj) bcevent.$(Obj) iodbcobj.$(Obj) iodbcset.$(Obj)
  98.  
  99. iodbasec.$(Obj) : iodbasec.xih bcxfer.cpp iodbcvwt.cpp
  100.  
  101. iodbcitr.$(Obj) : iodbcitr.xih
  102.  
  103. iodbcutl.$(Obj) : iodbcutl.xih
  104.  
  105. bcevent.$(Obj) : iodbasec.xih
  106.  
  107. iodbcobj.$(Obj) : iodbcobj.xih
  108.  
  109. iodbcset.$(Obj) : iodbcset.xih
  110.  
  111. bcpartLibList = \
  112. !IF "$(Platform)"=="win32"
  113.         {$(LIB)}COMDLG32.$(LibSuffix) \
  114.     {$(LIB)}msgdll.$(LibSuffix) \
  115.         {$(LIB)}comdlg32.lib \
  116.         {$(LIB)}comctl32.lib \
  117. !ENDIF
  118.     {$(LIB)}somtk.$(LibSuffix) \
  119.     {$(LIB)}$(iodutils).$(LibSuffix) \
  120.     {$(LIB)}odbento.$(LibSuffix)  \
  121.     {$(LIB)}odbindng.$(LibSuffix) \
  122.     {$(LIB)}odcm.$(LibSuffix)     \
  123.     {$(LIB)}odcore.$(LibSuffix)   \
  124.     {$(LIB)}oddatax.$(LibSuffix)  \
  125.     {$(LIB)}odimagng.$(LibSuffix) \
  126.     {$(LIB)}odlayout.$(LibSuffix) \
  127.     {$(LIB)}odstorag.$(LibSuffix) \
  128.     {$(LIB)}odui.$(LibSuffix)     \
  129.     {$(LIB)}odregsty.$(LibSuffix) \
  130.     {$(LIB)}odmsgcat.$(LibSuffix) 
  131.  
  132.  
  133.  
  134. $(ODSRC)/dll/iodbasec.dll :  $(ODSRC)/lib/iodbasec.$(Exp) \
  135.     $(bcpartLibList) \
  136.     $(bcpartObjList)
  137.     @$(BuildDllWithRes) "RecFile=iodbasec.res" BuildDllRule
  138.  
  139.  
  140. $(ODSRC)/lib/iodbasec.$(Def) :  iodbasec.$(Def)
  141.     @$(BuildCopy)
  142.  
  143.  
  144. $(ODSRC)/lib/iodbasec.$(LibSuffix) : \
  145. !IFDEF CPPMAIN
  146.     $(ODSRC)/lib/iodbasec.$(Def) \
  147. !ENDIF
  148.     $(bcpartObjList)
  149.     @$(BuildLib)
  150.  
  151. # end of file
  152.