2014-02-25 22:48:35 +01:00
|
|
|
include build/platform-arch.mk
|
2014-02-19 02:54:27 +01:00
|
|
|
SHAREDLIBSUFFIX = dylib
|
2014-02-24 11:05:21 +01:00
|
|
|
SHARED = -dynamiclib
|
2014-05-12 11:06:16 +02:00
|
|
|
CFLAGS += -Wall -fPIC -MMD -MP
|
2013-12-16 08:31:00 +01:00
|
|
|
LDFLAGS += -lpthread
|
2014-02-26 13:47:22 +01:00
|
|
|
ifeq ($(ASM_ARCH), x86)
|
2014-03-15 11:47:57 +01:00
|
|
|
ASMFLAGS += -DPREFIX
|
2014-01-03 07:49:45 +01:00
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f macho64
|
|
|
|
else
|
|
|
|
ASMFLAGS += -f macho
|
2014-02-19 20:14:06 +01:00
|
|
|
LDFLAGS += -read_only_relocs suppress
|
2014-01-03 07:49:45 +01:00
|
|
|
endif
|
2014-02-26 13:47:22 +01:00
|
|
|
endif
|
2014-01-03 07:49:45 +01:00
|
|
|
|