1 LIBS3_PATH=$(HOME)/scratch/libs3-1.4/build
2 PACKAGES=glib-2.0 gthread-2.0
4 CFLAGS=-Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) -I.. \
5 $(shell pkg-config --cflags $(PACKAGES))
6 LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
8 SRCS=nfsd.c rpc.c mount.c nfs3.c mount_prot_xdr.c nfs3_prot_xdr.c
12 $(CXX) $(LDFLAGS) -o $@ $^ ../bluesky.a -Wl,-rpath=$(LIBS3_PATH)/lib -L$(LIBS3_PATH)/lib -ls3
15 rm -f $(OBJS) nfsproxy
19 makedepend -fMakefile.dep $(SRCS)