Hook NFS proxy together with BlueSky core.
[bluesky.git] / nfs3 / Makefile
1 PACKAGES=glib-2.0 gthread-2.0
2 DEBUG=-g
3 CFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) -I.. \
4         $(shell pkg-config --cflags $(PACKAGES))
5 LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
6
7 SRCS=nfsd.c rpc.c mount.c nfs3.c mount_prot_xdr.c nfs3_prot_xdr.c
8 OBJS=$(SRCS:.c=.o)
9
10 nfsproxy : $(OBJS)
11         $(CC) $(LDFLAGS) -o $@ $^ ../bluesky.a
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