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.

64 lines
1.8 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. WHBASETAB=..\..\win32\client\wow6432\services.tab
  11. WHBASEC=$(O)\whbase.c
  12. WHBASELOGC=$(WHLOGGENDIR)\whbase.c
  13. WHBASEERRC=$(O)\whbaseerr.c
  14. $(WHBASEC): $(PPMFILE) \
  15. $(BASE_INC_PATH)\apithunk.tpl \
  16. $(BASE_INC_PATH)\genmacro.tpl \
  17. $(BASE_INC_PATH)\gentypes.tpl \
  18. whbase.tpl \
  19. $(WHBASETAB)
  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. -twhbase.tpl \
  26. -c$(WHBASEC):whbase \
  27. -s$(WHBASETAB)
  28. $(WHBASEERRC): $(PPMFILE) \
  29. whbaseerr.tpl \
  30. $(WHBASETAB)
  31. genthnk.exe $(GENTHNK_FLAGS) \
  32. -m$(PPMFILE) \
  33. -twhbaseerr.tpl \
  34. -c$(WHBASEERRC):whbase \
  35. -s$(WHBASETAB)
  36. $(WHBASELOGC): $(PPMFILE) \
  37. $(BASE_INC_PATH)\apithunk.tpl \
  38. $(BASE_INC_PATH)\genmacro.tpl \
  39. $(BASE_INC_PATH)\thunklog.tpl \
  40. $(WHBASETAB)
  41. -mkdir $(WHLOGGENDIR)
  42. genthnk.exe $(GENTHNK_FLAGS) \
  43. -m$(PPMFILE) \
  44. -t$(BASE_INC_PATH)\apithunk.tpl \
  45. -t$(BASE_INC_PATH)\genmacro.tpl \
  46. -t$(BASE_INC_PATH)\thunklog.tpl \
  47. -c$(WHBASELOGC):whbaselog \
  48. -s$(WHBASETAB)
  49. thunks: $(WHBASEC) $(WHBASEERRC) $(WHBASELOGC)
  50. cleanfiles:
  51. -del $(WHBASEC)
  52. -del $(WHBASEERRC)
  53. -del $(WHBASELOGC)
  54. clean: cleanfiles thunks