mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 20:11:42 +01:00
cfb07b7d5d
fstat calls replaced with toku_os calls. fstat deprecated everywhere except the 'linux' portability directory git-svn-id: file:///svn/toku/tokudb.1032b@8264 c7de825b-a66e-492c-adef-691d508d4ae1
23 lines
539 B
Makefile
23 lines
539 B
Makefile
# -*- Mode: Makefile -*-
|
|
|
|
.DEFAULT_GOAL=install
|
|
TOKUROOT=../
|
|
INCLUDEDIRS=-I$(TOKUROOT)include/linux -I$(TOKUROOT)newbrt
|
|
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_FSTAT
|
|
|
|
install: $(TARGET)
|
|
$(MAYBEATSIGN)cp $(TARGET) $(LIBPORTABILITY)
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
clean:
|
|
$(MAYBEATSIGN)rm -rf $(TARGET) $(LIBPORTABILITY)
|
|
|