Blame project/defs.mk

cde03b
SHARED_LIB_DEPS =
cde03b
SHARED_APP_DEPS =
cde03b
STATIC_APP_DEPS =
cde03b
cde03b
COMMON_LOBJS	= $(COMMON_SRCS:.c=.lo)
cde03b
COMMON_OBJS	= $(COMMON_SRCS:.c=.o)
cde03b
cde03b
ARCH_LOBJS	= $(ARCH_SRCS:.c=.lo)
cde03b
ARCH_OBJS	= $(ARCH_SRCS:.c=.o)
cde03b
cde03b
APP_LOBJS	= $(APP_SRCS:.c=.lo)
cde03b
APP_OBJS	= $(APP_SRCS:.c=.o)
cde03b
cde03b
SHARED_OBJS	= $(COMMON_LOBJS) $(ARCH_LOBJS)
cde03b
STATIC_OBJS	= $(COMMON_OBJS)  $(ARCH_OBJS)
cde03b
cde03b
SHARED_LIB	= $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
cde03b
STATIC_LIB	= $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
cde03b
SHARED_IMPLIB	= $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
cde03b
cde03b
APP		= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)$(OS_APP_SUFFIX)
cde03b
DEFAULT_APP	= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-default$(OS_APP_SUFFIX)
cde03b
SHARED_APP	= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-shared$(OS_APP_SUFFIX)
cde03b
STATIC_APP	= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-static$(OS_APP_SUFFIX)
cde03b
cde03b
CFLAGS		= $(CFLAGS_DEBUG)  $(CFLAGS_CONFIG)  $(CFLAGS_SYSROOT) \
cde03b
		   $(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST)	\
cde03b
		   $(CFLAGS_PATH)
cde03b
cde03b
CFLAGS_SHARED	= $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
cde03b
CFLAGS_STATIC	= $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
cde03b
CFLAGS_APP	= $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_APP_ATTR)
cde03b
cde03b
LDFLAGS_SHARED	= $(LDFLAGS_DEBUG)   $(LDFLAGS_CONFIG)  $(LDFLAGS_SYSROOT) \
cde03b
		   $(LDFLAGS_COMMON)  $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST)    \
cde03b
		   $(LDFLAGS_PATH)    $(SHARED_LIB_DEPS) $(LDFLAGS_LAST)
cde03b
cde03b
LDFLAGS_APP	= $(LDFLAGS_DEBUG)   $(LDFLAGS_CONFIG)  $(LDFLAGS_SYSROOT) \
cde03b
		   $(LDFLAGS_COMMON)  $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST)    \
cde03b
		   $(LDFLAGS_PATH)    $(SHARED_APP_DEPS) $(LDFLAGS_LAST)
cde03b
cde03b
LDFLAGS_STATIC	= $(LDFLAGS_DEBUG)   $(LDFLAGS_CONFIG)  $(LDFLAGS_SYSROOT) \
cde03b
		   $(LDFLAGS_COMMON)  $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST)    \
cde03b
		   $(LDFLAGS_PATH)    $(STATIC_APP_DEPS) $(LDFLAGS_LAST)