libmagicrt: integrate into build system

The magic runtime library is now built as part of the regular build, if
the MKMAGIC=yes flag is passed to the build system.  The library has
been renamed from "magic" to "magicrt" to resolve a name clash with BSD
file(1)'s libmagic.  All its level-5 LLVM warnings have been resolved.
 The final library, "libmagicrt.bcc", is now stored in the destination
library directory rather than in the source tree.

Change-Id: Iebd4b93a2cafbb59f95d938ad1edb8b4f6e729f6
This commit is contained in:
David van Moolenbroek
2015-11-11 13:43:01 +01:00
committed by Lionel Sambuc
parent 23199f6205
commit b2ed49a5d8
50 changed files with 388 additions and 480 deletions

View File

@@ -62,6 +62,10 @@ SUBDIR+= ../minix/lib/libclkconf \
../minix/lib/libi2cdriver
.endif
.if (${MKMAGIC} == "yes")
SUBDIR+= ../minix/lib/libmagicrt
.endif
.endif # defined(__MINIX)
#
# The SUBDIRs above are included here for completeness but should be built