mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
63b1969fbb
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
25 lines
578 B
Makefile
25 lines
578 B
Makefile
BDB = 4_6
|
|
BDBDIR = ../../../berkeleydb
|
|
MYSQL_H = -I$(BDBDIR)/db-4.1.25/build_unix/
|
|
OPTFLAGS = -O2
|
|
ifeq ($(GCCVERSION),4.4.2)
|
|
GCC_VERSION_SPECIFIC_WARNINGS = -Wno-strict-aliasing -Wno-deprecated
|
|
else ifeq ($(GCCVERSION),4.4.1)
|
|
GCC_VERSION_SPECIFIC_WARNINGS = -Wno-strict-aliasing -Wno-deprecated
|
|
endif
|
|
CFLAGS = $(GCC_VERSION_SPECIFIC_WARNINGS) -Wall -W -Werror -g $(OPTFLAGS)
|
|
CPPFLAGS = -I. -I../toku_include
|
|
|
|
ifeq ($(CC),icc)
|
|
CFLAGS += -diag-disable 188
|
|
endif
|
|
|
|
default: ../include/db.h
|
|
|
|
../include/db.h: make_tdb
|
|
./make_tdb > $@
|
|
|
|
hfiles: tdb.h
|
|
|
|
clean:
|
|
rm -f *.o make_tdb
|