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