Blame Makefile.in

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