aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/postbuild.bat
blob: f8859ac4d7a1dc8dc991b821383e809b79d1080d (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@echo off

if %1==debug goto debug
if %1==release goto release
if %1==releasenoopt goto releasenoopt
if %1==releasefordownload goto releasefordownload

echo ** unknown configuration **
goto end

:debug
echo copying debug files
xcopy ..\..\libraries\i686-win32\lib_debug\freebl3.dll			.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\gksvggdiplus.dll		.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\js3250.dll			.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\nspr4.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\nss3.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\nssckbi.dll			.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\plc4.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\plds4.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\smime3.dll			.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\softokn3.dll			.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\ssl3.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\xpcom.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\xul.dll				.\debug\ /y
xcopy ..\..\libraries\i686-win32\lib_debug\openjpegd.dll		.\debug\ /y
rem --- this is required for mozilla debug builds and displays the aborty/retry/ignore dialog on an assert - crashes without it ---
xcopy ..\..\libraries\i686-win32\lib_debug\windbgdlg.exe			.\debug\ /y

rem --- runtime pieces for the bHear stuff.
xcopy .\vivox-runtime\i686-win32\tntk.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\libeay32.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\SLVoice.exe	.\ /y
xcopy .\vivox-runtime\i686-win32\ssleay32.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\SLVoiceAgent.exe	.\ /y
xcopy .\vivox-runtime\i686-win32\srtp.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\alut.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\vivoxsdk.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\ortp.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\wrap_oal.dll	.\ /y

@IF NOT EXIST ..\llkdu\Debug\llkdu.dll (
	@IF EXIST ..\..\libraries\i686-win32\lib_debug\llkdu.dll (
		SET KDU_DLL=..\..\libraries\i686-win32\lib_debug\llkdu.dll
	) ELSE (
		SET KDU_DLL=..\..\libraries\i686-win32\lib_release\llkdu.dll
	)
) ELSE (
	SET KDU_DLL=..\llkdu\Debug\llkdu.dll
)
copy %KDU_DLL%  .\debug\ /y
goto end

:release
echo copying release files
xcopy ..\..\libraries\i686-win32\lib_release\freebl3.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\gksvggdiplus.dll	.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\js3250.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nspr4.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nss3.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nssckbi.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\plc4.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\plds4.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\smime3.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\softokn3.dll		.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\ssl3.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\xpcom.dll			.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\xul.dll				.\Release\ /y
xcopy ..\..\libraries\i686-win32\lib_release\openjpeg.dll		.\Release\ /y

rem --- runtime pieces for the bHear stuff.
xcopy .\vivox-runtime\i686-win32\tntk.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\libeay32.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\SLVoice.exe	.\ /y
xcopy .\vivox-runtime\i686-win32\ssleay32.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\SLVoiceAgent.exe	.\ /y
xcopy .\vivox-runtime\i686-win32\srtp.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\alut.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\vivoxsdk.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\ortp.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\wrap_oal.dll	.\ /y

@IF NOT EXIST ..\llkdu\Release\llkdu.dll (
	xcopy ..\..\libraries\i686-win32\lib_release\llkdu.dll 		.\Release\ /y
) ELSE (
	xcopy ..\llkdu\Release\llkdu.dll .\Release\ /y
)
goto end

:releasenoopt
echo copying releasenoopt files
xcopy ..\..\libraries\i686-win32\lib_release\freebl3.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\gksvggdiplus.dll	.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\js3250.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nspr4.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nss3.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nssckbi.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\plc4.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\plds4.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\smime3.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\softokn3.dll		.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\ssl3.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\xpcom.dll			.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\xul.dll				.\ReleaseNoOpt\ /y
xcopy ..\..\libraries\i686-win32\lib_release\openjpeg.dll		.\ReleaseNoOpt\ /y

rem --- runtime pieces for the bHear stuff.
xcopy .\vivox-runtime\i686-win32\tntk.dll	. /y
xcopy .\vivox-runtime\i686-win32\libeay32.dll	. /y
xcopy .\vivox-runtime\i686-win32\SLVoice.exe	. /y
xcopy .\vivox-runtime\i686-win32\ssleay32.dll	. /y
xcopy .\vivox-runtime\i686-win32\SLVoiceAgent.exe	. /y
xcopy .\vivox-runtime\i686-win32\srtp.dll	. /y
xcopy .\vivox-runtime\i686-win32\alut.dll	. /y
xcopy .\vivox-runtime\i686-win32\vivoxsdk.dll	. /y
xcopy .\vivox-runtime\i686-win32\ortp.dll	. /y
xcopy .\vivox-runtime\i686-win32\wrap_oal.dll	. /y

@IF NOT EXIST ..\llkdu\ReleaseNoOpt\llkdu.dll (
	xcopy ..\..\libraries\i686-win32\lib_release\llkdu.dll		.\ReleaseNoOpt\ /y
) ELSE (
  	xcopy ..\llkdu\ReleaseNoOpt\llkdu.dll .\ReleaseNoOpt\ /y
)
goto end

:releasefordownload
echo copying releasefordownload files
xcopy ..\..\libraries\i686-win32\lib_release\freebl3.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\gksvggdiplus.dll	.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\js3250.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nspr4.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nss3.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\nssckbi.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\plc4.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\plds4.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\smime3.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\softokn3.dll		.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\ssl3.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\xpcom.dll			.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\xul.dll				.\ReleaseForDownload\ /y
xcopy ..\..\libraries\i686-win32\lib_release\openjpeg.dll		.\ReleaseForDownload\ /y
rem --- runtime pieces for the bHear stuff.
xcopy .\vivox-runtime\i686-win32\tntk.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\libeay32.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\SLVoice.exe	.\ /y
xcopy .\vivox-runtime\i686-win32\ssleay32.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\SLVoiceAgent.exe	.\ /y
xcopy .\vivox-runtime\i686-win32\srtp.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\alut.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\vivoxsdk.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\ortp.dll	.\ /y
xcopy .\vivox-runtime\i686-win32\wrap_oal.dll	.\ /y

@IF NOT EXIST ..\llkdu\Release\llkdu.dll (
	xcopy ..\..\libraries\i686-win32\lib_release\llkdu.dll		.\ReleaseForDownload\ /y
) ELSE (
	xcopy ..\llkdu\Release\llkdu.dll .\ReleaseForDownload\ /y
)

goto end
:BuildFailed
echo POSTBUILD FAILED
exit 1
:end
echo POSTBUILD SUCCESSFUL

:end