Blame sofort/defs.mk

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