Added vcxproj_files.txt to MXE "make dist"

This commit is contained in:
Clifford Wolf 2014-10-17 16:00:28 +02:00
parent b3a6f8f530
commit e8a609f0e5
1 changed files with 7 additions and 5 deletions

View File

@ -324,12 +324,14 @@ ifeq ($(ENABLE_ABC),1)
endif endif
echo -en 'This is Yosys $(YOSYS_VER) for Win32.\r\n' > yosys-win32-$(YOSYS_VER)/readme.txt echo -en 'This is Yosys $(YOSYS_VER) for Win32.\r\n' > yosys-win32-$(YOSYS_VER)/readme.txt
echo -en 'Documentation at http://www.clifford.at/yosys/.\r\n' >> yosys-win32-$(YOSYS_VER)/readme.txt echo -en 'Documentation at http://www.clifford.at/yosys/.\r\n' >> yosys-win32-$(YOSYS_VER)/readme.txt
find backends frontends kernel libs passes techlibs -name '*.d' | xargs sed -e 's,^[^ ]*:,,; s, ,\n,g; s, *\\,,; s,/[^/]*/\.\./,/,g; s,'"$$PWD/"',,' \
sed -e 's,^[^ ]*:,,; s, ,\n,g; s, *\\,,; s,/[^/]*/\.\./,/,g; s,'"$$PWD/"',,' $(addsuffix .d,$(basename $(OBJS))) \ $(addsuffix .d,$(basename $(OBJS))) | sort -u | grep '^[^/]' > srcfiles.txt
| sort -u | sed '/^[^/]/ ! d; s,$$,\r,;' > srcfiles.txt { egrep '\.(h|hh|hpp|inc)$$' srcfiles.txt | sed 's,.*,<ClInclude Include="../yosys/&" />,'; echo; \
zip yosys-win32-$(YOSYS_VER)/genfiles.zip $(GENFILES) srcfiles.txt egrep -v '\.(h|hh|hpp|inc)$$' srcfiles.txt | sed 's,.*,<ClCompile Include="../yosys/&" />,'; } > vcxproj_files.txt
sed -i 's/$$/\r/' srcfiles.txt vcxproj_files.txt
zip yosys-win32-$(YOSYS_VER)/genfiles.zip $(GENFILES) srcfiles.txt vcxproj_files.txt
zip -r yosys-win32-$(YOSYS_VER).zip yosys-win32-$(YOSYS_VER)/ zip -r yosys-win32-$(YOSYS_VER).zip yosys-win32-$(YOSYS_VER)/
rm -f srcfiles.txt rm -f srcfiles.txt vcxproj_files.txt
endif endif
config-clean: clean config-clean: clean