. service tells you which device it couldn't stat
[minix3.git] / servers / mfs / Makefile
blob1f97664ed1ba53cd0c84200b0e2d4aeb69aae6ce
1 # Makefile for File System (FS)
2 SERVER = mfs
4 # directories
5 u = /usr
6 i = $u/include
7 s = $i/sys
8 h = $i/minix
10 # programs, flags, etc.
11 CC = exec cc
12 CFLAGS = -I$i $(EXTRA_OPTS) $(CPROFILE)
13 LDFLAGS = -i
14 LIBS = -lsysutil -lsys -ltimers
16 OBJ = cache.o device.o link.o \
17 mount.o misc.o open.o pipe.o protect.o read.o \
18 stadir.o table.o time.o utility.o \
19 write.o inode.o main.o path.o super.o
21 # build local binary
22 all build: $(SERVER)
23 $(SERVER): $(OBJ)
24 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
25 install -S 64k $(SERVER)
27 install: $(SERVER)
28 install $(SERVER) /sbin/$(SERVER)
30 # clean up local files
31 clean:
32 rm -f $(SERVER) *.o *.bak
34 depend:
35 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
37 # Include generated dependencies.
38 include .depend