|
|
52d60d |
SHARED_LIB_DEPS =
|
|
|
52d60d |
SHARED_APP_DEPS =
|
|
|
52d60d |
STATIC_APP_DEPS =
|
|
|
52d60d |
|
|
|
b895c9 |
COMMON_LOBJS = $(COMMON_SRCS:.c=.lo)
|
|
|
b895c9 |
COMMON_OBJS = $(COMMON_SRCS:.c=.o)
|
|
|
52d60d |
|
|
|
b895c9 |
ARCH_LOBJS = $(ARCH_SRCS:.c=.lo)
|
|
|
b895c9 |
ARCH_OBJS = $(ARCH_SRCS:.c=.o)
|
|
|
52d60d |
|
|
|
b895c9 |
SHARED_OBJS = $(COMMON_LOBJS) $(ARCH_LOBJS)
|
|
|
b895c9 |
STATIC_OBJS = $(COMMON_OBJS) $(ARCH_OBJS)
|
|
|
52d60d |
|
|
|
b895c9 |
SHARED_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
|
|
|
b895c9 |
STATIC_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
|
|
|
b895c9 |
SHARED_IMPLIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
|
|
|
52d60d |
|
|
|
52d60d |
CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \
|
|
|
b895c9 |
$(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \
|
|
|
52d60d |
$(CFLAGS_PATH)
|
|
|
52d60d |
|
|
|
b895c9 |
CFLAGS_SHARED = $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
|
|
|
b895c9 |
CFLAGS_STATIC = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
|
|
|
52d60d |
|
|
|
52d60d |
LDFLAGS_SHARED = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
52d60d |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
52d60d |
$(LDFLAGS_PATH) $(SHARED_LIB_DEPS) $(LDFLAGS_LAST)
|
|
|
52d60d |
|
|
|
52d60d |
LDFLAGS_STATIC = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
52d60d |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
52d60d |
$(LDFLAGS_PATH) $(STATIC_APP_DEPS) $(LDFLAGS_LAST)
|