Debian Codegraph @

deps/curl/plan9/BUILD.PLAN9.txt

raw
1 Prerequirement
2 ==============
3 This document describes how to compile, build and install curl and libcurl
4 from sources using mk. To build it, you will require to install latest
5 9legacy patches into Plan 9. Also Plan 9 still have no configuration option so
6 both zlib and libopenssl are required too.
7
8 The zlib that is available on Plan 9 can be downloaded from:
9
10 https://github.com/madler/zlib/pull/398
11
12 LibreSSL Portable can be downloaded from:
13
14 https://github.com/libressl-portable/portable/pull/510
15
16 Instruction
17 ===========
18 First, you should construct namespace as like described below:
19
20 % bind -ac ../lib lib
21 % bind -ac ../src src
22 % bind -ac ../include include
23 % bind -ac .. .
24
25 Then you will see as shown below (excerpt):
26
27 curl.git/
28 |_plan9
29 | |_BUILD.PLAN9.txt
30 | |_CHANGES
31 | |_CMake
32 | | :
33 | |_mkfile
34 | |_mkfile.proto
35 | |_include
36 | | |_Makefile.am
37 | | | :
38 | | |_mkfile
39 | |_lib
40 | | |_CMakeLists.txt
41 | | | :
42 | | |_mkfile
43 | | |_mkfile.inc
44 | |_src
45 | | |_CMakeLists.txt
46 | | | :
47 | | |_mkfile
48 | | |_mkfile.inc
49 |_lib
50 |_src
51
52 After constructing namespace, you can run mk on plan9 directory.
53
54 % mk
55 % mk install