2014-10-22 09:18:53 +02:00
|
|
|
include $(SRC_PATH)build/arch.mk
|
2014-02-19 02:54:27 +01:00
|
|
|
SHAREDLIBSUFFIX = so
|
2014-11-13 14:18:33 +01:00
|
|
|
SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION)
|
|
|
|
SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER)
|
2014-04-01 03:24:10 +02:00
|
|
|
CFLAGS += -fPIC
|
2013-12-16 08:10:26 +01:00
|
|
|
LDFLAGS += -lpthread
|
2014-03-01 01:03:13 +01:00
|
|
|
ifeq ($(ASM_ARCH), x86)
|
2014-01-26 09:21:56 +01:00
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f elf64
|
|
|
|
else
|
|
|
|
ASMFLAGS += -f elf
|
|
|
|
endif
|
2014-03-01 01:03:13 +01:00
|
|
|
endif
|
2013-12-16 08:10:26 +01:00
|
|
|
|