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