Blame sofort/core/defs.mk

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