Blame sofort/core/defs.mk

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