Lines Matching refs:library
34 This document guides you through the gnarly process of writing library
42 Your library should consist of a hierarchical collection of Makefiles:
44 lib/<library>/Makefile:
46 This is your library's top-level Makefile. It should contain rules
51 lib/<library>/Makefile.com
53 This is your library's common Makefile. It should contain rules
58 lib/<library>/<isa>/Makefile
60 These are your library's ISA-specific Makefiles, one per ISA
90 in detail, and provides examples from the libinetutil library.
95 As described above, your top-level library Makefile should contain
102 Install all library header files into the proto area.
103 Can be omitted if your library has no header files.
107 Check all library header files for hdrchk compliance.
108 Can be omitted if your library has no header files.
113 Can be omitted if your library has no message catalog.
119 it easy for you to install and check your library's header files. To use
120 these targets, your Makefile must set the HDRS to the list of your library's
134 you to build and install message catalogs from your library's source files.
221 Note that if your library is also built 64-bit, then you should
255 top-level library Makefile (license notice and copyright omitted):
306 inclusion of Makefile.rootfs (only if the library is to be
321 Set to the name of the static version of your library, such
327 when building your library.
335 Set to the version of your shared library, such as `.1'. You
342 Set to the list of object files contained in your library, such as
343 `a.o b.o'. Usually, this will be the same as your library's source
344 files (except with .o extensions), but if your library compiles
345 source files outside of the library directory itself, it will
353 your library. For dynamic libraries, you should set this to
354 `$(DYNLIB) $(LINTLIB)' so that a dynamic library and lint library
356 since there's no point in building a lint library for libraries
359 If your library needs to be built as a static library (typically
364 ROOTLIBDIR (if your library installs to a nonstandard directory)
371 ROOTLIBDIR64 (if your library installs to a nonstandard directory)
380 Set to the directory containing your library's source files, such
383 relative to your library's <isa> directory.
387 Set to the list of source files required to build your library.
393 LINTLIB-specific SRCS (required if building a lint library)
396 library's lint library. The lint stubs file must be used to
397 guarantee that programs that link against your library will be able
401 library does not build a lint library.
405 Appended with the list of libraries and library directories needed
406 to build your library; minimally "-lc". Note that this should
407 *never* be set, since that will inadvertently clear the library
419 of your library. This defaults to `$(SRCDIR)/mapfile-vers' in
494 actual library sources. Historically, this target has also been
495 used to build the lint library (using LINTLIB), but that usage is
612 library's Makefiles. To help in this regard, a number of libraries of
618 Example of a simple 32-bit only library.
622 Example of a simple 32-bit only library that obtains its sources
631 Example of a simple library that builds a message catalog.
635 Example of a Makefile hierarchy for a library and a collection