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
|
Compiling:
^^^^^^^^^^
Using make:
"make all" compiles both static and shared libkarma libraries
and riocp/chprop in the "tools" directory, using the
static libkarma library (libkarma.a)
"make clean" removes everything created by "make"
To compile only the static or the shared versions of libkarma
and/or the tools, go to the directories "src" and/or "tools"
and do "make" or "make shared", respectively.
Compiling with jam:
"jam" compiles libkarma as a shared library and riocp/chprop in the
"tools" directory
"jam clean" removes everything created by jam
"STATIC=1 jam" compiles everything static
"jam riocp" is possible as well...
Installing:
^^^^^^^^^^^
"make install" will install into $PREFIX (defaults to /usr/local). Use
"make PREFIX=whatever" to install elsewhere. "make uninstall" will remove
the installed files.
Building the RPM
^^^^^^^^^^^^^^^^
Type "make dist" to create the tarball.
Then "rpm -ta --clean libkarma-<version>.tar.gz" to create the rpms.
Two rpms are created: karma-tools and libkarma-devel. The latter package
is only required for those who wish to write programs which use the
libkarma library.
|