windows-nt/Source/XPSP1/NT/multimedia/directx/inc/makefile.inc
2020-09-26 16:20:57 +08:00

17 lines
450 B
PHP

$(O)\ntverp.h: $(O)\ntverp.sed
sed -f $(O)\ntverp.sed $(BASEDIR)\public\sdk\inc\ntverp.h > $@
attrib -r $(BASEDIR)\public\sdk\inc\ntverp.h
copy $@ $(BASEDIR)\public\sdk\inc\ntverp.h
attrib +r $(BASEDIR)\public\sdk\inc\ntverp.h
$(O)\ntverp.sed: verinfo.h
type <<$@
/^#define VER_PRODUCTBUILD_QFE.*/c\
<<keep
type <<$(O)\verinfo.sed
/#define BUILD_NUMBER /!d
s/BUILD_NUMBER/VER_PRODUCTBUILD_QFE/
<<keep
sed -f $(O)\verinfo.sed verinfo.h >> $@