Lines Matching refs:library
31 This document guides you through the gnarly process of writing library
39 Your library should consist of a hierarchical collection of Makefiles:
41 lib/<library>/Makefile:
43 This is your library's top-level Makefile. It should contain rules
48 lib/<library>/Makefile.com
50 This is your library's common Makefile. It should contain rules
55 lib/<library>/<isa>/Makefile
57 These are your library's ISA-specific Makefiles, one per ISA
87 in detail, and provides examples from the libinetutil library.
92 As described above, your top-level library Makefile should contain
99 Install all library header files into the proto area.
100 Can be omitted if your library has no header files.
104 Check all library header files for hdrchk compliance.
105 Can be omitted if your library has no header files.
110 Can be omitted if your library has no message catalog.
116 it easy for you to install and check your library's header files. To use
117 these targets, your Makefile must set the HDRS to the list of your library's
131 you to build and install message catalogs from your library's source files.
218 Note that if your library is also built 64-bit, then you should
251 top-level library Makefile (license notice and copyright omitted):
301 inclusion of Makefile.rootfs (only if the library is to be
316 Set to the name of the static version of your library, such
322 when building your library.
330 Set to the version of your shared library, such as `.1'. You
337 Set to the list of object files contained in your library, such as
338 `a.o b.o'. Usually, this will be the same as your library's source
339 files (except with .o extensions), but if your library compiles
340 source files outside of the library directory itself, it will
348 your library. For dynamic libraries, you should set this to
349 `$(DYNLIB)' so that a dynamic library is built.
351 If your library needs to be built as a static library (typically
356 ROOTLIBDIR (if your library installs to a nonstandard directory)
363 ROOTLIBDIR64 (if your library installs to a nonstandard directory)
372 Set to the directory containing your library's source files, such
375 relative to your library's <isa> directory.
379 Set to the list of source files required to build your library.
388 Appended with the list of libraries and library directories needed
389 to build your library; minimally "-lc". Note that this should
390 *never* be set, since that will inadvertently clear the library
397 of your library. This defaults to `$(SRCDIR)/mapfile-vers' in
442 this library. Each should also have a target-specific assignment to
555 If you included Makefile.rootfs to install your library into /lib, you should
582 library's Makefiles. To help in this regard, a number of libraries of
588 Example of a simple 32-bit only library.
592 Example of a simple 32/64-bit library that obtains its sources
601 Example of a simple library that builds a message catalog.
605 Example of a Makefile hierarchy for a library and a collection