home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_2.iso / windows / program / activex / axtsamp.exe / TSBRANCH.EXE / MAKEFILE < prev    next >
Text File  |  1997-01-05  |  4KB  |  116 lines

  1. #/*+=========================================================================
  2. #  File:       MAKEFILE
  3. #
  4. #  Summary:    Makefile for building all of the ActiveX Tutorial Samples.
  5. #              It assumes that you have set up your environment to compile
  6. #              Win32 applications using the Win32 SDK with Visual C++ v.
  7. #              2.x+ or later or other compatible 32-bit C++ compiler. This
  8. #              makefile assumes that the tutorial code samples reside
  9. #              within the directory structure of an installed Win32 SDK.
  10. #              If you have extracted the sample branch to a location
  11. #              outside the Win32 SDK then use MAKEALL.BAT to compile all
  12. #              all samples in the branch instead of this makefile.
  13. #
  14. #              In general, to set up your system to build and test the
  15. #              Win32 code samples in this Tutorial series, see the
  16. #              global TUTORIAL.HTM file for details.  This MAKEFILE is
  17. #              Microsoft NMAKE compatible and the 'debug' build can be
  18. #              achieved by simply issuing the NMAKE command in a command
  19. #              prompt window.
  20. #
  21. #  Builds:     All ActiveX Tutorial Code Samples in proper order.
  22. #
  23. #  Origin:     1-6-97: atrent - For incorporation into Win32 Platform SDK.
  24. #
  25. #--Usage:-------------------------------------------------------------------
  26. #  NMAKE Options
  27. #
  28. #  Use the table below to determine the additional options for NMAKE to
  29. #  generate various application debugging, profiling and performance tuning
  30. #  information.
  31. #
  32. #  Application Information Type         Invoke NMAKE
  33. #  ----------------------------         ------------
  34. #  For Debugging Info (default)         nmake -a
  35. #  For No Debugging Info                nmake -a nodebug=1
  36. #  For Working Set Tuner Info           nmake -a tune=1
  37. #  For Call Attributed Profiling Info   nmake -a profile=1
  38. #
  39. #  Note: The three options above are mutually exclusive (you may use only
  40. #        one to compile/link the application).
  41. #
  42. #  Note: creating the environment variables NODEBUG, TUNE, and PROFILE
  43. #        is an alternate method to setting these options via the nmake
  44. #        command line.
  45. #
  46. #  Additional NMAKE Options             Invoke NMAKE
  47. #  ----------------------------         ------------
  48. #  For No ANSI NULL Compliance          nmake -a no_ansi=1
  49. #    (ANSI NULL is defined as PVOID 0)
  50. #  To clean up temporary binaries       nmake clean
  51. #  To clean up all generated files      nmake cleanall
  52. #  To register all servers              nmake regall
  53. #  To unregister all servers            nmake unregall
  54. #
  55. #---------------------------------------------------------------------------
  56. #  This file is part of the Microsoft ActiveX Tutorial Code Samples.
  57. #
  58. #  Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  59. #
  60. #  This source code is intended only as a supplement to Microsoft
  61. #  Development Tools and/or on-line documentation.  See these other
  62. #  materials for detailed information regarding Microsoft code samples.
  63. #
  64. #  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  65. #  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  66. #  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  67. #  PARTICULAR PURPOSE.
  68. #=========================================================================+*/
  69.  
  70. DIRLIST  =  apputil  \
  71.             readtut  \
  72.             exeskel  \
  73.             dllskel  \
  74.             dlluser  \
  75.             comobj   \
  76.             comuser  \
  77.             register \
  78.             dllserve \
  79.             dllclien \
  80.             licserve \
  81.             licclien \
  82.             marshal  \
  83.             locserve \
  84.             locclien \
  85.             aptserve \
  86.             aptclien \
  87.             remclien \
  88.             freserve \
  89.             freclien \
  90.             conserve \
  91.             conclien \
  92.             stoserve \
  93.             stoclien
  94.  
  95. # The final target.
  96. all: $(DIRLIST)
  97.  
  98. $(DIRLIST):
  99.         cd $@
  100.         @echo *** ole\com\$@ *** >>$(MSTOOLS)\samples\olecom.tmp
  101.         @nmake -a -i -nologo >>$(MSTOOLS)\samples\olecom.tmp
  102.         cd ..
  103.  
  104. regall:
  105.   call regall.bat
  106.  
  107. unregall:
  108.   call unregall.bat
  109.  
  110. clean:
  111.   call makeall.bat clean
  112.  
  113. cleanall:
  114.   call unregall.bat
  115.   call makeall.bat cleanall
  116.