|
|
ea5470 |
PACKAGE = @package@
|
|
|
ea5470 |
NICKNAME = @nickname@
|
|
|
ea5470 |
PROJECT_DIR = @project_dir@
|
|
|
ea5470 |
SOURCE_DIR = @source_dir@
|
|
|
ea5470 |
GIT_REFERENCE_INDEX = @git_reference_index@
|
|
|
ea5470 |
CUSTOM_INSTALL_HEADERS = @custom_install_headers@
|
|
|
ea5470 |
AVOID_VERSION = @avoid_version@
|
|
|
ea5470 |
|
|
|
406b0d |
PKGNAME = @pkgname@
|
|
|
406b0d |
PKGDESC = @pkgdesc@
|
|
|
406b0d |
PKGUSRC = @pkgusrc@
|
|
|
406b0d |
PKGREPO = @pkgrepo@
|
|
|
406b0d |
PKGPSRC = @pkgpsrc@
|
|
|
406b0d |
PKGDURL = @pkgdurl@
|
|
|
406b0d |
PKGDEFS = @pkgdefs@
|
|
|
406b0d |
PKGLIBS = @pkglibs@
|
|
|
406b0d |
|
|
|
ea5470 |
BUILD = @build@
|
|
|
ea5470 |
HOST = @host@
|
|
|
22e406 |
CCHOST = @cchost@
|
|
|
486035 |
CFGHOST = @cfghost@
|
|
|
ea5470 |
TARGET = @target@
|
|
|
ea5470 |
ARCH = @arch@
|
|
|
ea5470 |
COMPILER = @compiler@
|
|
|
ea5470 |
TOOLCHAIN = @toolchain@
|
|
|
ea5470 |
SYSROOT = @sysroot@
|
|
|
ea5470 |
CROSS_COMPILE = @cross_compile@
|
|
|
ea5470 |
SHELL = @shell@
|
|
|
ea5470 |
|
|
|
ea5470 |
CFLAGS_COMMON = @cflags_common@
|
|
|
ea5470 |
CFLAGS_DEBUG = @cflags_debug@
|
|
|
ea5470 |
CFLAGS_CMDLINE = @cflags_cmdline@
|
|
|
ea5470 |
CFLAGS_CONFIG = @cflags_config@
|
|
|
ea5470 |
CFLAGS_SYSROOT = @cflags_sysroot@
|
|
|
ea5470 |
CFLAGS_OS = @cflags_os@
|
|
|
ea5470 |
CFLAGS_SITE = @cflags_site@
|
|
|
ea5470 |
CFLAGS_PATH = @cflags_path@
|
|
|
ea5470 |
CFLAGS_STRICT = @cflags_strict@
|
|
|
ea5470 |
CFLAGS_UTIL = @cflags_util@
|
|
|
ea5470 |
CFLAGS_LAST = @cflags_last@
|
|
|
ea5470 |
CFLAGS_ONCE = @cflags_once@
|
|
|
ea5470 |
|
|
|
ea5470 |
LDFLAGS_COMMON = @ldflags_common@
|
|
|
ea5470 |
LDFLAGS_DEBUG = @ldflags_debug@
|
|
|
ea5470 |
LDFLAGS_CMDLINE = @ldflags_cmdline@
|
|
|
ea5470 |
LDFLAGS_CONFIG = @ldflags_config@
|
|
|
ea5470 |
LDFLAGS_SYSROOT = @ldflags_sysroot@
|
|
|
ea5470 |
LDFLAGS_PATH = @ldflags_path@
|
|
|
ea5470 |
LDFLAGS_STRICT = @ldflags_strict@
|
|
|
ea5470 |
LDFLAGS_UTIL = @ldflags_util@
|
|
|
ea5470 |
LDFLAGS_LAST = @ldflags_last@
|
|
|
ea5470 |
LDFLAGS_ONCE = @ldflags_once@
|
|
|
ea5470 |
|
|
|
ea5470 |
PE_SUBSYSTEM = @pe_subsystem@
|
|
|
ea5470 |
PE_IMAGE_BASE = @pe_image_base@
|
|
|
ea5470 |
PE_CONFIG_DEFS = @pe_config_defs@
|
|
|
ea5470 |
|
|
|
ea5470 |
ELF_EH_FRAME = @elf_eh_frame@
|
|
|
ea5470 |
ELF_HASH_STYLE = @elf_hash_style@
|
|
|
ea5470 |
ELF_CONFIG_DEFS = @elf_config_defs@
|
|
|
ea5470 |
|
|
|
ea5470 |
PREFIX = @prefix@
|
|
|
ea5470 |
EXEC_PREFIX = @exec_prefix@
|
|
|
ea5470 |
BINDIR = @bindir@
|
|
|
ea5470 |
SBINDIR = @sbindir@
|
|
|
ea5470 |
LIBDIR = @libdir@
|
|
|
ea5470 |
INCLUDEDIR = @includedir@
|
|
|
ea5470 |
OLDINCLUDEDIR = @oldincludedir@
|
|
|
ea5470 |
MANDIR = @mandir@
|
|
|
ea5470 |
DOCDIR = @docdir@
|
|
|
ea5470 |
LIBEXECDIR = @libexecdir@
|
|
|
ea5470 |
|
|
|
ea5470 |
SYSCONFDIR = @sysconfdir@
|
|
|
ea5470 |
SHAREDSTATEDIR = @sharedstatedir@
|
|
|
ea5470 |
LOCALSTATEDIR = @localstatedir@
|
|
|
ea5470 |
RUNSTATEDIR = @runstatedir@
|
|
|
ea5470 |
DATAROOTDIR = @datarootdir@
|
|
|
ea5470 |
DATADIR = @datadir@
|
|
|
ea5470 |
INFODIR = @infodir@
|
|
|
ea5470 |
LOCALEDIR = @localedir@
|
|
|
ea5470 |
HTMLDIR = @htmldir@
|
|
|
ea5470 |
DVIDIR = @dvidir@
|
|
|
ea5470 |
PDFDIR = @pdfdir@
|
|
|
ea5470 |
PSDIR = @psdir@
|
|
|
ea5470 |
|
|
|
ea5470 |
NATIVE_CC = @native_cc@
|
|
|
6628ef |
NATIVE_CC_HOST = @native_cc_host@
|
|
|
ba5e33 |
NATIVE_CC_CFGHOST = @native_cc_cfghost@
|
|
|
ba5e33 |
NATIVE_CC_CFLAGS = @native_cc_cflags@
|
|
|
ba5e33 |
NATIVE_CC_LDFLAGS = @native_cc_ldflags@
|
|
|
6628ef |
|
|
|
ea5470 |
NATIVE_OS = @native_os@
|
|
|
ea5470 |
NATIVE_OS_BITS = @native_os_bits@
|
|
|
ea5470 |
NATIVE_OS_UNDERSCORE = @native_os_underscore@
|
|
|
ea5470 |
|
|
|
ea5470 |
USER_CC = @user_cc@
|
|
|
ea5470 |
USER_CPP = @user_cpp@
|
|
|
ea5470 |
USER_CXX = @user_cxx@
|
|
|
ea5470 |
|
|
|
ea5470 |
ALL_SHARED = @all_shared@
|
|
|
ea5470 |
ALL_STATIC = @all_static@
|
|
|
ea5470 |
DISABLE_FRONTEND = @disable_frontend@
|
|
|
ea5470 |
DISABLE_SHARED = @disable_shared@
|
|
|
ea5470 |
DISABLE_STATIC = @disable_static@
|
|
|
ea5470 |
|
|
|
da95e7 |
USE_CUSTOM_CFGDEFS = @use_custom_cfgdefs@
|
|
|
da95e7 |
USE_CUSTOM_USRDEFS = @use_custom_usrdefs@
|
|
|
da95e7 |
|
|
|
ea5470 |
all:
|
|
|
ea5470 |
install:
|
|
|
ea5470 |
shared:
|
|
|
ea5470 |
static:
|
|
|
ea5470 |
|
|
|
ea5470 |
install-extras:
|
|
|
ea5470 |
install-app-extras:
|
|
|
ea5470 |
|
|
|
ea5470 |
include $(PROJECT_DIR)/sysinfo/host/$(HOST).mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/sysinfo/compiler/$(COMPILER).mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/sysinfo/toolchain/$(TOOLCHAIN).mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/sysinfo/os/$(OS).mk
|
|
|
ea5470 |
|
|
|
164c1f |
ifeq ($(USE_CUSTOM_CFGDEFS),yes)
|
|
|
164c1f |
include ./cfgdefs.mk
|
|
|
164c1f |
endif
|
|
|
164c1f |
|
|
|
164c1f |
ifeq ($(USE_CUSTOM_USRDEFS),yes)
|
|
|
164c1f |
include ./usrdefs.mk
|
|
|
164c1f |
endif
|
|
|
ea5470 |
|
|
|
ea5470 |
include $(PROJECT_DIR)/sofort/defs.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/sofort/version.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/sofort/custom.mk
|
|
|
4fa1e2 |
include $(PROJECT_DIR)/sofort/pkgconf.mk
|
|
|
ea5470 |
|
|
|
164c1f |
include $(PROJECT_DIR)/project/osforce.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/tree.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/depends.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/headers.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/common.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/arch.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/extras.mk
|
|
|
ea5470 |
include $(PROJECT_DIR)/project/overrides.mk
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
$(APP_SRCS:%.c=%.o): CFLAGS_STATIC = $(CFLAGS_APP)
|
|
|
ea5470 |
|
|
|
ea5470 |
src/%.lo: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
|
|
|
ea5470 |
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
|
|
|
ea5470 |
|
|
|
ea5470 |
src/%.o: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
|
|
|
ea5470 |
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
|
|
|
ea5470 |
|
|
|
40256c |
lib/%$(OS_LIB_PREFIXED_SUFFIX)$(VER_XYZ)$(OS_LIB_SUFFIXED_SUFFIX):
|
|
|
ea5470 |
$(CC) -shared -o $@ $^ $(LDFLAGS_SHARED)
|
|
|
ea5470 |
|
|
|
ea5470 |
lib/%$(OS_ARCHIVE_EXT):
|
|
|
ea5470 |
rm -f $@
|
|
|
ea5470 |
$(AR) rcs $@ $^
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
all: package-shared package-static app
|
|
|
ea5470 |
|
|
|
ea5470 |
install: package-install-app
|
|
|
ea5470 |
install: package-install-extras
|
|
|
ea5470 |
install: install-libs
|
|
|
ea5470 |
|
|
|
ea5470 |
app: app-tag
|
|
|
ea5470 |
|
|
|
ea5470 |
app.tag:
|
|
|
ea5470 |
cp $(PACKAGE_APP) $(APP)
|
|
|
ea5470 |
touch app.tag
|
|
|
ea5470 |
|
|
|
ea5470 |
install-libs: package-install-shared
|
|
|
ea5470 |
install-libs: package-install-static
|
|
|
ea5470 |
|
|
|
ea5470 |
install-headers-default:
|
|
|
ea5470 |
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
|
|
|
ea5470 |
cp $(API_HEADERS) $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
|
|
|
ea5470 |
|
|
|
ea5470 |
install-shared: shared install-lib install-implib
|
|
|
ea5470 |
install-shared: package-install-soname package-install-solink
|
|
|
ea5470 |
install-shared: install-headers
|
|
|
ea5470 |
|
|
|
ea5470 |
install-lib: shared
|
|
|
ea5470 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
ea5470 |
cp $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
|
|
|
ea5470 |
|
|
|
ea5470 |
install-static: static install-headers
|
|
|
ea5470 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
ea5470 |
cp $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
|
|
|
ea5470 |
|
|
|
ea5470 |
install-app: app install-app-extras
|
|
|
ea5470 |
mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
ea5470 |
cp $(APP) $(DESTDIR)$(BINDIR)
|
|
|
ea5470 |
|
|
|
ea5470 |
install-static-app: static-app install-app-extras
|
|
|
ea5470 |
mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
ea5470 |
cp $(STATIC_APP) $(DESTDIR)$(BINDIR)/$(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
shared: shared-lib implib
|
|
|
ea5470 |
shared: package-shared-soname package-shared-solink
|
|
|
ea5470 |
|
|
|
ea5470 |
static: static-lib
|
|
|
ea5470 |
|
|
|
ea5470 |
shared-lib: shared-objs $(SHARED_LIB)
|
|
|
ea5470 |
|
|
|
ea5470 |
shared-soname: shared-lib $(SHARED_SONAME)
|
|
|
ea5470 |
|
|
|
ea5470 |
shared-solink: shared-lib $(SHARED_SOLINK)
|
|
|
ea5470 |
|
|
|
ea5470 |
static-lib: static-objs $(STATIC_LIB)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
default-app: version.tag static-objs $(DEFAULT_APP)
|
|
|
ea5470 |
|
|
|
ea5470 |
shared-app: version.tag shared $(SHARED_APP)
|
|
|
ea5470 |
|
|
|
ea5470 |
static-app: version.tag static-objs $(STATIC_APP)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
shared-objs: dirs $(SHARED_OBJS)
|
|
|
ea5470 |
|
|
|
ea5470 |
static-objs: dirs $(STATIC_OBJS)
|
|
|
ea5470 |
|
|
|
ea5470 |
app-objs: dirs $(APP_OBJS)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
$(SHARED_LIB): $(SHARED_OBJS)
|
|
|
d36a64 |
$(SHARED_LIB): LDFLAGS_SHARED += $(LDFLAGS_IMPLIB)
|
|
|
ea5470 |
|
|
|
ea5470 |
$(STATIC_LIB): $(STATIC_OBJS)
|
|
|
ea5470 |
|
|
|
ea5470 |
$(APP): $(PACKAGE_APP)
|
|
|
ea5470 |
|
|
|
ea5470 |
$(DEFAULT_APP): $(STATIC_OBJS) $(APP_OBJS)
|
|
|
ea5470 |
rm -f app.tag
|
|
|
ea5470 |
$(CC) -o $@ $^ $(LDFLAGS_APP)
|
|
|
ea5470 |
|
|
|
16e50d |
$(SHARED_APP): $(DSO_REF_SOLINK) $(APP_OBJS) $(SHARED_SOLINK)
|
|
|
ea5470 |
rm -f app.tag
|
|
|
e40253 |
$(CC) -o $@ $(APP_OBJS) $(LDFLAGS_APP) -l$(PACKAGE)
|
|
|
ea5470 |
|
|
|
ea5470 |
$(STATIC_APP): $(STATIC_OBJS) $(APP_OBJS)
|
|
|
ea5470 |
rm -f app.tag
|
|
|
ea5470 |
$(CC) -static -o $@ $^ $(LDFLAGS_STATIC)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
ea5470 |
dirs: dirs.tag
|
|
|
ea5470 |
|
|
|
ea5470 |
dirs.tag:
|
|
|
ea5470 |
mkdir -p bin
|
|
|
ea5470 |
mkdir -p lib
|
|
|
ea5470 |
touch dirs.tag
|
|
|
ea5470 |
|
|
|
22e406 |
cchost:
|
|
|
22e406 |
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
|
|
|
22e406 |
|
|
|
ea5470 |
host.tag: Makefile
|
|
|
ea5470 |
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
|
|
|
ea5470 |
touch host.tag
|
|
|
ea5470 |
|
|
|
6628ef |
cchost-native:
|
|
|
6628ef |
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(NATIVE_CC)"
|
|
|
6628ef |
|
|
|
ea5470 |
version.tag: $(GIT_REFERENCE_INDEX)
|
|
|
ea5470 |
$(PROJECT_DIR)/sysinfo/version.sh \
|
|
|
ea5470 |
-s $(SOURCE_DIR) \
|
|
|
ea5470 |
-o build/$(PACKAGE)_version.h \
|
|
|
ea5470 |
-p $(PACKAGE)
|
|
|
ea5470 |
touch version.tag
|
|
|
ea5470 |
|
|
|
ea5470 |
distclean: clean
|
|
|
de625c |
rm -f cfgdefs.mk
|
|
|
de625c |
rm -f usrdefs.mk
|
|
|
ea5470 |
rm -f Makefile
|
|
|
ea5470 |
|
|
|
ea5470 |
clean: clean-implib
|
|
|
ea5470 |
rm -f tree.tag
|
|
|
ea5470 |
rm -f dirs.tag
|
|
|
ea5470 |
rm -f host.tag
|
|
|
ea5470 |
rm -f version.tag
|
|
|
ea5470 |
rm -f app.tag
|
|
|
ea5470 |
rm -f $(SHARED_OBJS)
|
|
|
ea5470 |
rm -f $(STATIC_OBJS)
|
|
|
ea5470 |
rm -f $(APP_OBJS)
|
|
|
ea5470 |
rm -f $(SHARED_LIB)
|
|
|
ea5470 |
rm -f $(SHARED_SONAME)
|
|
|
ea5470 |
rm -f $(SHARED_SOLINK)
|
|
|
ea5470 |
rm -f $(STATIC_LIB)
|
|
|
ea5470 |
rm -f $(APP)
|
|
|
ea5470 |
rm -f $(DEFAULT_APP)
|
|
|
ea5470 |
rm -f $(SHARED_APP)
|
|
|
ea5470 |
rm -f $(STATIC_APP)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
406b0d |
.display: .display-project .display-pkgconf .display-env \
|
|
|
406b0d |
.display-tools .display-flags .display-pe .display-elf \
|
|
|
406b0d |
.display-dirs .display-build .display-config
|
|
|
ea5470 |
|
|
|
ea5470 |
.conf: PAGER ?= less
|
|
|
ea5470 |
.conf:
|
|
|
ea5470 |
$(MAKE) .display | $(PAGER)
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-project:
|
|
|
ea5470 |
@echo PACKAGE:' '$(PACKAGE)
|
|
|
ea5470 |
@echo NICKNAME:' '$(NICKNAME)
|
|
|
ea5470 |
@echo PROJECT_DIR:' '$(PROJECT_DIR)
|
|
|
ea5470 |
@echo SOURCE_DIR:' '$(SOURCE_DIR)
|
|
|
ea5470 |
@echo BUILD_DIR:' '$(CURDIR)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
406b0d |
.display-pkgconf:
|
|
|
406b0d |
@echo PKGNAME:' '$(PKGNAME)
|
|
|
406b0d |
@echo PKGDESC:' '$(PKGDESC)
|
|
|
406b0d |
@echo PKGUSRC:' '$(PKGUSRC)
|
|
|
406b0d |
@echo PKGREPO:' '$(PKGREPO)
|
|
|
406b0d |
@echo PKGPSRC:' '$(PKGPSRC)
|
|
|
406b0d |
@echo PKGDURL:' '$(PKGDURL)
|
|
|
406b0d |
@echo PKGDEFS:' '$(PKGDEFS)
|
|
|
406b0d |
@echo PKGLIBS:' '$(PKGLIBS)
|
|
|
406b0d |
@echo
|
|
|
406b0d |
|
|
|
ea5470 |
.display-env:
|
|
|
ea5470 |
@echo BUILD:' '$(BUILD)
|
|
|
ea5470 |
@echo HOST:' '$(HOST)
|
|
|
22e406 |
@echo CCHOST:' '$(CCHOST)
|
|
|
486035 |
@echo CFGHOST:' '$(CFGHOST)
|
|
|
ea5470 |
@echo TARGET:' '$(TARGET)
|
|
|
ea5470 |
@echo ARCH:' '$(ARCH)
|
|
|
ea5470 |
@echo COMPILER:' '$(COMPILER)
|
|
|
ea5470 |
@echo TOOLCHAIN:' '$(TOOLCHAIN)
|
|
|
ea5470 |
@echo SYSROOT:' '$(SYSROOT)
|
|
|
ea5470 |
@echo CROSS_COMPILE:' '$(CROSS_COMPILE)
|
|
|
ea5470 |
@echo SHELL:' '$(SHELL)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-tools:
|
|
|
ea5470 |
@echo CC:' '$(CC)
|
|
|
ea5470 |
@echo CPP:' '$(CPP)
|
|
|
ea5470 |
@echo CXX:' '$(CXX)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
@echo AS:' '$(AS)
|
|
|
ea5470 |
@echo AR:' '$(AR)
|
|
|
ea5470 |
@echo LD:' '$(LD)
|
|
|
ea5470 |
@echo NM:' '$(NM)
|
|
|
ea5470 |
@echo OBJDUMP:' '$(OBJDUMP)
|
|
|
ea5470 |
@echo RANLIB:' '$(RANLIB)
|
|
|
ea5470 |
@echo SIZE:' '$(SIZE)
|
|
|
ea5470 |
@echo STRIP:' '$(STRIP)
|
|
|
ea5470 |
@echo STRINGS:' '$(STRINGS)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
@echo ADDR2LINE:' '$(ADDR2LINE)
|
|
|
ea5470 |
@echo COV:' '$(COV)
|
|
|
ea5470 |
@echo CXXFILT' '$(CXXFILT)
|
|
|
ea5470 |
@echo ELFEDIT:' '$(ELFEDIT)
|
|
|
ea5470 |
@echo OBJCOPY:' '$(OBJCOPY)
|
|
|
ea5470 |
@echo READELF:' '$(READELF)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-flags:
|
|
|
ea5470 |
@echo CFLAGS_COMMON:' '$(CFLAGS_COMMON)
|
|
|
ea5470 |
@echo CFLAGS_DEBUG:' '$(CFLAGS_DEBUG)
|
|
|
ea5470 |
@echo CFLAGS_VERSION:' '$(CFLAGS_VERSION)
|
|
|
ea5470 |
@echo CFLAGS_CMDLINE:' '$(CFLAGS_CMDLINE)
|
|
|
ea5470 |
@echo CFLAGS_CONFIG:' '$(CFLAGS_CONFIG)
|
|
|
ea5470 |
@echo CFLAGS_SYSROOT:' '$(CFLAGS_SYSROOT)
|
|
|
ea5470 |
@echo CFLAGS_OS:' '$(CFLAGS_OS)
|
|
|
ea5470 |
@echo CFLAGS_SITE:' '$(CFLAGS_SITE)
|
|
|
ea5470 |
@echo CFLAGS_PATH:' '$(CFLAGS_PATH)
|
|
|
ea5470 |
@echo CFLAGS_STRICT:' '$(CFLAGS_STRICT)
|
|
|
ea5470 |
@echo CFLAGS_UTIL:' '$(CFLAGS_UTIL)
|
|
|
ea5470 |
@echo CFLAGS_LAST:' '$(CFLAGS_LAST)
|
|
|
ea5470 |
@echo CFLAGS_ONCE:' '$(CFLAGS_ONCE)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
@echo LDFLAGS_COMMON:' '$(LDFLAGS_COMMON)
|
|
|
ea5470 |
@echo LDFLAGS_DEBUG:' '$(LDFLAGS_DEBUG)
|
|
|
ea5470 |
@echo LDFLAGS_CMDLINE:' '$(LDFLAGS_CMDLINE)
|
|
|
ea5470 |
@echo LDFLAGS_CONFIG:' '$(LDFLAGS_CONFIG)
|
|
|
ea5470 |
@echo LDFLAGS_SYSROOT:' '$(LDFLAGS_SYSROOT)
|
|
|
ea5470 |
@echo LDFLAGS_PATH:' '$(LDFLAGS_PATH)
|
|
|
ea5470 |
@echo LDFLAGS_STRICT:' '$(LDFLAGS_STRICT)
|
|
|
ea5470 |
@echo LDFLAGS_UTIL:' '$(LDFLAGS_UTIL)
|
|
|
ea5470 |
@echo LDFLAGS_LAST:' '$(LDFLAGS_LAST)
|
|
|
ea5470 |
@echo LDFLAGS_ONCE:' '$(LDFLAGS_ONCE)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-pe:
|
|
|
ea5470 |
@echo PE_SUBSYSTEM:' '$(PE_SUBSYSTEM)
|
|
|
ea5470 |
@echo PE_IMAGE_BASE:' '$(PE_IMAGE_BASE)
|
|
|
ea5470 |
@echo PE_CONFIG_DEFS:' '$(PE_CONFIG_DEFS)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-elf:
|
|
|
ea5470 |
@echo ELF_EH_FRAME:' '$(ELF_EH_FRAME)
|
|
|
ea5470 |
@echo ELF_HASH_STYLE:' '$(ELF_HASH_STYLE)
|
|
|
ea5470 |
@echo ELF_CONFIG_DEFS:' '$(ELF_CONFIG_DEFS)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-dirs:
|
|
|
ea5470 |
@echo PREFIX:' '$(PREFIX)
|
|
|
ea5470 |
@echo EXEC_PREFIX:' '$(EXEC_PREFIX)
|
|
|
ea5470 |
@echo BINDIR:' '$(BINDIR)
|
|
|
ea5470 |
@echo SBINDIR:' '$(SBINDIR)
|
|
|
ea5470 |
@echo LIBDIR:' '$(LIBDIR)
|
|
|
ea5470 |
@echo INCLUDEDIR:' '$(INCLUDEDIR)
|
|
|
ea5470 |
@echo OLDINCLUDEDIR:' '$(OLDINCLUDEDIR)
|
|
|
ea5470 |
@echo MANDIR:' '$(MANDIR)
|
|
|
ea5470 |
@echo DOCDIR:' '$(DOCDIR)
|
|
|
ea5470 |
@echo LIBEXECDIR:' '$(LIBEXECDIR)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-exdirs:
|
|
|
ea5470 |
@echo SYSCONFDIR' '$(SYSCONFDIR)
|
|
|
ea5470 |
@echo SHAREDSTATEDIR' '$(SHAREDSTATEDIR)
|
|
|
ea5470 |
@echo LOCALSTATEDIR' '$(LOCALSTATEDIR)
|
|
|
ea5470 |
@echo RUNSTATEDIR' '$(RUNSTATEDIR)
|
|
|
ea5470 |
@echo DATAROOTDIR' '$(DATAROOTDIR)
|
|
|
ea5470 |
@echo DATADIR' '$(DATADIR)
|
|
|
ea5470 |
@echo INFODIR' '$(INFODIR)
|
|
|
ea5470 |
@echo LOCALEDIR' '$(LOCALEDIR)
|
|
|
ea5470 |
@echo HTMLDIR' '$(HTMLDIR)
|
|
|
ea5470 |
@echo DVIDIR' '$(DVIDIR)
|
|
|
ea5470 |
@echo PDFDIR' '$(PDFDIR)
|
|
|
ea5470 |
@echo PSDIR' '$(PSDIR)
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-build:
|
|
|
ea5470 |
@echo NATIVE_CC:' '$(NATIVE_CC)
|
|
|
6628ef |
@echo NATIVE_CC_HOST:' '$(NATIVE_CC_HOST)
|
|
|
ba5e33 |
@echo NATIVE_CC_CFGHOST:' '$(NATIVE_CC_CFGHOST)
|
|
|
ba5e33 |
@echo NATIVE_CC_CFLAGS:' '$(NATIVE_CC_CFLAGS)
|
|
|
ba5e33 |
@echo NATIVE_CC_LDFLAGS:' '$(NATIVE_CC_LDFLAGS)
|
|
|
6628ef |
@echo
|
|
|
ea5470 |
@echo NATIVE_OS:' '$(NATIVE_OS)
|
|
|
ea5470 |
@echo NATIVE_OS_BITS:' '$(NATIVE_OS_BITS)
|
|
|
ea5470 |
@echo NATIVE_OS_UNDERSCORE:' '$(NATIVE_OS_UNDERSCORE)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
@echo USER_CC:' '$(USER_CC)
|
|
|
ea5470 |
@echo USER_CPP:' '$(USER_CPP)
|
|
|
ea5470 |
@echo USER_CXX:' '$(USER_CXX)
|
|
|
ea5470 |
@echo
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-config:
|
|
|
ea5470 |
@echo ALL_SHARED:' '$(ALL_SHARED)
|
|
|
ea5470 |
@echo ALL_STATIC:' '$(ALL_STATIC)
|
|
|
ea5470 |
@echo DISABLE_FRONTEND:' '$(DISABLE_FRONTEND)
|
|
|
ea5470 |
@echo DISABLE_SHARED:' '$(DISABLE_SHARED)
|
|
|
ea5470 |
@echo DISABLE_STATIC:' '$(DISABLE_STATIC)
|
|
|
da95e7 |
@echo
|
|
|
da95e7 |
@echo USE_CUSTOM_CFGDEFS:' '$(USE_CUSTOM_CFGDEFS)
|
|
|
da95e7 |
@echo USE_CUSTOM_USRDEFS:' '$(USE_CUSTOM_USRDEFS)
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-host:
|
|
|
ea5470 |
@$(CC) $(CFLAGS) -dumpmachine
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-cc:
|
|
|
ea5470 |
@echo $(CC)
|
|
|
ea5470 |
|
|
|
ea5470 |
.display-cflags:
|
|
|
ea5470 |
@echo $(CFLAGS)
|
|
|
ea5470 |
|
|
|
ea5470 |
|
|
|
6628ef |
.PHONY: cchost cchost-native package-app \
|
|
|
22e406 |
all install shared static app \
|
|
|
ea5470 |
shared-objs shared-lib \
|
|
|
ea5470 |
shared-soname shared-solink \
|
|
|
ea5470 |
package-shared-soname package-shared-solink \
|
|
|
ea5470 |
static-objs static-lib \
|
|
|
ea5470 |
default-app shared-app static-app \
|
|
|
ea5470 |
install-shared install-static \
|
|
|
ea5470 |
install-soname install-solink \
|
|
|
ea5470 |
package-install-soname package-install-solink \
|
|
|
ea5470 |
install-headers install-app \
|
|
|
ea5470 |
install-headers-default install-headers-custom \
|
|
|
ea5470 |
clean distclean clean-implib version \
|
|
|
ea5470 |
.display .conf \
|
|
|
ea5470 |
.display-project .display-env .display-tools .display-flags \
|
|
|
ea5470 |
.display-pe .display-elf .display-dirs .display-build \
|
|
|
ea5470 |
implib implib-ver implib-soname implib-solink \
|
|
|
ea5470 |
install-implib install-implib-ver \
|
|
|
ea5470 |
install-implib-soname install-implib-solink
|