2011-08-17 15:23:45 +02:00
|
|
|
# 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 fscall.c \
|
2011-12-08 11:47:11 +01:00
|
|
|
tll.c comm.c worker.c coredump.c
|
2011-08-17 15:23:45 +02:00
|
|
|
|
|
|
|
.if ${MKCOVERAGE} != "no"
|
|
|
|
SRCS+= gcov.c
|
|
|
|
CPPFLAGS+= -DUSE_COVERAGE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
DPADD+= ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
|
|
|
|
LDADD+= -lsys -ltimers -lexec -lmthread
|
|
|
|
|
2011-09-08 15:57:03 +02:00
|
|
|
.if ${COMPILER_TYPE} == "gnu"
|
|
|
|
LDADD+= -lc
|
|
|
|
.endif
|
|
|
|
|
2011-08-17 15:23:45 +02:00
|
|
|
MAN=
|
|
|
|
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
INSTALLFLAGS+= -S 16k
|
|
|
|
|
|
|
|
.include <minix.bootprog.mk>
|