projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt at building with CMake.
[bluesky.git]
/
nfs3
/
Makefile
diff --git
a/nfs3/Makefile
b/nfs3/Makefile
index
59ee50b
..
9905682
100644
(file)
--- 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
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))
$(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)
OBJS=$(SRCS:.c=.o)
nfsproxy : $(OBJS)
- $(C
C) $(LDFLAGS) -o $@ $^ ../bluesky.a
+ $(C
XX) $(LDFLAGS) -o $@ $^ ../bluesky.a -Wl,-rpath=$(LIBS3_PATH)/lib -L$(LIBS3_PATH)/lib -ls3
clean :
rm -f $(OBJS) nfsproxy
clean :
rm -f $(OBJS) nfsproxy