home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / som / somd / cpp / stack / vac.mak < prev   
Encoding:
Makefile  |  1996-02-16  |  2.3 KB  |  83 lines

  1. #
  2. #   COMPONENT_NAME: somx
  3. #
  4. #   ORIGINS: 27
  5. #
  6. #
  7. #   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  8. #   All Rights Reserved
  9. #   Licensed Materials - Property of IBM
  10. #   US Government Users Restricted Rights - Use, duplication or
  11. #   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12.  
  13.  
  14.  
  15.  
  16. # DISCLAIMER OF WARRANTIES.
  17. # The following [enclosed] code is sample code created by IBM
  18. # Corporation. This sample code is not part of any standard or IBM
  19. # product and is provided to you solely for the purpose of assisting
  20. # you in the development of your applications.  The code is provided
  21. # "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
  22. # NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  23. # FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
  24. # THIS CODE.  IBM shall not be liable for any damages arising out of
  25. # your use of the sample code, even if they have been advised of the
  26. # possibility of such damages.
  27. #
  28. # DISTRIBUTION.
  29. # This sample code can be freely distributed, copied, altered, and
  30. # incorporated into other software, provided that it bears the above
  31. # Copyright notice and DISCLAIMER intact.
  32. !include ..\..\..\vacmake.hd
  33.  
  34. INCS = -I$(SOMBASE)\include
  35. INCLS = stack.xh
  36. IDLFILES = stack.idl
  37.  
  38. PRIVCPPFLAGSDLL=/Ms
  39. PRIVCPPFLAGS=/Ms
  40.  
  41. DLLOBJS=stack.od stackini.od nlsutild.od
  42. PRIVLDFLAGSDLL=$(ENTRYFLAG) $(SOMINITOBJ)
  43. PRIVDLLLIBS=gdi32.lib
  44.  
  45.  
  46. all: $(SOMXH_DEPEND) stack.dll somstack.exe som.ir somdimpl
  47.  
  48. stack.def: stack.idl
  49. stack.lib: stack.def $(DLLOBJS)
  50. stack.dll: stack.def $(DLLOBJS) stack.lib
  51. stack.od: stack.xih stack.xh stack.cpp
  52. stackini.od: stackini.cpp
  53.  
  54. somstack.exe: somstack.obj nlsutil.obj stack.lib somstack.res
  55. somstack.obj: $(INCLS) somstack.cpp
  56. somstack.res : somstack.rc somstack.h
  57.  
  58. ### -- Put the IDL descriptions into the Interface Repository.
  59. som.ir: som_ir
  60.  
  61. som_ir: stack.idl
  62.     -$(SC) -sir -u -mnolock $(INCS) *.idl
  63.     echo x > som_ir
  64.  
  65. clnimpl:
  66.     -regimpl -D -i stackServer2
  67.     -del somdimpl
  68.  
  69. ### -- Build the DSOM Implementation Repository.
  70. somdimpl:
  71.     -regimpl -A -i stackServer2
  72.     -regimpl -a -i stackServer2 -c Stack 
  73.     -regimpl -L -i stackServer2
  74.     -regimpl -l -i stackServer2
  75.     @echo x > somdimpl
  76.  
  77. clean: clnimpl
  78.     del som.ir
  79.     del som_ir
  80.     del stack.def
  81.  
  82. !include ..\..\..\vacmake.tl
  83.