2013-04-16 23:59:01 -04:00
|
|
|
LIBPORTABILITY = lib/libtokuportability.$(SOEXT)
|
2013-04-16 23:58:59 -04:00
|
|
|
include linux/tests/make.include
|
2013-04-16 23:59:01 -04:00
|
|
|
linux/build: $(LIBPORTABILITY) linux/tests/build
|
2013-04-16 23:58:59 -04:00
|
|
|
|
|
|
|
LINUX_SRCS = $(wildcard linux/*.c)
|
|
|
|
LINUX_OBJS = $(patsubst %.c,%.$(OEXT),$(LINUX_SRCS))
|
|
|
|
|
2013-04-16 23:59:01 -04:00
|
|
|
$(LINUX_OBJS): CPPFLAGS_DIRECTORY = -Itoku_include -Ilinux
|
|
|
|
$(LINUX_OBJS): CFLAGS_DIRECTORY = -DTOKU_ALLOW_DEPRECATED
|
|
|
|
$(LINUX_OBJS): LDFLAGS_DIRECTORY =
|
|
|
|
$(LINUX_OBJS): LOADLIBES_DIRECTORY =
|
|
|
|
|
|
|
|
$(LINUX_OBJS): VISIBILITY=-fvisibility=default
|
2013-04-16 23:58:59 -04:00
|
|
|
$(LIBPORTABILITY): $(LINUX_OBJS)
|
2013-04-16 23:59:01 -04:00
|
|
|
$(LIBPORTABILITY): VISIBILITY=-fvisibility=default
|
|
|
|
$(LIBPORTABILITY): LOADLIBES=
|
|
|
|
$(LIBPORTABILITY): LDFLAGS=
|
2013-04-16 23:58:59 -04:00
|
|
|
|
|
|
|
linux/check: linux/tests/check
|