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.

42 lines
1.0 KiB

  1. !INCLUDE $(NTMAKEENV)\makefile.plt
  2. MESG_TARGETS = inc\msg00001.bin \
  3. inc\messages.rc \
  4. inc\messages.h
  5. TEMP_TARGETS = msg00001.bin \
  6. messages.rc \
  7. messages.h
  8. PUBLISH_TARGETS = \
  9. $(PRINTSCAN_INC_PATH)\winsrv\data.h \
  10. $(PRINTSCAN_INC_PATH)\winsrv\offsets.h \
  11. $(PRINTSCAN_INC_PATH)\winsrv\mtype.h \
  12. all: $(MESG_TARGETS) $(PUBLISH_TARGETS)
  13. clean: cleansrc all
  14. cleansrc:
  15. erase $(MESG_TARGETS)
  16. $(MESG_TARGETS): inc\messages.mc
  17. mc -v inc\messages.mc
  18. copy messages.h inc
  19. copy msg00001.bin inc
  20. copy messages.rc inc
  21. erase $(TEMP_TARGETS)
  22. SPOOLER_ROOT=$(PROJECT_ROOT)\print\spooler
  23. $(PRINTSCAN_INC_PATH)\winsrv\data.h: $(SPOOLER_ROOT)\inc\data.h
  24. $(PUBLISH_CMD) {$?=$@}
  25. $(PRINTSCAN_INC_PATH)\winsrv\offsets.h: $(SPOOLER_ROOT)\inc\offsets.h
  26. $(PUBLISH_CMD) {$?=$@}
  27. $(PRINTSCAN_INC_PATH)\winsrv\mtype.h: $(SPOOLER_ROOT)\inc\mtype.h
  28. $(PUBLISH_CMD) {$?=$@}