mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
7c167ffa5d
git-svn-id: file:///svn/toku/tokudb.1032b@8426 c7de825b-a66e-492c-adef-691d508d4ae1
23 lines
514 B
Makefile
23 lines
514 B
Makefile
# -*- Mode: Makefile -*-
|
|
|
|
.DEFAULT_GOAL=install
|
|
TOKUROOT=../
|
|
INCLUDEDIRS=-I$(TOKUROOT)include/linux
|
|
include $(TOKUROOT)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)
|
|
|
|
$(OBJS): CFLAGS += -DTOKU_ALLOW_DEPRECATED
|
|
|
|
install: $(TARGET)
|
|
$(MAYBEATSIGN)cp $(TARGET) $(LIBPORTABILITY)
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
clean:
|
|
$(MAYBEATSIGN)rm -rf $(TARGET) $(LIBPORTABILITY)
|
|
|