Mercurial > nomad
view src/objstore/CMakeLists.txt @ 899:b14fd508b72a
objstore: rename obj_ops.c to obj_open.c
This is a better name for a file that contains objstore_{open,close}.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Mon, 19 Dec 2022 19:55:24 -0500 |
parents | cbeaf88784a3 |
children |
line wrap: on
line source
# # Copyright (c) 2015-2020,2022 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # add_library(nomad_objstore SHARED cache.c dir.c dirblock.c dirent.c dirent_target_packing.c obj.c obj_attr.c obj_create.c obj_dir.c obj_info.c obj_link.c obj_open.c obj_rw.c obj_unlink.c objstore.c txn.c vdev.c vol.c vol_ops.c ) target_link_libraries(nomad_objstore PRIVATE ${BASE_LIBS} dl common ) install(TARGETS nomad_objstore DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) install(FILES include/nomad/objstore.h include/nomad/objstore_backend.h DESTINATION include/nomad PERMISSIONS OWNER_READ GROUP_READ WORLD_READ) add_subdirectory(posix)