forked from ketoo/NoahGameFrame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install4makefile.sh
executable file
·59 lines (50 loc) · 4.62 KB
/
install4makefile.sh
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
# delete old makefile(s)
find ../NFComm -name 'makefile' -type f -print -exec rm -rf {} \;
find ../NFServer -name 'makefile' -type f -print -exec rm -rf {} \;
# start to generate makefile(s)
cd ./Tool
./cbp2make.linux-x86_64 -in ../NFComm/NFConfigPlugin/NFConfigPlugin.cbp -out ../NFComm/NFConfigPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFComm/NFCore/NFCore.cbp -out ../NFComm/NFCore/makefile
./cbp2make.linux-x86_64 -in ../NFComm/NFKernelPlugin/NFKernelPlugin.cbp -out ../NFComm/NFKernelPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFComm/NFLogPlugin/NFLogPlugin.cbp -out ../NFComm/NFLogPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFComm/NFMessageDefine/NFMessageDefine.cbp -out ../NFComm/NFMessageDefine/makefile
./cbp2make.linux-x86_64 -in ../NFComm/NFNet/NFNet.cbp -out ../NFComm/NFNet/makefile
./cbp2make.linux-x86_64 -in ../NFComm/NFPluginLoader/NFPluginLoader.cbp -out ../NFComm/NFPluginLoader/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFDataBaseNet_ClientPlugin/NFDataBaseNet_ClientPlugin.cbp -out ../NFServer/NFDataBaseNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFGameServerNet_ClientPlugin/NFGameServerNet_ClientPlugin.cbp -out ../NFServer/NFGameServerNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFGameServerNet_ServerPlugin/NFGameServerNet_ServerPlugin.cbp -out ../NFServer/NFGameServerNet_ServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFGameServerPlugin/NFGameServerPlugin.cbp -out ../NFServer/NFGameServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFLoginLogicPlugin/NFLoginLogicPlugin.cbp -out ../NFServer/NFLoginLogicPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFLoginNet_ClientPlugin/NFLoginNet_ClientPlugin.cbp -out ../NFServer/NFLoginNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFLoginNet_ServerPlugin/NFLoginNet_ServerPlugin.cbp -out ../NFServer/NFLoginNet_ServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFMasterNet_ServerPlugin/NFMasterNet_ServerPlugin.cbp -out ../NFServer/NFMasterNet_ServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFMasterServerPlugin/NFMasterServerPlugin.cbp -out ../NFServer/NFMasterServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyServerNet_ClientPlugin/NFProxyServerNet_ClientPlugin.cbp -out ../NFServer/NFProxyServerNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyServerNet_ServerPlugin/NFProxyServerNet_ServerPlugin.cbp -out ../NFServer/NFProxyServerNet_ServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyLogicPlugin/NFProxyLogicPlugin.cbp -out ../NFServer/NFProxyLogicPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFWorldLogicPlugin/NFWorldLogicPlugin.cbp -out ../NFServer/NFWorldLogicPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFWorldNet_ClientPlugin/NFWorldNet_ClientPlugin.cbp -out ../NFServer/NFWorldNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFWorldNet_ServerPlugin/NFWorldNet_ServerPlugin.cbp -out ../NFServer/NFWorldNet_ServerPlugin/makefile
# add SolutionDir in line 20
# SolutionDir = ../../
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFConfigPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFCore/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFKernelPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFLogPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFMessageDefine/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFNet/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFPluginLoader/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFGameServerNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFGameServerNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFGameServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFLoginLogicPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFLoginNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFLoginNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFMasterNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFMasterServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFProxyServerNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFProxyServerNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFProxyLogicPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFWorldLogicPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFWorldNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFWorldNet_ServerPlugin/makefile