X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=nfs3%2FCMakeLists.txt;h=ee5e49bc04ec48de3349f54bdb50a3b6e6f98e98;hb=490c895cffe84e393268d62ac27962c5812225f7;hp=e6bf7f44c326443f6fcaa94080ab1828149a9496;hpb=a1ca7824a10cc1188b755b102e09c5bfa9ebdb40;p=bluesky.git diff --git a/nfs3/CMakeLists.txt b/nfs3/CMakeLists.txt index e6bf7f4..ee5e49b 100644 --- a/nfs3/CMakeLists.txt +++ b/nfs3/CMakeLists.txt @@ -1,7 +1,13 @@ -link_directories(/home/mvrable/scratch/libs3-1.4/build/lib) +set(KVSTORE_DIR "${CMAKE_SOURCE_DIR}/kvstore") +include_directories("${LIBS3_BUILD_DIR}/include" ${KVSTORE_DIR}) +link_directories("${LIBS3_BUILD_DIR}/lib" ${KVSTORE_DIR}) add_executable(nfsproxy - nfsd.c rpc.c mount.c nfs3.c mount_prot_xdr.c nfs3_prot_xdr.c) + common.c nfsd.c rpc.c mount.c nfs3.c + mount_prot_xdr.c nfs3_prot_xdr.c) + +add_executable(synclient synclient.c common.c nfs3_prot_xdr.c) include_directories(${GLIB_INCLUDE_DIRS} "${CMAKE_SOURCE_DIR}/bluesky") target_link_libraries(nfsproxy bluesky ${GLIB_LIBRARIES}) +target_link_libraries(synclient ${GLIB_LIBRARIES})