summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-18 21:16:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-18 21:16:58 +0000
commitb9e68cb2bdcd0593b6e7fd434b35791c8d03805c (patch)
treeebbd07cd61933726d747e55157e1f0324d2fe522
parentd76fbed9b047b0950393d391f27749a20f6ec68a (diff)
Sync the LIBFOO defines with the current set of libraries we build and
install. Also define LIBARCH on arm platforms. ok millert@ deraadt@
-rw-r--r--share/mk/bsd.README21
-rw-r--r--share/mk/bsd.prog.mk31
2 files changed, 25 insertions, 27 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README
index 30d825203e3..86daf1ff763 100644
--- a/share/mk/bsd.README
+++ b/share/mk/bsd.README
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.README,v 1.41 2010/03/02 20:33:55 jmc Exp $
+# $OpenBSD: bsd.README,v 1.42 2010/11/18 21:16:57 miod Exp $
# $NetBSD: bsd.README,v 1.17 1996/04/13 02:08:08 thorpej Exp $
# @(#)bsd.README 5.1 (Berkeley) 5/11/90
@@ -347,37 +347,40 @@ DPADD Additional dependencies for the program. Usually used for
The following libraries are predefined for DPADD:
- LIB45 /usr/lib/lib45.a
LIBASN1 /usr/lib/libasn1.a
LIBC /usr/lib/libc.a
+ LIBCOM_ERR /usr/lib/libcom_err.a
LIBCOMPAT /usr/lib/libcompat.a
LIBCRYPTO /usr/lib/libcrypto.a
LIBCURSES /usr/lib/libcurses.a
- LIBDES /usr/lib/libdes.a
LIBEDIT /usr/lib/libedit.a
LIBEVENT /usr/lib/libevent.a
- LIBGCC /usr/lib/libgcc.a
+ LIBEXPAT /usr/lib/libexpat.a
+ LIBFORM /usr/lib/libform.a
+ LIBFORMW /usr/lib/libformw.a
LIBGSSAPI /usr/lib/libgssapi.a
LIBHDB /usr/lib/libhdb.a
- LIBKADM /usr/lib/libkadm.a
LIBKADM5CLNT /usr/lib/libkadm5clnt.a
LIBKADM5SRV /usr/lib/libkadm5srv.a
LIBKAFS /usr/lib/libkafs.a
- LIBKDB /usr/lib/libkdb.a
LIBKEYNOTE /usr/lib/libkeynote.a
- LIBKRB /usr/lib/libkrb.a
LIBKRB5 /usr/lib/libkrb5.a
LIBKVM /usr/lib/libkvm.a
LIBL /usr/lib/libl.a
LIBM /usr/lib/libm.a
+ LIBMENU /usr/lib/libmenu.a
+ LIBMENUW /usr/lib/libmenuw.a
LIBOLDCURSES /usr/lib/libocurses.a
+ LIBOSSAUDIO /usr/lib/libossaudio.a
+ LIBPANEL /usr/lib/libpanel.a
+ LIBPANELW /usr/lib/libpanelw.a
LIBPCAP /usr/lib/libpcap.a
LIBPERL /usr/lib/libperl.a
+ LIBPTHREAD /usr/lib/libpthread.a
LIBRPCSVC /usr/lib/librpcsvc.a
- LIBSECTOK /usr/lib/libsectok.a
LIBSKEY /usr/lib/libskey.a
+ LIBSNDIO /usr/lib/libsndio.a
LIBSSL /usr/lib/libssl.a
- LIBTELNET /usr/lib/libtelnet.a
LIBTERMCAP /usr/lib/libtermcap.a
LIBTERMLIB /usr/lib/libtermlib.a
LIBUSB /usr/lib/libusbhid.a
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 38a9caa1a07..d1e44fe81e1 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.prog.mk,v 1.49 2006/06/30 19:00:29 otto Exp $
+# $OpenBSD: bsd.prog.mk,v 1.50 2010/11/18 21:16:57 miod Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
@@ -23,38 +23,40 @@ CRTEND?= ${DESTDIR}/usr/lib/crtend.o
.endif
LIBCRT0?= ${DESTDIR}/usr/lib/crt0.o
-LIB45?= ${DESTDIR}/usr/lib/lib45.a
-LIBACL?= ${DESTDIR}/usr/lib/libacl.a
LIBASN1?= ${DESTDIR}/usr/lib/libasn1.a
LIBC?= ${DESTDIR}/usr/lib/libc.a
LIBCOMPAT?= ${DESTDIR}/usr/lib/libcompat.a
+LIBCOM_ERR?= ${DESTDIR}/usr/lib/libcom_err.a
LIBCRYPTO?= ${DESTDIR}/usr/lib/libcrypto.a
LIBCURSES?= ${DESTDIR}/usr/lib/libcurses.a
-LIBDES?= ${DESTDIR}/usr/lib/libdes.a
LIBEDIT?= ${DESTDIR}/usr/lib/libedit.a
LIBEVENT?= ${DESTDIR}/usr/lib/libevent.a
-LIBGCC?= ${DESTDIR}/usr/lib/libgcc.a
+LIBEXPAT?= ${DESTDIR}/usr/lib/libexpat.a
+LIBFORM?= ${DESTDIR}/usr/lib/libform.a
+LIBFORMW?= ${DESTDIR}/usr/lib/libformw.a
LIBGSSAPI?= ${DESTDIR}/usr/lib/libgssapi.a
LIBHDB?= ${DESTDIR}/usr/lib/libhdb.a
-LIBKADM?= ${DESTDIR}/usr/lib/libkadm.a
LIBKADM5CLNT?= ${DESTDIR}/usr/lib/libkadm5clnt.a
LIBKADM5SRV?= ${DESTDIR}/usr/lib/libkadm5srv.a
LIBKAFS?= ${DESTDIR}/usr/lib/libkafs.a
-LIBKDB?= ${DESTDIR}/usr/lib/libkdb.a
LIBKEYNOTE?= ${DESTDIR}/usr/lib/libkeynote.a
-LIBKRB?= ${DESTDIR}/usr/lib/libkrb.a
LIBKRB5?= ${DESTDIR}/usr/lib/libkrb5.a
LIBKVM?= ${DESTDIR}/usr/lib/libkvm.a
LIBL?= ${DESTDIR}/usr/lib/libl.a
LIBM?= ${DESTDIR}/usr/lib/libm.a
+LIBMENU?= ${DESTDIR}/usr/lib/libmenu.a
+LIBMENUW?= ${DESTDIR}/usr/lib/libmenuw.a
LIBOLDCURSES?= ${DESTDIR}/usr/lib/libocurses.a
+LIBOSSAUDIO?= ${DESTDIR}/usr/lib/libossaudio.a
+LIBPANEL?= ${DESTDIR}/usr/lib/libpanel.a
+LIBPANELW?= ${DESTDIR}/usr/lib/libpanelw.a
LIBPCAP?= ${DESTDIR}/usr/lib/libpcap.a
LIBPERL?= ${DESTDIR}/usr/lib/libperl.a
+LIBPTHREAD?= ${DESTDIR}/usr/lib/libpthread.a
LIBRPCSVC?= ${DESTDIR}/usr/lib/librpcsvc.a
-LIBSECTOK?= ${DESTDIR}/usr/lib/libsectok.a
LIBSKEY?= ${DESTDIR}/usr/lib/libskey.a
+LIBSNDIO?= ${DESTDIR}/usr/lib/libsndio.a
LIBSSL?= ${DESTDIR}/usr/lib/libssl.a
-LIBTELNET?= ${DESTDIR}/usr/lib/libtelnet.a
LIBTERMCAP?= ${DESTDIR}/usr/lib/libtermcap.a
LIBTERMLIB?= ${DESTDIR}/usr/lib/libtermlib.a
LIBUSB?= ${DESTDIR}/usr/lib/libusbhid.a
@@ -64,19 +66,12 @@ LIBY?= ${DESTDIR}/usr/lib/liby.a
LIBZ?= ${DESTDIR}/usr/lib/libz.a
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
- ${MACHINE_ARCH} == "i386"
+ ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386"
LIBARCH?= ${DESTDIR}/usr/lib/lib${MACHINE_ARCH}.a
.else
LIBARCH?=
.endif
-# old stuff
-LIBDBM?= ${DESTDIR}/usr/lib/libdbm.a
-LIBMP?= ${DESTDIR}/usr/lib/libmp.a
-LIBPC?= ${DESTDIR}/usr/lib/libpc.a
-LIBPLOT?= ${DESTDIR}/usr/lib/libplot.a
-LIBRESOLV?= ${DESTDIR}/usr/lib/libresolv.a
-
.if defined(PROG)
SRCS?= ${PROG}.c
. if !empty(SRCS:N*.h:N*.sh)