Blame Makefile.in

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