2 verbatim(make, macros) {
3 WX_PORT = $(shell $(WXWINDOWS_ROOT)/bin/wx-config --query-toolkit)
4 WX_PORT_MACRO = $(shell $(WXWINDOWS_ROOT)/bin/wx-config --cflags | sed 's/.*\-D__/__/; s/__ .*/__/')
5 WX_VERSION = -$(shell $(WXWINDOWS_ROOT)/bin/wx-config --version | sed 's/^\\([0-9]*\\)\\.\\([0-9]*\\)\\.[0-9]*/\\1.\\2/')
6 WX_CHARTYPE = $(shell $(WXWINDOWS_ROOT)/bin/wx-config --query-chartype)
7 WX_UNICODE = $(shell echo $(WX_CHARTYPE) | sed 's!unicode!u!;s!ansi!!')
8 WX_BUILD_CONFIG = $(WX_PORT)-$(WX_CHARTYPE)