3f38115c7b
. define _MINIX_SYSTEM for all system code from minix.service.mk . hide some system-level declarations and definitions behind _MINIX_SYSTEM to cleanly fix host tool build problems on Minix (such as: NONE being defined and paddr_t being used but not declared) . the similar definition _SYSTEM is unsuitable as it changes the values of errno definitions Change-Id: I407de79e2575115243a074b16e79546a279cfa3e
23 lines
279 B
Makefile
23 lines
279 B
Makefile
NOGCCERROR=yes
|
|
NOCLANGERROR=yes
|
|
CPPFLAGS+= -D_MINIX_SYSTEM
|
|
|
|
# Makefile for libvtreefs
|
|
|
|
LIB= vtreefs
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/include
|
|
|
|
SRCS= \
|
|
inode.c \
|
|
link.c \
|
|
mount.c \
|
|
path.c \
|
|
read.c \
|
|
sdbm.c \
|
|
stadir.c \
|
|
table.c \
|
|
utility.c \
|
|
vtreefs.c
|
|
|
|
.include <bsd.lib.mk>
|