summaryrefslogtreecommitdiff
path: root/iup/src/make_uname.bat
blob: 1a79780d8228f6e59c205d202eb40e97d1fd831d (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
@echo off
REM This builds all the libraries of the folder for 1 uname

call tecmake %1 %2 %3 %4 %5 %6
call tecmake %1 "USE_GTK=Yes" %2 %3 %4 %5 %6

if "%1"=="dll" goto stub_dll
if "%1"=="dll7" goto stub_dll7
if "%1"=="dll8" goto stub_dll8
if "%1"=="dll8_64" goto stub_dll8_64
if "%1"=="dll9" goto stub_dll9
if "%1"=="dll9_64" goto stub_dll9_64
if "%1"=="all" goto all_dll
goto fim

:stub_dll
call tecmake vc6 "MF=iupstub" %2 %3 %4 %5 %6 %7
move /y ..\lib\vc6\iupstub.lib ..\lib\dll
goto fim

:stub_dll7
call tecmake vc7 "MF=iupstub" %2 %3 %4 %5 %6 %7
move /y ..\lib\vc7\iupstub.lib ..\lib\dll7
goto fim

:stub_dll8
call tecmake vc8 "MF=iupstub" %2 %3 %4 %5 %6 %7
move /y ..\lib\vc8\iupstub.lib ..\lib\dll8
goto fim

:stub_dll8_64
call tecmake vc8_64 "MF=iupstub" %2 %3 %4 %5 %6 %7
move /y ..\lib\vc8_64\iupstub.lib ..\lib\dll8_64
goto fim

:stub_dll9
call tecmake vc9 "MF=iupstub" %2 %3 %4 %5 %6 %7
move /y ..\lib\vc9\iupstub.lib ..\lib\dll9
goto fim

:stub_dll9_64
call tecmake vc9_64 "MF=iupstub" %2 %3 %4 %5 %6 %7
move /y ..\lib\vc9_64\iupstub.lib ..\lib\dll9_64
goto fim

:all_dll
call make_uname dll %2 %3 %4 %5 %6
call make_uname dll7 %2 %3 %4 %5 %6
call make_uname dll8 %2 %3 %4 %5 %6
call make_uname dll8_64 %2 %3 %4 %5 %6
call make_uname dll9 %2 %3 %4 %5 %6
call make_uname dll9_64 %2 %3 %4 %5 %6
goto fim

:fim