altomaltes / cross / slibtool

Forked from cross/slibtool 2 years ago
Clone

Blame project/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
9ca8c4
SHARED_LIB	= $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
9ca8c4
STATIC_LIB	= $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
9ca8c4
SHARED_IMPLIB	= $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
9ca8c4
9ca8c4
APP		= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)$(OS_APP_SUFFIX)
9ca8c4
DEFAULT_APP	= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-default$(OS_APP_SUFFIX)
9ca8c4
SHARED_APP	= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-shared$(OS_APP_SUFFIX)
9ca8c4
STATIC_APP	= $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-static$(OS_APP_SUFFIX)
9ca8c4
9ca8c4
CFLAGS		= $(CFLAGS_DEBUG)  $(CFLAGS_CONFIG)  $(CFLAGS_SYSROOT) \
9ca8c4
		   $(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST)	\
9ca8c4
		   $(CFLAGS_PATH) $(CFLAGS_OS) $(CFLAGS_SITE)
9ca8c4
9ca8c4
CFLAGS_SHARED	= $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
9ca8c4
CFLAGS_STATIC	= $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
9ca8c4
CFLAGS_APP	= $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_APP_ATTR)
9ca8c4
9ca8c4
LDFLAGS_SHARED	= $(LDFLAGS_DEBUG)   $(LDFLAGS_CONFIG)  $(LDFLAGS_SYSROOT) \
9ca8c4
		   $(LDFLAGS_COMMON)  $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST)    \
9ca8c4
		   $(LDFLAGS_PATH)    $(SHARED_LIB_DEPS) $(LDFLAGS_LAST)
9ca8c4
9ca8c4
LDFLAGS_APP	= $(LDFLAGS_DEBUG)   $(LDFLAGS_CONFIG)  $(LDFLAGS_SYSROOT) \
9ca8c4
		   $(LDFLAGS_COMMON)  $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST)    \
9ca8c4
		   $(LDFLAGS_PATH)    $(SHARED_APP_DEPS) $(LDFLAGS_LAST)
9ca8c4
9ca8c4
LDFLAGS_STATIC	= $(LDFLAGS_DEBUG)   $(LDFLAGS_CONFIG)  $(LDFLAGS_SYSROOT) \
9ca8c4
		   $(LDFLAGS_COMMON)  $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST)    \
9ca8c4
		   $(LDFLAGS_PATH)    $(STATIC_APP_DEPS) $(LDFLAGS_LAST)