|
@@ -94,6 +94,13 @@ of features as a standalone library:
|
|
The default `make` command compiles the library. Enter `make help` to get an
|
|
The default `make` command compiles the library. Enter `make help` to get an
|
|
overview of the other available commands.
|
|
overview of the other available commands.
|
|
|
|
|
|
|
|
+`make install` installs libraries and headers in the directories set by the
|
|
|
|
+environment variable `$PREFIX`. If this is unset, the default `/usr/local`
|
|
|
|
+prefix is used.
|
|
|
|
+
|
|
|
|
+Options to compile with debug symbols are available.
|
|
|
|
+
|
|
|
|
+
|
|
### Compile-Time Constants
|
|
### Compile-Time Constants
|
|
|
|
|
|
`DEBUG`: Set debug mode: memory map is at reduced size, logging is forced to
|
|
`DEBUG`: Set debug mode: memory map is at reduced size, logging is forced to
|
|
@@ -106,7 +113,19 @@ RDF source. The default value is 8192, which is mildly conservative. If you
|
|
experience parsing errors on decoding, and they happen to be on a term such a
|
|
experience parsing errors on decoding, and they happen to be on a term such a
|
|
very long string literal, try recompiling the library with a larger value.
|
|
very long string literal, try recompiling the library with a larger value.
|
|
|
|
|
|
-## Running and Embedding
|
|
|
|
|
|
+## Embedding
|
|
|
|
+
|
|
|
|
+The generated `liblsuprdf.so` and `liblsuprdf.a` libraries can be linked
|
|
|
|
+dynamically or statically to your code. Only the `lsup_rdf.h` header, which
|
|
|
|
+recursively includes other headers in the `include` directory, needs to be
|
|
|
|
+`#include`d in the embedding code.
|
|
|
|
+
|
|
|
|
+Environment variables and/or compiler options might have to be set in order to
|
|
|
|
+find the dynamic libraries and headers in their install locations.
|
|
|
|
+
|
|
|
|
+For compilation and linking examples, refer to `test`, `memtest`, `perftest`
|
|
|
|
+and other actions in the current Makefile.
|
|
|
|
+
|
|
|
|
|
|
### Environment Variables
|
|
### Environment Variables
|
|
|
|
|