Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | echo '-------------------------------------------------------------' |
---|
4 | echo 'SoftEther UT-VPN for Unix' |
---|
5 | echo |
---|
6 | echo 'Copyright (C) 2004-2010 SoftEther Corporation.' |
---|
7 | echo 'Copyright (C) 2004-2010 University of Tsukuba, Japan.' |
---|
8 | echo 'Copyright (C) 2003-2010 Daiyuu Nobori. All Rights Reserved.' |
---|
9 | echo |
---|
10 | echo 'This program is free software; you can redistribute it and/or' |
---|
11 | echo 'modify it under the terms of the GNU General Public License' |
---|
12 | echo 'version 2 as published by the Free Software Foundation.' |
---|
13 | echo '-------------------------------------------------------------' |
---|
14 | echo |
---|
15 | |
---|
16 | echo 'Please select your Operating System below:' |
---|
17 | echo ' 1: Linux' |
---|
18 | echo ' 2: FreeBSD' |
---|
19 | echo ' 3: Solaris' |
---|
20 | echo ' 4: Mac OS X' |
---|
21 | echo |
---|
22 | echo 'Which is your operating system (1-4): ' |
---|
23 | read TMP |
---|
24 | echo |
---|
25 | OS="" |
---|
26 | if test "$TMP" = "1" |
---|
27 | then |
---|
28 | OS="linux" |
---|
29 | fi |
---|
30 | if test "$TMP" = "2" |
---|
31 | then |
---|
32 | OS="freebsd" |
---|
33 | fi |
---|
34 | if test "$TMP" = "3" |
---|
35 | then |
---|
36 | OS="solaris" |
---|
37 | fi |
---|
38 | if test "$TMP" = "4" |
---|
39 | then |
---|
40 | OS="macos" |
---|
41 | fi |
---|
42 | |
---|
43 | if test "$OS" = "" |
---|
44 | then |
---|
45 | echo "Wrong number." |
---|
46 | exit 1 |
---|
47 | fi |
---|
48 | |
---|
49 | echo 'Please select your CPU Bits below:' |
---|
50 | echo ' 1: 32-bit' |
---|
51 | echo ' 2: 64-bit' |
---|
52 | echo |
---|
53 | echo 'Which is the bits of your CPU (1-2): ' |
---|
54 | read TMP |
---|
55 | echo |
---|
56 | CPU="" |
---|
57 | if test "$TMP" = "1" |
---|
58 | then |
---|
59 | CPU="32bit" |
---|
60 | fi |
---|
61 | if test "$TMP" = "2" |
---|
62 | then |
---|
63 | CPU="64bit" |
---|
64 | fi |
---|
65 | |
---|
66 | if test "$CPU" = "" |
---|
67 | then |
---|
68 | echo "Wrong number." |
---|
69 | exit 1 |
---|
70 | fi |
---|
71 | |
---|
72 | LANGUAGE="ja" |
---|
73 | |
---|
74 | cp makefiles/${OS}_${CPU}_${LANGUAGE}.mak Makefile |
---|
75 | |
---|
76 | echo "Makefile is generated. Please execute 'make' to build UT-VPN." |
---|
77 | |
---|
Note: See
TracBrowser
for help on using the repository browser.