beegfs/meta/build/Makefile
2025-08-10 01:34:16 +02:00

32 lines
723 B
Makefile

include ../../build/Makefile
main := ../source/program/Main.cpp
sources := $(filter-out $(main), $(shell find ../source -iname '*.cpp'))
$(call build-static-library,\
Meta,\
$(sources),\
common dl blkid uuid nl3-route,\
../source)
$(call define-dep-lib,\
Meta,\
-I ../source,\
$(build_dir)/libMeta.a)
$(call build-executable,\
beegfs-meta,\
$(main),\
Meta common dl blkid uuid nl3-route)
$(call build-test,\
test-runner,\
$(shell find ../tests -name '*.cpp'),\
Meta common dl blkid uuid nl3-route,\
../tests)
# enable special reference DirInode debug code
ifneq ($(BEEGFS_DEBUG_RELEASE_DIR),) # extra release dir debugging
CXXFLAGS += -DBEEGFS_DEBUG_RELEASE_DIR
endif