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.5 KiB

  1. !INCLUDE $(NTMAKEENV)\makefile.plt
  2. !if "$(WOW64_DEBUG_THUNKGEN)" == "1"
  3. GENTHNK_FLAGS=-d -w
  4. !else
  5. GENTHNK_FLAGS=-w
  6. !endif
  7. PPMFILE=..\cgen\$(O)\winincs.ppm
  8. NT32HDR=..\cgen\$(O)\nt32.h
  9. WHLOGGENDIR=..\wow64log\$(O)
  10. WHNT32TAB=$(O)\whnt32.tab
  11. WHNT32C=$(O)\whnt32.c
  12. WHNT32LOGC=$(WHLOGGENDIR)\whnt32.c
  13. $(WHNT32C): $(PPMFILE) \
  14. $(BASE_INC_PATH)\apithunk.tpl \
  15. $(BASE_INC_PATH)\genmacro.tpl \
  16. $(BASE_INC_PATH)\gentypes.tpl \
  17. whnt32.tpl \
  18. whnt32t.tpl \
  19. $(WHNT32TAB)
  20. genthnk.exe $(GENTHNK_FLAGS) \
  21. -m$(PPMFILE) \
  22. -t$(BASE_INC_PATH)\apithunk.tpl \
  23. -t$(BASE_INC_PATH)\genmacro.tpl \
  24. -t$(BASE_INC_PATH)\gentypes.tpl \
  25. -twhnt32.tpl \
  26. -twhnt32t.tpl \
  27. -c$(WHNT32C):whnt32 \
  28. -s$(WHNT32TAB):Nt
  29. $(WHNT32LOGC): $(PPMFILE) \
  30. $(BASE_INC_PATH)\apithunk.tpl \
  31. $(BASE_INC_PATH)\genmacro.tpl \
  32. $(BASE_INC_PATH)\thunklog.tpl \
  33. $(WHNT32TAB)
  34. -mkdir $(WHLOGGENDIR)
  35. genthnk.exe $(GENTHNK_FLAGS) \
  36. -m$(PPMFILE) \
  37. -t$(BASE_INC_PATH)\apithunk.tpl \
  38. -t$(BASE_INC_PATH)\genmacro.tpl \
  39. -t$(BASE_INC_PATH)\thunklog.tpl \
  40. -c$(WHNT32LOGC):whnt32log \
  41. -s$(WHNT32TAB):Nt
  42. thunks: $(WHNT32NC) $(WHNT32LOGC)
  43. cleanfiles:
  44. -del $(WHNT32C)
  45. -del $(WHNT32LOGC)
  46. clean: cleanfiles thunks