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
1b0fc6
SHARED_LIB	= lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
1b0fc6
STATIC_LIB	= lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
1b0fc6
SHARED_IMPLIB	= lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
1b0fc6
1b0fc6
APP		= bin/$(OS_APP_PREFIX)$(PACKAGE)$(OS_APP_SUFFIX)
1b0fc6
DEFAULT_APP	= bin/$(OS_APP_PREFIX)$(PACKAGE)-default$(OS_APP_SUFFIX)
1b0fc6
SHARED_APP	= bin/$(OS_APP_PREFIX)$(PACKAGE)-shared$(OS_APP_SUFFIX)
1b0fc6
STATIC_APP	= bin/$(OS_APP_PREFIX)$(PACKAGE)-static$(OS_APP_SUFFIX)
f46039
f46039
CFLAGS		= $(CFLAGS_DEBUG)  $(CFLAGS_CONFIG)  $(CFLAGS_SYSROOT) \
f46039
		   $(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST)	\
e6d235
		   $(CFLAGS_PATH) $(CFLAGS_OS) $(CFLAGS_SITE)
f46039
f46039
CFLAGS_SHARED	= $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
f46039
CFLAGS_STATIC	= $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
f46039
CFLAGS_APP	= $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_APP_ATTR)
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)    \
f46039
		   $(LDFLAGS_PATH)    $(SHARED_APP_DEPS) $(LDFLAGS_LAST)
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)