Commit Graph

6 Commits

Author SHA1 Message Date
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
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
christos b9499fcb74 glue in openssh 2009-06-07 22:59:22 +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
abs 3a3c2358c6 Use MACHINE_ARCH rather than MACHINE - no functional change 2009-02-14 13:24: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