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