Blame sofort/core/defs.mk

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