29 lines
606 B
Makefile
29 lines
606 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 fscall.c \
|
|
tll.c comm.c worker.c coredump.c
|
|
|
|
.if ${MKCOVERAGE} != "no"
|
|
SRCS+= gcov.c
|
|
CPPFLAGS+= -DUSE_COVERAGE
|
|
.endif
|
|
|
|
DPADD+= ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
|
|
LDADD+= -lsys -ltimers -lexec -lmthread
|
|
|
|
.if ${COMPILER_TYPE} == "gnu"
|
|
LDADD+= -lc
|
|
.endif
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
INSTALLFLAGS+= -S 16k
|
|
|
|
.include <minix.bootprog.mk>
|