mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
762601f0d2
git-svn-id: file:///svn/tokudb@26 c7de825b-a66e-492c-adef-691d508d4ae1
50 lines
1.8 KiB
Makefile
50 lines
1.8 KiB
Makefile
# GCOV_FLAGS = -fprofile-arcs -ftest-coverage
|
|
#PROF_FLAGS = -pg
|
|
#OPTFLAGS = -O2
|
|
CFLAGS = -Wall -W $(OPTFLAGS) -g $(GCOV_FLAGS) $(PROF_FLAGS) -Werror -fPIC
|
|
LDFLAGS = $(OPTFLAGS) -g $(GCOV_FLAGS) $(PROF_FLAGS)
|
|
|
|
default: bins
|
|
BINS = pma-test brt-test cachetable-test brt-serialize-test randbrt randdb4 hashtest ybt-test
|
|
bins: $(BINS)
|
|
check: bins
|
|
./ybt-test
|
|
./pma-test
|
|
./cachetable-test
|
|
./brt-serialize-test
|
|
./brt-test
|
|
./hashtest
|
|
# ./mdict-test
|
|
|
|
# pma: PROF_FLAGS=-fprofile-arcs -ftest-coverage
|
|
key.o: brttypes.h key.h
|
|
pma-test.o: pma-internal.h pma.h yerror.h memory.h ../include/ydb-constants.h
|
|
pma-test: pma.o memory.o key.o ybt.o
|
|
pma.o: pma.h yerror.h pma-internal.h memory.h key.h ybt.h brttypes.h ../include/ydb-constants.h
|
|
ybt.o: ybt.h brttypes.h
|
|
ybt-test: ybt-test.o ybt.o memory.o
|
|
cachetable.o: cachetable.h
|
|
brt-test: brt.o hashtable.o pma.o memory.o brt-serialize.o cachetable.o header-io.o ybt.o key.o
|
|
brt-test.o brt.o: brt.h cachetable.h brttypes.h
|
|
brt-serialize-test.o: pma.h yerror.h brt.h memory.h hashtable.h brttypes.h brt-internal.h
|
|
brt.o: brt.h mdict.h pma.h brttypes.h memory.h brt-internal.h cachetable.h
|
|
mdict.o: pma.h
|
|
hashtable.o: hashtable.h brttypes.h memory.h key.h yerror.h ../include/ydb-constants.h
|
|
memory.o: memory.h
|
|
hashtest: hashtable.o memory.o
|
|
brt-serialize.o: brt.h cachetable.h memory.h mdict.h pma.h brttypes.h brt-internal.h
|
|
header-io.o: brttypes.h brt-internal.h memory.h
|
|
mdict-test: hashtable.o pma.o memory.o
|
|
|
|
brt-serialize-test: brt-serialize-test.o brt-serialize.o memory.o hashtable.o pma.o key.o ybt.o
|
|
|
|
cachetable-test.o: cachetable.h memory.h
|
|
cachetable-test: cachetable.o memory.o cachetable-test.o
|
|
|
|
clean:
|
|
rm -rf *.o hashtest brt-test cachetable-test randbrt randdb4 *.bb *.bbg *.da
|
|
|
|
randdb4: LOADLIBES=-ldb
|
|
randbrt: brt.o hashtable.o cachetable.o memory.o brt-serialize.o
|
|
TAGS: ../*/*.c ../*/*.h
|
|
etags ../*/*.c ../*/*.h
|