mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
3b42b55489
git-svn-id: file:///svn/toku/tokudb@9507 c7de825b-a66e-492c-adef-691d508d4ae1
27 lines
571 B
Makefile
27 lines
571 B
Makefile
# -*- Mode: Makefile -*-
|
|
|
|
.DEFAULT_GOAL=install
|
|
TOKUROOT=../
|
|
INCLUDEDIRS=-I.
|
|
SKIP_LIBPORTABILITYRULE=1
|
|
include $(TOKUROOT)toku_include/Makefile.include
|
|
|
|
OPT_AROPT=-qnoipo #Disable ipo for lib creation even when optimization is on.
|
|
|
|
SRCS = $(wildcard *.c)
|
|
OBJS = $(patsubst %.c,%.$(OEXT),$(SRCS))
|
|
TARGET = libtokuportability.$(AEXT)
|
|
|
|
build install: $(LIBPORTABILITY)
|
|
|
|
$(LIBPORTABILITY): $(TARGET)
|
|
if ! diff $< $@ 2>/dev/null; then cp $< $@; fi
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
$(OBJS): CFLAGS += -DTOKU_ALLOW_DEPRECATED
|
|
#Blank on purpose
|
|
|
|
clean:
|
|
rm -rf $(TARGET) $(LIBPORTABILITY)
|
|
|