Commit Graph

108 Commits

Author SHA1 Message Date
joerg 067600c8cf Revert last, it breaks the tricks xsrc uses. 2012-08-23 21:21:14 +00:00
joerg 8e96262375 Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
joerg 933525b99b Implement build_install in src/lib/Makefile, which traverses the
subdirectories and invokes dependall/install. Do this in groups
delimited by .WAIT to ensure that depending libraries can use the
installed versions and don't need to know the locations in the source
tree.

Use this new target in src/Makefile to replace most of the adhoc library
logic with two special cases, src/lib and src/compat. Adjust
sys/Makefile to include the module directory when building them. Add
some necessary .WAITs in src/lib/Makefile to reflect the dependencies
from src/Makefile and also add the rump libraries here.
2012-08-17 16:22:27 +00:00
matt 4d4aee085b Initial MKCOMPAT support for ARM EABI. (doesn't quite work right) 2012-08-03 08:02:47 +00:00
wiz cbdb6a1f71 Fix typos; wording.
From patch by Bug Hunting.
2012-03-29 18:35:11 +00:00
mrg e9341e1933 build compat versions of libgomp for everything except mips N64 (for now.) 2011-09-23 06:44:36 +00:00
mrg 3f11e25c49 build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc.  not convinced it is worth it.
2011-07-21 03:13:30 +00:00
mrg c590ede942 make mips64 builds of gmp and mpfr work including compat libs. 2011-07-10 03:05:33 +00:00
mrg 4bd91dda69 the gmp/mpfr subdirs are mipsel/mipseb. 2011-07-04 12:00:49 +00:00
mrg 95be9d4b80 - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
2011-07-01 01:30:16 +00:00
mrg c1c3cc3782 avoid adding -m32 to various variables multiple times aka, multiple inclusions. 2011-06-18 01:22:34 +00:00
mrg df0710a4ad catch up with s/MAKEDIROBJPREFIX/MAKEOBJDIR/ changes in comments. 2011-04-17 01:29:06 +00:00
matt 342cb4ea9b if using MAKEOBJDIRPREFIX, make sure to unset it since it would override
the use of MAKEOBJDIR.
2011-01-31 10:58:14 +00:00
matt 2f7e00c1c8 Change to use MAKEOBJDIR instead of MAKEOBJDIRPREFIX 2011-01-20 18:43:52 +00:00
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