4b999f1962
building defaults to off until clang is updated. current clang does not handle -shared, necessary to change the ld invocation to build shared libraries properly. a new clang should be installed and MKPIC defaults to no unless the newer clang is detected. changes: . mainly small imports of a Makefile or two and small fixes (turning things back on that were turned off in Makefiles) . e.g.: dynamic librefuse now depends on dynamic libpuffs, so libpuffs has to be built dynamically too and a make dependency barrier is needed in lib/Makefile . all library objects now have a PIC (for .so) and non-PIC version, so everything is built twice. . generate PIC versions of the compat (un-RENAMEd) jump files, include function type annotation in generated assembly . build progs with -static by default for now . also build ld.elf_so . also import NetBSD ldd
23 lines
656 B
Makefile
23 lines
656 B
Makefile
.include <bsd.own.mk>
|
|
|
|
SUBDIR= csu
|
|
SUBDIR+= .WAIT
|
|
SUBDIR+= libc
|
|
SUBDIR+= .WAIT
|
|
SUBDIR+= libcompat_minix libc libblockdriver libchardriver \
|
|
libnetdriver libedit libm libsys libtimers libutil \
|
|
libl libz libfetch libvtreefs libaudiodriver libmthread \
|
|
libexec libdevman libusb libminlib libasyn \
|
|
libddekit libminixfs libbdev libelf libminc libcrypt libterminfo \
|
|
libvassert libutil libbz2 libarchive libprop \
|
|
libnetsock libpuffs libsffs libhgfs libvboxfs
|
|
|
|
SUBDIR+= ../external/public-domain/xz/lib
|
|
|
|
# libraries that follow depend on earlier ones
|
|
|
|
SUBDIR+= .WAIT
|
|
SUBDIR+= librefuse
|
|
SUBDIR+= libcurses
|
|
|
|
.include <bsd.subdir.mk>
|