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.

29 lines
1.1 KiB

  1. !include ..\makefile.inc
  2. !if exist(..\$(TARGET_DIRECTORY).inc)
  3. !include ..\$(TARGET_DIRECTORY).inc
  4. !endif
  5. SERVICES_DIR=$(O)
  6. SERVICES_TAB=$(SERVICES_DIR)\services.tab
  7. SERVICES_STB=..\..\ntos\ke\$(TARGET_DIRECTORY)\services.stb
  8. NTDLL_XTR=$(O)\ntdll.xtr
  9. $(SERVICES_TAB): ..\..\ntos\ke\services.tab
  10. @echo Creating $@ from $**
  11. $(C_PREPROCESSOR) $** > $@
  12. $(O)\usrstubs.obj: \
  13. $(O)\usrstubs.$(ASM_SUFFIX) $(O)\ntdll.def
  14. $(NTDLL_XTR): $(SERVICES_TAB)
  15. gensrv -f $(NTDLL_XTR) -s ..\..\ntos\ke $(SERVICES_DIR)
  16. $(O)\usrstubs.$(ASM_SUFFIX): $(SERVICES_TAB) $(SERVICES_STB)
  17. gensrv -d $(O) -e $(ASM_SUFFIX) $(TARGET_BRACES) -s ..\..\ntos\ke\$(TARGET_DIRECTORY) $(SERVICES_DIR)
  18. $(DLLDEF): ..\ntdlldef.src ..\$(TARGET_DIRECTORY)def.src $(NTDLL_XTR)
  19. copy ..\ntdlldef.src+..\$(TARGET_DIRECTORY)def.src+$(NTDLL_XTR) $(O)\$(TARGETNAME).pp
  20. $(TARGET_CPP) /EP $(CDEFINES) $(O)\$(TARGETNAME).pp > $@
  21. -del $(O)\$(TARGETNAME).pp
  22. ..\ntdll.rc: $(PROJECT_ROOT)\published\$(O)\ntstatus.rc $(PROJECT_ROOT)\published\$(O)\ntstatus_MSG00001.bin