Blame sofort/core/defs.mk

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