Move Minix-specific parameters from bsd.gcc.mk to bsd.own.mk, which is any way patched. This enables then bsd.gcc.mk to be aligned on the NetBSD version. Also remove a few duplicate settings which are not anymore needed. Change-Id: I93384527d3a2f18c8ece9fab9d24aa7ef8516a2d
26 lines
573 B
Makefile
26 lines
573 B
Makefile
# Makefile for Virtual File System (VFS)
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= vfs
|
|
SRCS= main.c open.c read.c write.c pipe.c dmap.c \
|
|
path.c device.c mount.c link.c exec.c \
|
|
filedes.c stadir.c protect.c time.c \
|
|
lock.c misc.c utility.c select.c table.c \
|
|
vnode.c vmnt.c request.c \
|
|
tll.c comm.c worker.c coredump.c
|
|
|
|
.if ${MKCOVERAGE} != "no"
|
|
SRCS+= gcov.c
|
|
CPPFLAGS+= -DUSE_COVERAGE
|
|
.endif
|
|
|
|
CFLAGS+= -Wall -Wextra -Werror -Wno-sign-compare
|
|
DPADD+= ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
|
|
LDADD+= -lsys -ltimers -lexec -lmthread
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
.include <minix.service.mk>
|