1 # Makefile for File System (FS)
10 # programs, flags, etc.
12 CFLAGS
= -I
$i $(EXTRA_OPTS
) $(CPROFILE
)
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
24 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
25 install -S
64k
$(SERVER
)
28 install $(SERVER
) /sbin
/$(SERVER
)
30 # clean up local files
32 rm -f
$(SERVER
) *.o
*.bak
35 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
37 # Include generated dependencies.