Commit Graph

144 Commits

Author SHA1 Message Date
plunky
f33b316b63 Remove the do-external-lib and do-gnu-lib targets, along with
external/lib/Makefile and crypto/external/lib/Makefile, replacing
them all with SUBDIRs directly from lib/Makefile.

compat/compatsubdirs.mk becomes simpler now, as everything is built
from lib/Makefile, meaning all the libraries will now be built under
compat so update the set lists to account for that.
2010-12-03 21:38:46 +00:00
mrg
8c7bf08190 delete a file that never did anything in -current. 2010-11-27 23:08:45 +00:00
joerg
b1de0a15dc Hook up xz into the build system. 2010-11-02 16:34:33 +00:00
mrg
4f6d9f583c update this to reality a little. 2010-06-30 03:28:01 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos
ba4446b975 Avoid using ${NETBSDSRCDIR} by using ${.PARSEDIR} like I did for amd64/i386 2009-12-19 04:11:32 +00:00
christos
e9c4fabb38 Don't use ${NETBSDSRCDIR}. It might not be set yet. 2009-12-19 00:15:13 +00:00
mrg
d7c5c26d66 add iscsi/lib 2009-12-15 05:23:25 +00:00
mrg
5f0379f3ef don't build atf, openldap or binutils if their MK* == "no". 2009-12-15 04:12:43 +00:00
mrg
39ffb8df8d fix the previous: default the target depending the MACHINE_ARCH. 2009-12-15 04:05:34 +00:00
uebayasi
7400b90cd7 Use GNU linker emul names which really exist.
XXX Assume big endian for now.  Better than build failure.
2009-12-14 13:43:59 +00:00
snj
6066e382dc Fix a few typos. 2009-12-13 17:58:27 +00:00
mrg
af35c52924 these files are no longer used and may now rest and bitrot without
hurting anyone...
2009-12-13 09:33:08 +00:00
mrg
3ad6dcd150 update this to reflect all the changes in src/compat version 2.0 2009-12-13 09:27:57 +00:00
mrg
cbad3a4a7f - move -m32 style compat into "m32.mk"
- new Makefile.compat has mostly only the basics now
2009-12-13 09:27:34 +00:00
mrg
d752305b9d - move the per-platform subdir list into archdirs.mk
- move the per-ABI subdir list into compatsubdir.mk.  use the new
MAKEDIRTARGETENV support to force a new objdir for compat library builds,
and simply traverse over the normal src path once for each ABI to be
built.  this eliminates all the shadow Makefile's for every library, and
allows multiple compat ABIs to be built for a single platform, such as
both o32 and n64 for mips64's default n32.
- compat/Makefile is merely a subdir provider now, and takes the real
information from archdirs.mk
2009-12-13 09:27:13 +00:00
mrg
9f8de6e95c a hack to force the top-level compat objdir to be created before the
library ones are.  the Makefile has a long description of what's
really going on here.
2009-12-13 09:25:57 +00:00
mrg
c410a53a8b for each $MACHINE_ARCH we have compat libraries to build for, give a list
of ABIs to target.  for amd64 and sparc64, we use the old i386 and sparc
subdirectories.  for mips64, we build both o32 and n64 libraries.

these files are not yet used, but will be shortly.
2009-12-13 09:07:32 +00:00
mrg
f7f0bc40ae rename LD32DIR to MLIBDIR. 2009-12-13 08:25:20 +00:00
njoly
3bc05604d9 Regen for NOLINKLIB. 2009-11-09 15:49:35 +00:00
njoly
da3e305b1e - Add external/gpl3/binutils/lib to the directory list.
- libbfd require NOLINKLIB.
2009-11-09 15:46:04 +00:00
plunky
212bd4a35c remove old libevent sources 2009-11-02 10:14:28 +00:00
plunky
c75313ecdf switch build to use libevent-1.4.12-stable from external 2009-11-02 10:13:19 +00:00
plunky
cfe3e08bfc add external framework for libevent 2009-11-02 10:03:56 +00:00
christos
5227fdf88f hook lex 2009-10-26 21:37:36 +00:00
christos
cb146138e8 unhook flex for now 2009-10-26 04:10:12 +00:00
christos
7fe0717e8a Add flex. 2009-10-26 01:22:41 +00:00
christos
d7a39d71df Add glue 2009-10-26 01:22:11 +00:00
mrg
572b798264 "regenerate" this based on the non-compat version updating. 2009-09-11 22:36:39 +00:00
mrg
e553df3559 build binutils 2.19 compat libraries. this lets HAVE_BINUTILS=219
work for amd64, and probably for sparc64.
2009-09-11 16:01:58 +00:00
pooka
de4fa6c51a Build & install rumpdev, a device component for rump. It currently
supports autoconf and is required for example by pseudo-device rump
components.
2009-09-03 15:35:58 +00:00
pooka
fd46b5b66c install librumpcrypto component: kernel crypto routines 2009-09-03 12:33:54 +00:00
mrg
246985af64 do not need the postfix libraries here. 2009-07-21 01:06:02 +00:00
mrg
b17f780b18 do not need the postfix libraries. 2009-07-21 01:05:35 +00:00
mrg
f561334a77 rebuild all of these based upon build-makefiles version 1.7.
XXX: i have re-applied the by-hand patch to
XXX: compat/gnu/lib/crtstuff4/Makefile that ensures it finds the right
XXX: tconfig.h.
2009-07-21 01:00:36 +00:00
mrg
9ee8cf1e0a fix the generated from id.
don't generate some subdir makefiles.
2009-07-21 00:23:02 +00:00
mrg
5678e04508 bring this much closer to reality:
- add many subdirs of libs missing
- output a literal $NetBSD$ as well as the expanded version of this script
- special case a bunch of the external subdirs, since some of the library
  subdirs exist in toplevel directory, not the "lib" directory
