2014-10-22 10:18:53 +03:00
|
|
|
include $(SRC_PATH)build/arch.mk
|
2014-02-18 17:54:27 -08:00
|
|
|
SHAREDLIBSUFFIX = so
|
2014-11-13 18:48:33 +05:30
|
|
|
SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION)
|
|
|
|
SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER)
|
2014-03-31 18:24:10 -07:00
|
|
|
CFLAGS += -fPIC
|
2013-12-16 07:10:26 +00:00
|
|
|
LDFLAGS += -lpthread
|
2014-03-01 02:03:13 +02:00
|
|
|
ifeq ($(ASM_ARCH), x86)
|
2015-04-20 11:47:41 +03:00
|
|
|
ifeq ($(ARCH), x86_64)
|
2014-01-26 10:21:56 +02:00
|
|
|
ASMFLAGS += -f elf64
|
|
|
|
else
|
|
|
|
ASMFLAGS += -f elf
|
|
|
|
endif
|
2014-03-01 02:03:13 +02:00
|
|
|
endif
|
2013-12-16 07:10:26 +00:00
|
|
|
|