darling-libxslt/NMakefileArch
2020-07-02 21:19:02 -04:00

27 lines
1.8 KiB
Plaintext

install:
# ========== libxslt ==========
set PATH=$(PATH);$(PROGRAMFILESAAS)
C:\Perl\bin\perl.exe "$(SRCROOT)\AppleInternal\tools\scripts\auto-version.pl" "$(OBJROOT)\libxslt\obj"
cd "$(SRCROOT)\libxslt\win32"
cscript //nologo configure.js cruntime=/MD prefix="$(OBJROOT)\libxslt" rinclude="$(OBJROOT)\libxslt\obj\include" include="$(SRCROOT)\AppleInternal\include;$(SRCROOT)\AppleInternal\include\CoreFoundation\OSXCompatibilityHeaders\GNUCompatibility" lib="$(SRCROOT)\AppleInternal\lib$(ARCH)"
nmake /f Makefile.msvc
nmake /f Makefile.msvc install
xcopy "$(OBJROOT)\libxslt\bin\lib*" "$(DSTROOT)\$(PROGRAMFILESAAS)" /e/v/i/h/y
xcopy "$(OBJROOT)\libxslt\lib\*.dll" "$(DSTROOT)\$(PROGRAMFILESAAS)" /e/v/i/h/y
xcopy "$(OBJROOT)\libxslt\lib\*.lib" "$(DSTROOT)\AppleInternal\lib$(ARCH)" /e/v/i/h/y
xcopy "$(OBJROOT)\libxslt\include\libexslt" "$(DSTROOT)\AppleInternal\include\libexslt" /e/v/i/h/y
xcopy "$(OBJROOT)\libxslt\include\libxslt" "$(DSTROOT)\AppleInternal\include\libxslt" /e/v/i/h/y
install_DEBUG:
# ========== libxslt ==========
set PATH=$(PATH);$(PROGRAMFILESAAS)
C:\Perl\bin\perl.exe "$(SRCROOT)\AppleInternal\tools\scripts\auto-version.pl" "$(OBJROOT)\libxslt\obj"
cd "$(SRCROOT)\libxslt\win32"
cscript //nologo configure.js debug=1 cruntime=/MDd prefix="$(OBJROOT)\libxslt" rinclude="$(OBJROOT)\libxslt\obj\include" include="$(SRCROOT)\AppleInternal\include;$(SRCROOT)\AppleInternal\include\CoreFoundation\OSXCompatibilityHeaders\GNUCompatibility" lib="$(SRCROOT)\AppleInternal\lib$(ARCH)"
nmake /f Makefile.msvc
nmake /f Makefile.msvc install
xcopy "$(OBJROOT)\libxslt\bin\lib*" "$(DSTROOT)\$(PROGRAMFILESAAS)" /e/v/i/h/y
xcopy "$(OBJROOT)\libxslt\lib\*.dll" "$(DSTROOT)\$(PROGRAMFILESAAS)" /e/v/i/h/y
xcopy "$(OBJROOT)\libxslt\lib\*.lib" "$(DSTROOT)\AppleInternal\lib$(ARCH)" /e/v/i/h/y