2009-07-21 00:12:00 +00:00
christos
d424491302 reference the regular Makefile directly instead of copying it. 2009-07-20 20:19:48 +00:00
christos
11255cfb27 OpenSSL has moved 2009-07-19 23:37:30 +00:00
christos
727afc0c47 Add build glue 2009-07-19 23:36:49 +00:00
mrg
f16bc96306 catch up with libssh build dir move 2009-06-12 06:40:51 +00:00
christos
384a097b90 Revert my change again. Now I see what was wrong... My CVS files were corrupted. 2009-06-10 12:48:06 +00:00
christos
9f591f8731 reference the correct dirs. 2009-06-10 01:11:50 +00:00
mrg
61f69f3e37 remove a ../ from a few paths to make sure we get the right components. 2009-06-09 02:35:19 +00:00
mrg
8cb9c15e18 use the correct set of LIBDPLIBS. 2009-06-09 02:32:22 +00:00
mrg
5e0739e774 fix PR/41557: fix src/compat build for 64 bit platforms by building
the 32 bit netpgp lib.
2009-06-08 15:39:43 +00:00
christos
e6cdc676f4 revert previous broken change 2009-06-08 01:22:53 +00:00
christos
b9499fcb74 glue in openssh 2009-06-07 22:59:22 +00:00
christos
50af0946b9 we need SHLINKINSTALLDIR to be /libexec for /bin and /sbin binaries. 2009-05-19 20:27:50 +00:00
christos
f511ba8667 don't define SHLINKINSTALLDIR in 10 places. It is done in Makefile.compat 2009-05-19 20:27:22 +00:00
christos
443bace5e2 add glue for libmagic 2009-05-08 17:54:22 +00:00
christos
8ee7d2207a add compat glue 2009-05-08 17:53:59 +00:00
christos
393e163e85 Add openldap from Kurt Schreiner. Really, this should just contain:
.include "../../../external/lib/Makefile"

but unfortunately we can't do this yet because we are missing:

SUBDIR+= ../../crypto/external/lib
SUBDIR+= ../bsd/fetch/lib
SUBDIR+= ../bsd/libarchive/lib
SUBDIR+= ../bsd/am-utils/lib

