initial import

This commit is contained in:
2026-01-23 14:41:49 +02:00
commit 772657d9be
37 changed files with 11382 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo
GOFLAGS= -v
sbin_PROGRAMS = mstored
mstored_SOURCES = cmd/mstored/mstored.go
mstored$(EXEEXT): $(mstored_SOURCES)
env CGO_ENABLED=1 $(GO) build $(GOFLAGS) -o mstored$(EXEEXT) $(mstored_SOURCES)
run: mstored$(EXEEXT)
$(CWD)/mstored$(EXEEXT)
CWD=$(shell pwd)
format:
dirs=$$($(FIND) $(CWD) -name '*.go' | $(XARGS) -n1 dirname | $(SORT) | $(UNIQ)); \
for dir in $$dirs;do \
(echo "====$$dir===="; cd $$dir && $(GO) fmt .); \
done
clean-local:
$(FIND) $(CWD) -name '*~' | $(XARGS) rm -f
rm -rf autom4te.cache