Source code of Windows XP (NT5)
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.

83 lines
1.2 KiB

  1. !include $(NTMAKEENV)\makefile.def
  2. !IF 0
  3. Copyright (c) 1997 Microsoft Corporation
  4. Module Name:
  5. makefile
  6. Abstract:
  7. makefile for performance library counter strings
  8. Author:
  9. Bob Watson (bobw) 25 March 1997
  10. Revision History:
  11. 25-Mar-97 bobw
  12. Created
  13. !ifndef LANGUAGE
  14. LANGUAGE=usa
  15. !endif
  16. #
  17. # define this macro to correspond to the language of the files
  18. #
  19. # usa = 009
  20. #
  21. _LANGCODE=009
  22. #
  23. # Inference rules - ini to dat
  24. #
  25. .SUFFIXES : .ini .dat
  26. .ini.dat:
  27. initodat.exe $< $@
  28. #
  29. # build
  30. #
  31. clean:
  32. if exist $(LANGUAGE)\perfc$(_LANGCODE).dat erase $(LANGUAGE)\perfc$(_LANGCODE).dat
  33. if exist $(LANGUAGE)\perfh$(_LANGCODE).dat erase $(LANGUAGE)\perfh$(_LANGCODE).dat
  34. #
  35. # file dependencies
  36. #
  37. all: $(LANGUAGE)\perfc.dat $(LANGUAGE)\perfh.dat
  38. #
  39. # these files are just to make NMAKE happy
  40. #
  41. $(LANGUAGE)\perfc.dat: $(LANGUAGE)\perfc$(_LANGCODE).dat
  42. copy $? $@
  43. binplace $?
  44. erase $@
  45. $(LANGUAGE)\perfh.dat: $(LANGUAGE)\perfh$(_LANGCODE).dat
  46. copy $? $@
  47. binplace $?
  48. erase $@
  49. $(LANGUAGE)\perfc$(_LANGCODE).dat: $(LANGUAGE)\perfc$(_LANGCODE).ini
  50. $(LANGUAGE)\perfh$(_LANGCODE).dat: $(LANGUAGE)\perfh$(_LANGCODE).ini
  51. !ENDIF