summaryrefslogtreecommitdiffstats
path: root/lib.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib.in')
-rw-r--r--lib.in97
1 files changed, 58 insertions, 39 deletions
diff --git a/lib.in b/lib.in
index 565b752c..707f7c6a 100644
--- a/lib.in
+++ b/lib.in
@@ -1,40 +1,59 @@
-# $Id$
-#
-# This file defines the `.Lb' macro argument. Lines are composed of
-# tab-delimited fields -- multiple tabs may delimit fields. Comment
-# lines begin with '#'; blank lines are also ok.
-#
-# These were last grok'd from NetBSD-4.0.1's mdoc.samples(7).
+/* $Id$ */
+/*
+ * Copyright (c) 2009 Kristaps Dzonsons <kristaps@openbsd.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the
+ * above copyright notice and this permission notice appear in all
+ * copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
+ * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+ * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
-libarm ARM Architecture Library (libarm, -larm)
-libarm32 ARM32 Architecture Library (libarm32, -larm32)
-libc Standard C Library (libc, -lc)
-libcdk Curses Development Kit Library (libcdk, -lcdk)
-libcompat Compatibility Library (libcompat, -lcompat)
-libcrypt Crypt Library (libcrypt, -lcrypt)
-libcurses Curses Library (libcurses, -lcurses)
-libedit Command Line Editor Library (libedit, -ledit)
-libevent Event Notification Library (libevent, -levent)
-libform Curses Form Library (libform, -lform)
-libi386 i386 Architecture Library (libi386, -li386)
-libintl Internationalized Message Handling Library (libintl, -lintl)
-libipsec IPsec Policy Control Library (libipsec, -lipsec)
-libkvm Kernel Data Access Library (libkvm, -lkvm)
-libm Math Library (libm, -lm)
-libm68k m68k Architecture Library (libm68k, -lm68k)
-libmagic Magic Number Recognition Library (libmagic, -lmagic)
-libmenu Curses Menu Library (libmenu, -lmenu)
-libossaudio OSS Audio Emulation Library (libossaudio, -lossaudio)
-libpam Pluggable Authentication Module Library (libpam, -lpam)
-libpcap Capture Library (libpcap, -lpcap)
-libpci PCI Bus Access Library (libpci, -lpci)
-libpmc Performance Counters Library (libpmc, -lpmc)
-libposix POSIX Compatibility Library (libposix, -lposix)
-libpthread POSIX Threads Library (libpthread, -lpthread)
-libresolv DNS Resolver Library (libresolv, -lresolv)
-librt POSIX Real-time Library (librt, -lrt)
-libtermcap Termcap Access Library (libtermcap, -ltermcap)
-libusbhid USB Human Interface Devices Library (libusbhid, -lusbhid)
-libutil System Utilities Library (libutil, -lutil)
-libx86_64 x86_64 Architecture Library (libx86_64, -lx86_64)
-libz Compression Library (libz, -lz)
+/*
+ * These are all possible .Lb strings. When a new library is added, add
+ * its short-string to the left-hand side and formatted string to the
+ * right-hand side.
+ *
+ * Be sure to escape strings.
+ */
+
+LINE("libarm", "ARM Architecture Library (libarm, \\-larm)")
+LINE("libarm32", "ARM32 Architecture Library (libarm32, \\-larm32)")
+LINE("libc", "Standard C Library (libc, \\-lc)")
+LINE("libcdk", "Curses Development Kit Library (libcdk, \\-lcdk)")
+LINE("libcompat", "Compatibility Library (libcompat, \\-lcompat)")
+LINE("libcrypt", "Crypt Library (libcrypt, \\-lcrypt)")
+LINE("libcurses", "Curses Library (libcurses, \\-lcurses)")
+LINE("libedit", "Command Line Editor Library (libedit, \\-ledit)")
+LINE("libevent", "Event Notification Library (libevent, \\-levent)")
+LINE("libform", "Curses Form Library (libform, \\-lform)")
+LINE("libi386", "i386 Architecture Library (libi386, \\-li386)")
+LINE("libintl", "Internationalized Message Handling Library (libintl, \\-lintl)")
+LINE("libipsec", "IPsec Policy Control Library (libipsec, \\-lipsec)")
+LINE("libkvm", "Kernel Data Access Library (libkvm, \\-lkvm)")
+LINE("libm", "Math Library (libm, \\-lm)")
+LINE("libm68k", "m68k Architecture Library (libm68k, \\-lm68k)")
+LINE("libmagic", "Magic Number Recognition Library (libmagic, \\-lmagic)")
+LINE("libmenu", "Curses Menu Library (libmenu, \\-lmenu)")
+LINE("libossaudio", "OSS Audio Emulation Library (libossaudio, \\-lossaudio)")
+LINE("libpam", "Pluggable Authentication Module Library (libpam, \\-lpam)")
+LINE("libpcap", "Capture Library (libpcap, \\-lpcap)")
+LINE("libpci", "PCI Bus Access Library (libpci, \\-lpci)")
+LINE("libpmc", "Performance Counters Library (libpmc, \\-lpmc)")
+LINE("libposix", "POSIX Compatibility Library (libposix, \\-lposix)")
+LINE("libpthread", "POSIX Threads Library (libpthread, \\-lpthread)")
+LINE("libresolv", "DNS Resolver Library (libresolv, \\-lresolv)")
+LINE("librt", "POSIX Real\\-time Library (librt, -lrt)")
+LINE("libtermcap", "Termcap Access Library (libtermcap, \\-ltermcap)")
+LINE("libusbhid", "USB Human Interface Devices Library (libusbhid, \\-lusbhid)")
+LINE("libutil", "System Utilities Library (libutil, \\-lutil)")
+LINE("libx86_64", "x86_64 Architecture Library (libx86_64, \\-lx86_64)")
+LINE("libz", "Compression Library (libz, \\-lz)")