|
|
54cd2a |
SHARED_LIB_DEPS +=
|
|
|
54cd2a |
SHARED_APP_DEPS +=
|
|
|
54cd2a |
STATIC_APP_DEPS +=
|
|
|
5b49a6 |
|
|
|
54cd2a |
COMMON_LOBJS += $(COMMON_SRCS:.c=.lo)
|
|
|
54cd2a |
COMMON_OBJS += $(COMMON_SRCS:.c=.o)
|
|
|
5b49a6 |
|
|
|
54cd2a |
ARCH_LOBJS += $(ARCH_SRCS:.c=.lo)
|
|
|
54cd2a |
ARCH_OBJS += $(ARCH_SRCS:.c=.o)
|
|
|
5b49a6 |
|
|
|
54cd2a |
APP_LOBJS += $(APP_SRCS:.c=.lo)
|
|
|
54cd2a |
APP_OBJS += $(APP_SRCS:.c=.o)
|
|
|
5b49a6 |
|
|
|
54cd2a |
SHARED_OBJS += $(COMMON_LOBJS) $(ARCH_LOBJS)
|
|
|
54cd2a |
STATIC_OBJS += $(COMMON_OBJS) $(ARCH_OBJS)
|
|
|
5b49a6 |
|
|
|
3aef79 |
STATIC_LIB_NAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
|
|
|
3aef79 |
STATIC_LIB = lib/$(STATIC_LIB_NAME)
|
|
|
5b49a6 |
|
|
|
3aef79 |
DSO_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_PREFIXED_SUFFIX)$(VER_XYZ)$(OS_LIB_SUFFIXED_SUFFIX)
|
|
|
3aef79 |
DSO_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_PREFIXED_SUFFIX)$(VER_SONAME)$(OS_LIB_SUFFIXED_SUFFIX)
|
|
|
3aef79 |
DSO_SOLINK = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
|
|
|
5b49a6 |
|
|
|
3aef79 |
SHARED_LIB = lib/$(DSO_VER)
|
|
|
3aef79 |
SHARED_SONAME = lib/$(DSO_SONAME)
|
|
|
3aef79 |
SHARED_SOLINK = lib/$(DSO_SOLINK)
|
|
|
5b49a6 |
|
|
|
3aef79 |
IMP_DEF = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_XYZ)$(OS_LIBDEF_EXT)
|
|
|
3aef79 |
IMP_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_XYZ)$(OS_IMPLIB_EXT)
|
|
|
3aef79 |
IMP_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_SONAME)$(OS_IMPLIB_EXT)
|
|
|
3aef79 |
IMP_SOLINK = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
|
|
|
5b49a6 |
|
|
|
3aef79 |
IMPLIB_DEF = lib/$(IMP_DEF)
|
|
|
3aef79 |
IMPLIB_VER = lib/$(IMP_VER)
|
|
|
3aef79 |
IMPLIB_SONAME = lib/$(IMP_SONAME)
|
|
|
3aef79 |
IMPLIB_SOLINK = lib/$(IMP_SOLINK)
|
|
|
5b49a6 |
|
|
|
3aef79 |
APP = bin/$(OS_APP_PREFIX)$(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
3aef79 |
DEFAULT_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-default$(OS_APP_SUFFIX)
|
|
|
3aef79 |
SHARED_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-shared$(OS_APP_SUFFIX)
|
|
|
3aef79 |
STATIC_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-static$(OS_APP_SUFFIX)
|
|
|
5b49a6 |
|
|
|
3aef79 |
CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \
|
|
|
3aef79 |
$(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \
|
|
|
3aef79 |
$(CFLAGS_PATH) $(CFLAGS_OS) $(CFLAGS_SITE) \
|
|
|
3aef79 |
$(CFLAGS_VERSION) $(CFLAGS_STRICT) \
|
|
|
3aef79 |
$(CFLAGS_LAST) $(CFLAGS_ONCE)
|
|
|
5b49a6 |
|
|
|
3aef79 |
CFLAGS_SHARED = $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
|
|
|
3aef79 |
CFLAGS_STATIC = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
|
|
|
3aef79 |
CFLAGS_APP = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_APP_ATTR) $(CFLAGS_UTIL)
|
|
|
5b49a6 |
|
|
|
3aef79 |
LDFLAGS_SHARED = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
3aef79 |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
3aef79 |
$(LDFLAGS_PATH) $(SHARED_LIB_DEPS) $(LDFLAGS_STRICT) \
|
|
|
3aef79 |
$(LDFLAGS_LAST) $(LDFLAGS_ONCE)
|
|
|
5b49a6 |
|
|
|
3aef79 |
LDFLAGS_APP = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
3aef79 |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
3aef79 |
$(LDFLAGS_PATH) $(SHARED_APP_DEPS) $(LDFLAGS_STRICT) \
|
|
|
3aef79 |
$(LDFLAGS_UTIL) $(LDFLAGS_LAST) $(LDFLAGS_ONCE)
|
|
|
5b49a6 |
|
|
|
3aef79 |
LDFLAGS_STATIC = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
3aef79 |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
3aef79 |
$(LDFLAGS_PATH) $(STATIC_APP_DEPS) $(LDFLAGS_STRICT) \
|
|
|
3aef79 |
$(LDFLAGS_LAST) $(LDFLAGS_ONCE)
|