|
|
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 |
|
|
|
383aa6 |
SHARED_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
|
|
|
383aa6 |
STATIC_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
|
|
|
383aa6 |
SHARED_IMPLIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
|
|
|
383aa6 |
|
|
|
383aa6 |
APP = $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)$(OS_APP_SUFFIX)
|
|
|
383aa6 |
DEFAULT_APP = $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-default$(OS_APP_SUFFIX)
|
|
|
383aa6 |
SHARED_APP = $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-shared$(OS_APP_SUFFIX)
|
|
|
383aa6 |
STATIC_APP = $(BINDIR)/$(OS_APP_PREFIX)$(PACKAGE)-static$(OS_APP_SUFFIX)
|
|
|
383aa6 |
|
|
|
383aa6 |
CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \
|
|
|
383aa6 |
$(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \
|
|
|
383aa6 |
$(CFLAGS_PATH)
|
|
|
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)
|