Blame Makefile.in

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