25 lines
556 B
Makefile
25 lines
556 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
|
|
DPADD+= ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
|
|
LDADD+= -lsys -ltimers -lexec -lmthread
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
.include <minix.bootprog.mk>
|