mirror of https://github.com/tongzx/nt5src
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
42 lines
1.0 KiB
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
|
|
MESG_TARGETS = inc\msg00001.bin \
|
|
inc\messages.rc \
|
|
inc\messages.h
|
|
|
|
TEMP_TARGETS = msg00001.bin \
|
|
messages.rc \
|
|
messages.h
|
|
|
|
PUBLISH_TARGETS = \
|
|
$(PRINTSCAN_INC_PATH)\winsrv\data.h \
|
|
$(PRINTSCAN_INC_PATH)\winsrv\offsets.h \
|
|
$(PRINTSCAN_INC_PATH)\winsrv\mtype.h \
|
|
|
|
|
|
all: $(MESG_TARGETS) $(PUBLISH_TARGETS)
|
|
|
|
clean: cleansrc all
|
|
|
|
cleansrc:
|
|
erase $(MESG_TARGETS)
|
|
|
|
$(MESG_TARGETS): inc\messages.mc
|
|
mc -v inc\messages.mc
|
|
copy messages.h inc
|
|
copy msg00001.bin inc
|
|
copy messages.rc inc
|
|
erase $(TEMP_TARGETS)
|
|
|
|
|
|
SPOOLER_ROOT=$(PROJECT_ROOT)\print\spooler
|
|
|
|
$(PRINTSCAN_INC_PATH)\winsrv\data.h: $(SPOOLER_ROOT)\inc\data.h
|
|
$(PUBLISH_CMD) {$?=$@}
|
|
|
|
$(PRINTSCAN_INC_PATH)\winsrv\offsets.h: $(SPOOLER_ROOT)\inc\offsets.h
|
|
$(PUBLISH_CMD) {$?=$@}
|
|
|
|
$(PRINTSCAN_INC_PATH)\winsrv\mtype.h: $(SPOOLER_ROOT)\inc\mtype.h
|
|
$(PUBLISH_CMD) {$?=$@}
|
|
|