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