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.

55 lines
1.3 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # > NMAKE -f pathtest.mak
  4. # Uses DEFDRIVE and DEFDIR macros
  5. #
  6. #---------------------------------------------------------------------
  7. target = pathtest.exe
  8. !ifdef DEBUG
  9. objdir=debug
  10. !else
  11. objdir=retail
  12. !endif
  13. objlist = \
  14. $(objdir)\objpath.obj \
  15. $(objdir)\genlex.obj \
  16. $(objdir)\opathlex.obj \
  17. #---------------------------------------------------------------------
  18. cc = \
  19. cl -c -Od -G3 -D_MT -D_CONSOLE -DWIN32 -Zi -DTEST -GX \
  20. -W3 -Di386=1 -D_X86_=1 -I. \
  21. -I$(DEFDRIVE)$(DEFDIR)\tools\inc32.com \
  22. -I$(DEFDRIVE)$(DEFDIR)\tools\nt5inc
  23. !ifdef DBGALLOC
  24. cc = $(cc) /DDBGALLOC
  25. !endif
  26. link = \
  27. link -nodefaultlib -subsystem:console -pdb:none \
  28. -entry:mainCRTStartup -map:$(objdir)\pathtest.map -debug -debugtype:both \
  29. -out:$(objdir)\$(target) -libpath:$(DEFDRIVE)$(DEFDIR)\tools\lib32 \
  30. -libpath:$(DEFDRIVE)$(DEFDIR)\tools\nt5lib \
  31. $(objlist) \
  32. shell32.lib \
  33. user32.lib \
  34. kernel32.lib \
  35. gdi32.lib \
  36. libcmt.lib \
  37. advapi32.lib \
  38. oleaut32.lib \
  39. ole32.lib \
  40. $(objdir)\$(target): $(objlist)
  41. $(link)
  42. {.}.cpp{$(objdir)}.obj:
  43. if not exist $(objdir) md $(objdir)
  44. $(cc) $< -Fo$(objdir)\$(<B).obj