Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB

  1. # --------------------------------------------------------------------
  2. #
  3. # Microsoft RPC
  4. # Copyright(c) Microsoft Corp., 1994
  5. #
  6. # --------------------------------------------------------------------
  7. # --------------------------------------------------------------------
  8. #
  9. # File : makefile.
  10. #
  11. # Description :
  12. # For NT this includes the standard NT make stuff, for 16bit
  13. # this makefile builds the ndrlib (v1.0) in subdirectories as needed.
  14. #
  15. # History :
  16. # mikemon 12-21-90 Beginning of recorded history.
  17. # brucemc 05-21-92 Added C7 support and cleaned up.
  18. # mariogo 02-10-04 Mario hates the old build system.
  19. # --------------------------------------------------------------------
  20. !ifdef NTMAKEENV
  21. !include $(NTMAKEENV)\makefile.def
  22. !else
  23. ALL=1
  24. !include rules.mk
  25. !if "$(TRG)" == "ALL"
  26. TARGETDIRS = $(CLIENT_SUBDIRS)
  27. !else
  28. TARGETDIRS = $(TRG)
  29. !endif
  30. all :
  31. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) $(NMAKE_FLAGS) -$(MAKEFLAGS) || exit) && cd ..)
  32. clean :
  33. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) clean || exit ) && cd ..)
  34. clobber :
  35. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) clobber || exit ) && cd ..)
  36. depend :
  37. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) depend || exit ) && cd ..)
  38. tree :
  39. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) tree || exit ) && cd ..)
  40. !endif