2013-04-16 23:57:27 -04:00
|
|
|
# -*- Mode: Makefile -*-
|
|
|
|
|
|
|
|
.DEFAULT_GOAL=install
|
|
|
|
TOKUROOT=../
|
|
|
|
INCLUDEDIRS=-I.
|
|
|
|
SKIP_LIBPORTABILITYRULE=1
|
|
|
|
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))
|
2013-04-16 23:57:30 -04:00
|
|
|
TARGET = libtokuportability.$(AEXT)
|
2013-04-16 23:57:27 -04:00
|
|
|
|
|
|
|
install: $(LIBPORTABILITY)
|
|
|
|
|
|
|
|
$(LIBPORTABILITY): $(TARGET)
|
2013-04-16 23:57:34 -04:00
|
|
|
cp $< $@
|
2013-04-16 23:57:27 -04:00
|
|
|
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
2013-04-16 23:57:34 -04:00
|
|
|
rm -rf $(TARGET) $(LIBPORTABILITY)
|
2013-04-16 23:57:27 -04:00
|
|
|
|