|
|
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 |
|
|
|
809708 |
STATIC_LIB_NAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
|
|
|
809708 |
STATIC_LIB = lib/$(STATIC_LIB_NAME)
|
|
|
5694f7 |
|
|
|
d14c96 |
DSO_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)$(VER_XYZ)
|
|
|
d14c96 |
DSO_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)$(VER_SONAME)
|
|
|
d14c96 |
DSO_SOLINK = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)
|
|
|
d14c96 |
|
|
|
d14c96 |
SHARED_LIB = lib/$(DSO_VER)
|
|
|
d14c96 |
SHARED_SONAME = lib/$(DSO_SONAME)
|
|
|
d14c96 |
SHARED_SOLINK = lib/$(DSO_SOLINK)
|
|
|
d14c96 |
|
|
|
5694f7 |
IMP_DEF = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_XYZ)$(OS_LIBDEF_EXT)
|
|
|
5694f7 |
IMP_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_XYZ)$(OS_IMPLIB_EXT)
|
|
|
5694f7 |
IMP_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(VER_SONAME)$(OS_IMPLIB_EXT)
|
|
|
5694f7 |
IMP_SOLINK = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT)
|
|
|
5694f7 |
|
|
|
5694f7 |
IMPLIB_DEF = lib/$(IMP_DEF)
|
|
|
5694f7 |
IMPLIB_VER = lib/$(IMP_VER)
|
|
|
5694f7 |
IMPLIB_SONAME = lib/$(IMP_SONAME)
|
|
|
5694f7 |
IMPLIB_SOLINK = lib/$(IMP_SOLINK)
|
|
|
c5b3f2 |
|
|
|
ee3e67 |
APP = bin/$(OS_APP_PREFIX)$(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
ee3e67 |
DEFAULT_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-default$(OS_APP_SUFFIX)
|
|
|
ee3e67 |
SHARED_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-shared$(OS_APP_SUFFIX)
|
|
|
ee3e67 |
STATIC_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-static$(OS_APP_SUFFIX)
|
|
|
cde03b |
|
|
|
cde03b |
CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \
|
|
|
cde03b |
$(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \
|
|
|
d14c96 |
$(CFLAGS_PATH) $(CFLAGS_OS) $(CFLAGS_SITE) \
|
|
|
9f6e4d |
$(CFLAGS_VERSION) $(CFLAGS_STRICT) \
|
|
|
9f6e4d |
$(CFLAGS_LAST) $(CFLAGS_ONCE)
|
|
|
cde03b |
|
|
|
cde03b |
CFLAGS_SHARED = $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
|
|
|
cde03b |
CFLAGS_STATIC = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
|
|
|
a5d617 |
CFLAGS_APP = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_APP_ATTR) $(CFLAGS_UTIL)
|
|
|
cde03b |
|
|
|
cde03b |
LDFLAGS_SHARED = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
cde03b |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
bec9ab |
$(LDFLAGS_PATH) $(SHARED_LIB_DEPS) $(LDFLAGS_STRICT) \
|
|
|
9f6e4d |
$(LDFLAGS_LAST) $(LDFLAGS_ONCE)
|
|
|
cde03b |
|
|
|
cde03b |
LDFLAGS_APP = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
cde03b |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
bec9ab |
$(LDFLAGS_PATH) $(SHARED_APP_DEPS) $(LDFLAGS_STRICT) \
|
|
|
9f6e4d |
$(LDFLAGS_UTIL) $(LDFLAGS_LAST) $(LDFLAGS_ONCE)
|
|
|
cde03b |
|
|
|
cde03b |
LDFLAGS_STATIC = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
|
|
|
cde03b |
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
|
|
|
bec9ab |
$(LDFLAGS_PATH) $(STATIC_APP_DEPS) $(LDFLAGS_STRICT) \
|
|
|
9f6e4d |
$(LDFLAGS_LAST) $(LDFLAGS_ONCE)
|