-
Notifications
You must be signed in to change notification settings - Fork 44
/
README.maintainer
49 lines (40 loc) · 1.53 KB
/
README.maintainer
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
39
40
41
42
43
44
45
46
47
48
This package is built with the GNU Build System.
A good reference for the whole process is at:
https://sourceware.org/autobook/
## Autotools Manuals
http://www.gnu.org/software/automake/manual/
http://www.gnu.org/software/autoconf/manual/
http://www.gnu.org/software/libtool/manual/
## Requirements
You'll need the following GNU tools:
- autoconf
- automake
- libtool
- make
## Porting
The only files which should (theoretically) be edited for portability are:
- configure.ac
- Makefile.am
## Maintainer Build
1. aclocal (creates aclocal.m4)
2. autoheader (creates config.h.in)
3. autoconf (creates configure & autom4te.cache)
4. libtoolize --automake (creates config/ltmain.sh)
5. automake --add-missing (creates Makefile.in)
Note:
6. autoreconf (remakes above files after changes)
## Building
1. mkdir ../ocs.build (create build directory)
2. cp README.build ../ocs.build/README (detailed build instructions)
3. cd ../ocs.build (change working directory for build)
4. ../ocs/configure (creates Makefiles)
5. make (builds entire package)
6. make check (run dialyzer and common_test)
## Installing
1. sudo make install (installs embedded application in system)
## Cleaning
1. make clean (removes files created with make)
2. make distclean (removes files created with configure also)
## Options
../ocs/configure --enable-debug
../ocs/configure --with-ssl=/opt/local