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.

60 lines
1.3 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. #---------------------------------------------------------------------
  4. target = perfclnt.exe
  5. !ifdef DEBUG
  6. objdir=debug
  7. !else
  8. objdir=retail
  9. !endif
  10. objlist = \
  11. $(objdir)\perfclnt.obj \
  12. $(objdir)\refresh.obj \
  13. $(objdir)\wbemint_i.obj
  14. all: $(objdir)\$(target)
  15. WBEMIDL=e:\pandorang\idl
  16. #---------------------------------------------------------------------
  17. cc = \
  18. "$(MSVC)\BIN\cl" -c -Oi -G3 -D_MT -D_CONSOLE -DWIN32 -Z7 -GX \
  19. -W3 -Di386=1 -D_X86_=1 -I. -I"$(MSVC)\INCLUDE" -I$(WBEMIDL)
  20. link = \
  21. "$(MSVC)\BIN\link" -nodefaultlib -subsystem:console -pdb:none \
  22. -entry:mainCRTStartup -map:$(objdir)\mb.map -debug -debugtype:cv \
  23. -out:$(objdir)\$(target) \
  24. $(objlist) \
  25. shell32.lib \
  26. user32.lib \
  27. libcmt.lib \
  28. kernel32.lib \
  29. gdi32.lib \
  30. advapi32.lib \
  31. oldnames.lib \
  32. uuid.lib \
  33. ole32.lib \
  34. oleaut32.lib \
  35. wsock32.lib \
  36. mpr.lib \
  37. $(WBEMIDL)\objinds\wbemuuid.lib \
  38. $(objdir)\$(target): $(objlist)
  39. $(link)
  40. {.}.cpp{$(objdir)}.obj:
  41. if not exist $(objdir) md $(objdir)
  42. $(cc) $< -Fo$(objdir)\$(<B).obj
  43. {$(WBEMIDL)}.c{$(objdir)}.obj:
  44. if not exist $(objdir) md $(objdir)
  45. $(cc) $< -Fo$(objdir)\$(<B).obj