-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathNMakefileArch
26 lines (24 loc) · 1.79 KB
/
NMakefileArch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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