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.

57 lines
1.2 KiB

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