| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.prog.mk,v 1.258 2011/02/06 01:08:37 joerg Exp $ | | 1 | # $NetBSD: bsd.prog.mk,v 1.259 2011/02/13 00:42:45 christos Exp $ |
2 | # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 | | 2 | # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 |
3 | | | 3 | |
4 | .ifndef HOSTPROG | | 4 | .ifndef HOSTPROG |
5 | | | 5 | |
6 | .include <bsd.init.mk> | | 6 | .include <bsd.init.mk> |
7 | .include <bsd.shlib.mk> | | 7 | .include <bsd.shlib.mk> |
8 | .include <bsd.gcc.mk> | | 8 | .include <bsd.gcc.mk> |
9 | | | 9 | |
10 | # | | 10 | # |
11 | # Definitions and targets shared among all programs built by a single | | 11 | # Definitions and targets shared among all programs built by a single |
12 | # Makefile. | | 12 | # Makefile. |
13 | # | | 13 | # |
14 | | | 14 | |
| @@ -92,27 +92,27 @@ LIBCRT0= ${DESTDIR}/usr/lib/crt0.o | | | @@ -92,27 +92,27 @@ LIBCRT0= ${DESTDIR}/usr/lib/crt0.o |
92 | # | | 92 | # |
93 | # E.g. | | 93 | # E.g. |
94 | # LIBC?=${DESTDIR}/usr/lib/libc.a | | 94 | # LIBC?=${DESTDIR}/usr/lib/libc.a |
95 | # LIBX11?=${DESTDIR}/usr/X11R7/lib/libX11.a | | 95 | # LIBX11?=${DESTDIR}/usr/X11R7/lib/libX11.a |
96 | # etc.. | | 96 | # etc.. |
97 | | | 97 | |
98 | .for _lib in \ | | 98 | .for _lib in \ |
99 | archive asn1 bluetooth bsdmalloc bz2 c c_pic cdk com_err compat \ | | 99 | archive asn1 bluetooth bsdmalloc bz2 c c_pic cdk com_err compat \ |
100 | crypt crypto crypto_idea crypto_mdc2 crypto_rc5 \ | | 100 | crypt crypto crypto_idea crypto_mdc2 crypto_rc5 \ |
101 | curses dbm des edit event \ | | 101 | curses dbm des edit event \ |
102 | fetch form fl g2c gcc gnumalloc gssapi hdb heimntlm hx509 intl ipsec \ | | 102 | fetch form fl g2c gcc gnumalloc gssapi hdb heimntlm hx509 intl ipsec \ |
103 | kadm5clnt kadm5srv kafs krb5 kvm l lber ldap ldap_r lua \ | | 103 | kadm5clnt kadm5srv kafs krb5 kvm l lber ldap ldap_r lua \ |
104 | m magic menu objc ossaudio pam pcap pci pmc posix pthread pthread_dbg \ | | 104 | m magic menu objc ossaudio pam pcap pci pmc posix pthread pthread_dbg \ |
105 | puffs radius resolv rmt roken rpcsvc rt rump rumpuser skey sl ss \ | | 105 | puffs radius resolv rmt roken rpcsvc rt rump rumpuser saslc skey sl ss \ |
106 | ssh ssl termcap usbhid util wrap y z bind9 dns lwres isccfg isccc isc \ | | 106 | ssh ssl termcap usbhid util wrap y z bind9 dns lwres isccfg isccc isc \ |
107 | \ | | 107 | \ |
108 | rumpfs_cd9660fs rumpfs_efs rumpfs_ext2fs rumpfs_ffs rumpfs_hfs \ | | 108 | rumpfs_cd9660fs rumpfs_efs rumpfs_ext2fs rumpfs_ffs rumpfs_hfs \ |
109 | rumpfs_lfs rumpfs_msdosfs rumpfs_nfs rumpfs_ntfs rumpfs_syspuffs \ | | 109 | rumpfs_lfs rumpfs_msdosfs rumpfs_nfs rumpfs_ntfs rumpfs_syspuffs \ |
110 | rumpfs_tmpfs rumpfs_udf rumpfs_ufs | | 110 | rumpfs_tmpfs rumpfs_udf rumpfs_ufs |
111 | .ifndef LIB${_lib:tu} | | 111 | .ifndef LIB${_lib:tu} |
112 | LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib}.a | | 112 | LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib}.a |
113 | .MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded | | 113 | .MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded |
114 | .endif | | 114 | .endif |
115 | .endfor | | 115 | .endfor |
116 | | | 116 | |
117 | # PAM applications, if linked statically, need more libraries | | 117 | # PAM applications, if linked statically, need more libraries |
118 | .if (${MKPIC} == "no") | | 118 | .if (${MKPIC} == "no") |