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

  1. #====START_GENERATED_PROLOG======================================
  2. #
  3. #
  4. #   COMPONENT_NAME: odsamples
  5. #
  6. #   CLASSES: none
  7. #
  8. #   ORIGINS: 27
  9. #
  10. #
  11. #   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  12. #   All Rights Reserved
  13. #   Licensed Materials - Property of IBM
  14. #   US Government Users Restricted Rights - Use, duplication or
  15. #   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  16. #
  17. #   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. #   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. #   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  20. #   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  21. #   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  22. #   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  23. #   OR PERFORMANCE OF THIS SOFTWARE.
  24. #
  25. #====END_GENERATED_PROLOG========================================
  26. #
  27. # @(#) 1.19 os2/src/samples/dynamicp/makefile.mak, oddynamicpart, od96os2, odos29712d 1/22/97 12:04:29 [3/21/97 17:44:56]
  28.  
  29. # If you wish to add to the existing compile and link flags, you can
  30. # do it with these macros
  31.  
  32. ExtraSOMCompileOptions =
  33.  
  34. ExtraCompileOptions =
  35.  
  36. ExtraLinkOptions =
  37.  
  38.  
  39. # ===================================================================
  40. # Targets
  41.  
  42. # IdlTargets = List all the idls
  43. # HdrTargets = List all the C++ headers
  44. # LibTargets = List all export libraries to be built
  45. # DllTargets = List all shared libraries to be built
  46. #
  47. # The Reg* and File*  macros are used to generate a table of contents
  48. # and an install package
  49.  
  50.  
  51. IdlTargets = ioddynam.idl ioddyext.idl
  52.  
  53. RcTargets =  ioddynam.rc
  54.  
  55. HdrTargets =
  56.  
  57. LibTargets = $(ODSRC)/lib/ioddynam.$(LibSuffix)
  58.  
  59. DllTargets = $(ODSRC)/dll/ioddynam.dll
  60.  
  61. RegMain=ioddynam.dll
  62. RegIDL=ioddynam.idl ioddyext.idl
  63. RegClassName=DynamicPart
  64. RegKind=DynamicPart
  65. FilesDlls=ioddynam.dll iodutils.dll iodsimpl.dll
  66. FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets)
  67. FilesLibs=ioddynam.$(LibSuffix)
  68. FilesCats=
  69. FilesTypeLibs=ioddynam.tlb
  70. FilesStationery=
  71.  
  72. # Add script event handler registration information
  73. CtypelibIDL=ioddynam.idl
  74. CtypelibDir=$(ODSRC)/src/dynamicp
  75. CtypelibCmdLineArgsFile=ioddynam.cin
  76.  
  77. # ===================================================================
  78. # Common Inference Rules
  79.  
  80. # Platform.mak contains all the platform specific code to build the
  81. # sample. Check it to verify which compiler the sample is using.
  82.  
  83. !include $(ODSRC)/src/Platform.mak
  84.  
  85.  
  86. # ===================================================================
  87. # Rules
  88.  
  89. dynamicpObjList = ioddynam.$(Obj) ioddyext.$(Obj)
  90.  
  91. ioddynam.$(Obj) : ioddynam.xih ioddynam.cpp
  92. !IF "$(Platform)"=="win32"
  93. myfocus.$(Obj) : myfocus.cpp myfocus.h
  94. !ENDIF
  95.  
  96. ioddyext.$(Obj) : ioddyext.xih ioddyext.cpp
  97.  
  98. dynamicpLibList = \
  99. !IF "$(Platform)"=="win32"
  100.         {$(LIB)}COMDLG32.$(LibSuffix)  \
  101.         {$(LIB)}msgdll.$(LibSuffix) \
  102.         myfocus.$(Obj) \
  103. !ENDIF
  104.         {$(LIB)}somtk.$(LibSuffix) \
  105.         {$(LIB)}iodsimpl.$(LibSuffix) \
  106.         {$(LIB)}iodutils.$(LibSuffix) \
  107.         {$(LIB)}odcore.$(LibSuffix) \
  108.         {$(LIB)}odimagng.$(LibSuffix) \
  109.         {$(LIB)}odlayout.$(LibSuffix) \
  110.         {$(LIB)}odui.$(LibSuffix) \
  111.         {$(LIB)}odstorag.$(LibSuffix) \
  112.         {$(LIB)}oddsevnt.$(LibSuffix) \
  113.         {$(LIB)}oddatax.$(LibSuffix) \
  114.         {$(LIB)}oddsscr.$(LibSuffix)
  115.  
  116. $(ODSRC)/dll/ioddynam.dll :  $(ODSRC)/lib/ioddynam.$(Exp) \
  117.         $(dynamicpLibList) \
  118.         $(dynamicpObjList)
  119.         @$(BuildDllWithRes) "RecFile=ioddynam.res" BuildDllRule
  120. !IF "$(Platform)"=="win32"
  121.    $(COPY) ioddynam.bmp $(@D:/=\)
  122. !ENDIF
  123.  
  124.  
  125. $(ODSRC)/lib/ioddynam.$(Def) :  ioddynam.$(Def)
  126.         @$(BuildCopy)
  127.  
  128.  
  129. $(ODSRC)/lib/ioddynam.$(LibSuffix) : \
  130. !IFDEF CPPMAIN
  131. $(ODSRC)/lib/ioddynam.$(Def) \
  132. !ENDIF
  133.         $(dynamicpObjList)
  134.         @$(BuildLib)
  135.  
  136. MakeCPP: $(IdlTargets)
  137.         @setlocal
  138.         @set SMNOTC=
  139.         sc -sxc $(SOPTS) $**
  140.         @endlocal
  141.  
  142. MakeDEF: $(IdlTargets)
  143.         @setlocal
  144.         @set SMNOTC=
  145.         @set SMINCLUDE=
  146.         sc -sdef $(SOPTS) $**
  147.         @endlocal
  148.  
  149. # end of file
  150.