X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=nfs3%2FMakefile;h=3b097163b6d0b68329f35ca6f17658540717cd36;hb=386250b1e7b69e1050b8eb96402ea764dbc77b25;hp=59ee50b1d91be6671ba2ff1de061a4f38517b85c;hpb=8819789ef2264b26aebfae489932a447f6e0f65f;p=bluesky.git diff --git a/nfs3/Makefile b/nfs3/Makefile index 59ee50b..3b09716 100644 --- a/nfs3/Makefile +++ b/nfs3/Makefile @@ -1,6 +1,7 @@ +LIBS3_PATH=$(HOME)/scratch/libs3-1.4/build PACKAGES=glib-2.0 gthread-2.0 DEBUG=-g -CFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) -I.. \ +CFLAGS=-Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) -I.. \ $(shell pkg-config --cflags $(PACKAGES)) LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES)) @@ -8,7 +9,7 @@ SRCS=nfsd.c rpc.c mount.c nfs3.c mount_prot_xdr.c nfs3_prot_xdr.c OBJS=$(SRCS:.c=.o) nfsproxy : $(OBJS) - $(CC) $(LDFLAGS) -o $@ $^ ../bluesky.a + $(CC) $(LDFLAGS) -o $@ $^ ../bluesky.a -Wl,-rpath=$(LIBS3_PATH)/lib -L$(LIBS3_PATH)/lib -ls3 clean : rm -f $(OBJS) nfsproxy