source: trunk/SL/README

Last change on this file was 19613, checked in by westram, 11 days ago
  • reintegrates 'lib' into 'trunk'
    • replace dynamic library AWT by several static libraries: APP, ARB_SPEC, MASKS, CANVAS, MAPKEY, GUI_TK
    • now also check wrong library dependencies for untested units (only4me)
  • adds: log:branches/lib@19578:19612
File size: 1.7 KB
Line 
1
2Howto 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 - add a stub for (nonexisting) unit tests                              in ../Makefile@UNTESTED_UNITS
19   - or -
20   [NOT4SANDBOX] activate existing unit tests                           in ../Makefile@UNITS_TESTED
21
22 - add or move the library code into the new subdir
23 - [NOT4SANDBOX] add all headers that shall be externally visible       in ../SOURCE_TOOLS/generate_all_links.sh@ALIVIEW
24 - create library dependency definition                                 e.g. use ./CB/needs_libs
25
26 - call once
27        make valgrind_update                    otherwise names of moved files may be wrong in build messages
28        make ut                                 to detect missing library dependencies (only tested units; see TEST_LINK_UNTESTED_UNITS)
29        make dep_graph                          to detect wrong and superfluous library dependencies
30
31Important: Before committing the change, run a full rebuild!
32
33 - call once (after commit!):
34   SOURCE_TOOLS/svn_apply_ignores.pl --apply
35
Note: See TracBrowser for help on using the repository browser.