Yelp!
2009-04-14 21:20:49 +00:00
christos
a920c3ef92 Descend into external/lib like the regular external Makefile does, should
make objects properly.
XXX: Now we will descend into lib twice (same as the regular external Makefile
from the top level.
2009-04-14 17:51:57 +00:00
christos
c9b1bc05c2 revert previous. we want to link against the compat libs not the regular
ones.
2009-04-14 17:33:27 +00:00
martin
4d6d63eaa4 Replace (wrong) long ../../../ path to library source dir with
a ${NETBSDSRCDIR} based one.
2009-04-14 10:39:37 +00:00
christos
510f6be6ed add 32 bit build blue. 2009-04-12 23:04:47 +00:00
christos
2314898e60 build bind libs too 2009-04-12 22:42:36 +00:00
abs
f681b265bc Prefer MACHINE_ARCH to MACHINE in some tests 2009-03-12 17:16:58 +00:00
uebayasi
23d15c748d Back ou previous because it broke build. Sorry for inconvenience. 2009-02-20 02:43:02 +00:00
uebayasi
d18964358a I see no reason why dependall: definition is needed here, and as far as I
test, commenting it out causes no change.
2009-02-18 06:09:55 +00:00
abs
515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
abs
3a3c2358c6 Use MACHINE_ARCH rather than MACHINE - no functional change 2009-02-14 13:24:32 +00:00
mrg
14be4b6c0e delete these unused directories now. 2009-01-26 06:25:38 +00:00
tron
31faff7381 Include "bsd.own.mk" to get the definition of "NETBSDSRCDIR" via
"/etc/mk.conf". This fixes manual use of "make cleandir".
2009-01-20 22:49:29 +00:00
jmmv
b5e5aa9ff1 Add the top-level do-compat-external-lib target that mimics
do-external-lib so that we can build the compat libraries for
ATF.  Also add compat/external/lib/Makefile following the same
example of external/lib/Makefile, which descends into the
external libraries and builds them.
2009-01-19 07:19:09 +00:00
jmmv
eca938b2b2 Add reachover Makefiles to build the compat libraries for ATF. 2009-01-19 07:17:19 +00:00
jmmv
b283e87de2 Generate compatibility Makefiles for the libraries provided by ATF. 2009-01-19 07:16:38 +00:00
jmmv
020cc7cb12 Fix typo. 2009-01-13 17:52:32 +00:00
mrg
560baaf0fe XXX: change .PATH: to .PATH.c: so that make does not find the
XXX: generated in non-compat dir tconfig.h.  as reported by
XXX: several folks.
2008-12-02 21:43:09 +00:00
dogcow
44b48a9ad4 We also need a 32-bit librumpvfs when building on 64-bit arches.
Fix by pooka.
2008-11-28 08:57:54 +00:00
pooka
cb104c6b41 Add rumpvfs to compat, hinted by wiz.
Didn't use build-makefiles, so hopefully this is right.
2008-11-19 21:29:02 +00:00
christos
3829e11930 Add a horrible kludge to make this build on sparc64, explained in the Makefile. 2008-11-04 15:25:58 +00:00
mlelstv
3ce2b4a9f2 Add Makefiles and file lists for various optional crypto libraries.
Fixes PR lib/39846 and needs to be pulled up to netbsd-5.
2008-11-03 23:43:16 +00:00
christos
5ad9f5a304 fix build. 2008-11-01 00:02:14 +00:00
christos
7d3d8b672b fix build 2008-10-31 23:54:38 +00:00
christos
395cd57d80 fix build. 2008-10-31 23:54:14 +00:00
christos
b2df64760a fix build 2008-10-31 23:41:48 +00:00
mrg
9b0170606d make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc,
maybe all mips and all arm as well.
2008-10-31 20:24:51 +00:00
mrg
a80ac6ddd0 use just <bsd.prog.mk>. fixes build problem reported by paul goyotte. 2008-10-30 21:53:41 +00:00
mrg
1fa0d84f80 add !(MKPUFFS != "no") libraries, now required.
XXX: distrib still to come.
2008-10-30 05:40:43 +00:00
mrg
1a19af002d need to set MKDEPFLAGS to -m32 as well 2008-10-28 22:58:23 +00:00
mrg
7a71ee4b9a regenerate. 2008-10-27 08:00:01 +00:00
mrg
e2cfe5af93 support /usr/lib/<arch>/security/. 2008-10-27 07:58:42 +00:00
mrg
e7cefcd523 sync these. 2008-10-27 07:42:55 +00:00
mrg
0624cb55ce regenerate. 2008-10-27 07:22:51 +00:00
mrg
b3b68f3431 update this to match reality. 2008-10-27 07:22:22 +00:00
mrg
14e2f986bd add a lame hack to ensure that the 32 bit library dirs exist. 2008-10-27 07:18:44 +00:00
mrg
bf97c88ee5 - add lib/libpam/modules
- fix ipsec special case
2008-10-27 07:17:05 +00:00
mrg
2e90d9c30d parse LIBDPLIBS out of each subdir Makefile, and set it in the compat
Makefile if so.  force early eval of LIBDPLIBS.  now compat libs that
need to link against other libs will find them at build time.
2008-10-27 03:17:58 +00:00
mrg
f6f31614b1 regenerate 2008-10-26 13:00:35 +00:00
mrg
84800db5ca make this almost output almost identical to what is about to be checked in. 2008-10-26 12:58:38 +00:00
mrg
8e1af7403c remove a no longer necessary piece of makefile code that was
wrong for amd64 anyway.  spotted by ad.
2008-10-26 12:46:32 +00:00
mrg
28d618d682 build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.
two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding


ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet.  see the README
file for mroe details.
2008-10-26 07:38:27 +00:00