Blame project/defs.mk

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