summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-07-28 17:23:58 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-28 17:23:58 +0200
commit86c1ae2f075ef89c320151ae626f9f77a7e793f4 (patch)
tree070f927145f4f37734ff67a1edb1a97186890f7c /INSTALL
parentd994175b65158609c037cb2c3ad3e43ad19c320e (diff)
libdect: add installation instructions
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL40
1 files changed, 40 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..9aa4625
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,40 @@
+Building and installing libdect
+-------------------------------
+
+Prerequisites:
+
+ - kernel header files from a kernel with DECT support in /usr/include/linux,
+ specifically:
+
+ - linux/socket.h
+ - linux/netlink.h
+ - linux/dect.h
+ - linux/dect_netlink.h
+
+ - libnl containing DECT support (libnl.so, libnl-dect.so)
+
+ - libevent or libev (for building example code)
+
+ - Doxygen and mscgen (optional, for building the API documentation)
+
+1) Run "sh autogen.sh"
+
+ This will generate the configure script from configure.ac.
+
+2) Run "sh configure"
+
+ This will verify that all required prerequisites are installed and generate
+ the makefiles. Options include:
+
+ --enable-doc=y/n (default: no) - enable documentation build
+ --enable-debug=y/n (default: yes) - enable debugging statements
+
+3) Run "make"
+
+ This will build libdect, the example code as well as the documentation, if
+ enabled.
+
+4) Run "make install"
+
+ This will install libdect and the example code.
+