|
|
b0d9d6 |
SHARED_LIB_DEPS +=
|
|
|
b0d9d6 |
SHARED_APP_DEPS +=
|
|
|
b0d9d6 |
STATIC_APP_DEPS +=
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
COMMON_LOBJS += $(COMMON_SRCS:.c=.lo)
|
|
|
b0d9d6 |
COMMON_OBJS += $(COMMON_SRCS:.c=.o)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
ARCH_LOBJS += $(ARCH_SRCS:.c=.lo)
|
|
|
b0d9d6 |
ARCH_OBJS += $(ARCH_SRCS:.c=.o)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
APP_LOBJS += $(APP_SRCS:.c=.lo)
|
|
|
b0d9d6 |
APP_OBJS += $(APP_SRCS:.c=.o)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
SHARED_OBJS += $(COMMON_LOBJS) $(ARCH_LOBJS)
|
|
|
b0d9d6 |
STATIC_OBJS += $(COMMON_OBJS) $(ARCH_OBJS)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
STATIC_LIB_NAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
|
|
|
b0d9d6 |
STATIC_LIB = lib/$(STATIC_LIB_NAME)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
DSO_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_PREFIXED_SUFFIX)$(VER_XYZ)$(OS_LIB_SUFFIXED_SUFFIX)
|
|
|
b0d9d6 |
DSO_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_PREFIXED_SUFFIX)$(VER_SONAME)$(OS_LIB_SUFFIXED_SUFFIX)
|
|
|
b0d9d6 |
DSO_SOLINK = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
SHARED_LIB = lib/$(DSO_VER)
|
|
|
b0d9d6 |
SHARED_SONAME = lib/$(DSO_SONAME)
|
|
|
b0d9d6 |
SHARED_SOLINK = lib/$(DSO_SOLINK)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
IMP_DEF = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_XYZ)$(OS_LIBDEF_EXT)
|
|
|
b0d9d6 |
IMP_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_XYZ)$(OS_IMPLIB_EXT)
|
|
|
b0d9d6 |
IMP_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_SONAME)$(OS_IMPLIB_EXT)
|
|
|
b0d9d6 |
IMP_SOLINK = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
IMPLIB_DEF = lib/$(IMP_DEF)
|
|
|
b0d9d6 |
IMPLIB_VER = lib/$(IMP_VER)
|
|
|
b0d9d6 |
IMPLIB_SONAME = lib/$(IMP_SONAME)
|
|
|
b0d9d6 |
IMPLIB_SOLINK = lib/$(IMP_SOLINK)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
APP = bin/$(OS_APP_PREFIX)$(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
b0d9d6 |
DEFAULT_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-default$(OS_APP_SUFFIX)
|
|
|
b0d9d6 |
SHARED_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-shared$(OS_APP_SUFFIX)
|
|
|
b0d9d6 |
STATIC_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-static$(OS_APP_SUFFIX)
|
|
|
b0d9d6 |
|
|
|
b0d9d6 |
CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \
|
|
|
b0d9d6 |
$(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \
|
|
|
b0d9d6 |
$(CFLAGS_PATH) $(CFLAGS_OS) $(CFLAGS_SITE) \
|
|
|
b0d9d6 |
$(CFLA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