Blame project/defs.mk

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