Line | |
---|
1 | |
---|
2 | Howto add a new library (in a new SUBDIR): |
---|
3 | |
---|
4 | - create new subdir and copy a recent Makefile into there e.g. use ./REFENTRIES/Makefile |
---|
5 | - add a dependency vs 'links' or 'links_non_perl' in ../Makefile@ADD_links_non_perl |
---|
6 | |
---|
7 | - add it to the ARCHS_... definitions used for linking in ../Makefile@Individual_Programs_Section |
---|
8 | - or - |
---|
9 | add it to dependency list of TOOLS.dummy in ../Makefile@TOOLSLIBDEPENDS |
---|
10 | - or - |
---|
11 | declare it as test sandbox in ../Makefile@TEST_SANDBOXES |
---|
12 | |
---|
13 | Please note: |
---|
14 | - if the new library isn't added anywhere |
---|
15 | => it will not be build |
---|
16 | => unittests wont work |
---|
17 | |
---|
18 | - [NOT4SANDBOX] add all headers that shall be externally visible in ../SOURCE_TOOLS/generate_all_links.sh@ALIVIEW |
---|
19 | |
---|
20 | - add a stub for (nonexisting) unit tests in ../Makefile@UNTESTED_UNITS |
---|
21 | - or - |
---|
22 | [NOT4SANDBOX] activate existing unit tests in ../Makefile@UNITS_TESTED |
---|
23 | + create unittest-linkfile e.g. use ./CB/needs_libs |
---|
24 | |
---|
25 | - call once |
---|
26 | make valgrind_update |
---|
27 | |
---|
28 | Important: Before committing the change, run a full rebuild! |
---|
29 | |
---|
30 | - call once (after commit!): |
---|
31 | SOURCE_TOOLS/svn_apply_ignores.pl --apply |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.