2010-03-22 22:25:22 +01:00
|
|
|
# Makefile for Virtual File System (VFS)
|
2011-08-09 10:39:33 +02:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-03-22 22:25:22 +01:00
|
|
|
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 \
|
2010-07-09 14:58:18 +02:00
|
|
|
lock.c misc.c utility.c select.c table.c \
|
2012-02-13 16:28:04 +01:00
|
|
|
vnode.c vmnt.c request.c fscall.c \
|
|
|
|
tll.c comm.c worker.c coredump.c
|
2011-08-09 10:39:33 +02:00
|
|
|
|
|
|
|
.if ${MKCOVERAGE} != "no"
|
2012-02-13 16:28:04 +01:00
|
|
|
SRCS+= gcov.c
|
2011-08-09 10:39:33 +02:00
|
|
|
CPPFLAGS+= -DUSE_COVERAGE
|
|
|
|
.endif
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-04-13 14:50:38 +02:00
|
|
|
CFLAGS+= -Wall -Wextra
|
2010-12-10 10:27:56 +01:00
|
|
|
DPADD+= ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
|
2012-02-13 16:28:04 +01:00
|
|
|
LDADD+= -lsys -ltimers -lexec -lmthread
|
|
|
|
|
2010-03-22 22:25:22 +01:00
|
|
|
MAN=
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-03-22 22:25:22 +01:00
|
|
|
BINDIR?= /usr/sbin
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2011-06-24 17:20:25 +02:00
|
|
|
.include <minix.bootprog.mk>
|