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