Initial start on a user-level NFS server.
[bluesky.git] / Makefile
1 PACKAGES=glib-2.0
2 DEBUG=-g
3 CFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
4         $(shell pkg-config --cflags $(PACKAGES))
5 LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
6
7 SRCS=nfsd.c rpc.c mount.c mount_prot_xdr.c
8 OBJS=$(SRCS:.c=.o)
9
10 nfsproxy : $(OBJS)
11         $(CC) $(LDFLAGS) -o $@ $^
12
13 clean :
14         rm -f $(OBJS) nfsproxy
15
16 dep :
17         touch Makefile.dep
18         makedepend -fMakefile.dep $(SRCS)
19
20 .PHONY : clean dep
21
22 -include *.dep