Blame sofort/core/defs.mk

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