Redfoxmoon / cross / slibtool

Forked from cross/slibtool 11 months ago
Clone

Blame sofort/defs.mk

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