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