-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathwinimplib.bat
80 lines (66 loc) · 1.81 KB
/
winimplib.bat
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
echo OFF
REM Windows batch file to create import libraries for linking ION DLLs in a
REM Windows development environment such as Visual Studio. The batch file
REM should be executed at a Visual Studio command prompt after a successful ION
REM build using mingw.
REM
REM Example Usage:
REM winimplib.bat i386
REM winimplib.bat x64
IF [%1]==[] (
echo Target must be supplied.
echo Usage: winimplib.bat target
echo Example: winimplib.bat x86
goto :eof
)
set target=%1
IF NOT EXIST winimplib mkdir winimplib
cd ams/i86-mingw
lib /machine:%target% /def:libams.def
copy *.lib ..\..\winimplib
cd ../..
cd bp/i86-mingw
lib /machine:%target% /def:libbp.def
REM lib /machine:%target% /def:libbssfw.def
lib /machine:%target% /def:libcgr.def
lib /machine:%target% /def:libdtn2fw.def
lib /machine:%target% /def:libimcfw.def
lib /machine:%target% /def:libipnfw.def
lib /machine:%target% /def:libtcpcla.def
lib /machine:%target% /def:libstcpcla.def
lib /machine:%target% /def:libudpcla.def
copy *.lib ..\..\winimplib
cd ../..
cd bss/i86-mingw
lib /machine:%target% /def:libbss.def
copy *.lib ..\..\winimplib
cd ../..
cd bssp/i86-mingw
lib /machine:%target% /def:libbssp.def
lib /machine:%target% /def:libtcpbsa.def
copy *.lib ..\..\winimplib
cd ../..
cd cfdp/i86-mingw
lib /machine:%target% /def:libcfdp.def
copy *.lib ..\..\winimplib
cd ../..
cd dgr/i86-mingw
lib /machine:%target% /def:libdgr.def
copy *.lib ..\..\winimplib
cd ../..
cd dtpc/i86-mingw
lib /machine:%target% /def:libdtpc.def
copy *.lib ..\..\winimplib
cd ../..
cd ici/i86-mingw
lib /machine:%target% /def:libici.def
copy *.lib ..\..\winimplib
cd ../..
cd ici/libbloom-master
lib /machine:%target% /def:libbloom.def
copy *.lib ..\..\winimplib
cd ../..
cd ltp/i86-mingw
lib /machine:%target% /def:libltp.def
copy *.lib ..\..\winimplib
cd ../..