1 # Makefile for Virtual File System (VFS)
5 SRCS
= main.c open.c read.c write.c pipe.c dmap.c \
6 path.c device.c mount.c link.c exec.c \
7 filedes.c stadir.c protect.c time.c \
8 lock.c misc.c utility.c select.c table.c \
9 vnode.c vmnt.c request.c \
10 tll.c comm.c worker.c coredump.c \
11 bdev.c cdev.c sdev.c smap.c socket.c
13 .if
${MKCOVERAGE} != "no"
15 CPPFLAGS
+= -DUSE_COVERAGE
19 #LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -O3
20 CWARNFLAGS.gcc
+= -Wno-maybe-uninitialized
21 .
endif # defined(__MINIX)
23 CFLAGS
+= -Wall
-Wextra
-Wno-sign-compare
-Werror
24 DPADD
+= ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
25 LDADD
+= -lsys
-ltimers
-lexec
-lmthread
27 .
include <minix.service.mk
>