|
|
7b83a9 |
PACKAGE = @package@
|
|
|
551024 |
NICKNAME = @nickname@
|
|
|
7b83a9 |
PROJECT_DIR = @project_dir@
|
|
|
44e93e |
SOURCE_DIR = @source_dir@
|
|
|
fa9462 |
GIT_REFERENCE_INDEX = @git_reference_index@
|
|
|
551024 |
CUSTOM_INSTALL_HEADERS = @custom_install_headers@
|
|
|
551024 |
AVOID_VERSION = @avoid_version@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
BUILD = @build@
|
|
|
7b83a9 |
HOST = @host@
|
|
|
f6d035 |
CCHOST = @cchost@
|
|
|
7b83a9 |
TARGET = @target@
|
|
|
7b83a9 |
ARCH = @arch@
|
|
|
f97c34 |
COMPILER = @compiler@
|
|
|
651d7b |
TOOLCHAIN = @toolchain@
|
|
|
7b83a9 |
SYSROOT = @sysroot@
|
|
|
7b83a9 |
CROSS_COMPILE = @cross_compile@
|
|
|
7b83a9 |
SHELL = @shell@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
CFLAGS_COMMON = @cflags_common@
|
|
|
551024 |
CFLAGS_DEBUG = @cflags_debug@
|
|
|
7b83a9 |
CFLAGS_CMDLINE = @cflags_cmdline@
|
|
|
7b83a9 |
CFLAGS_CONFIG = @cflags_config@
|
|
|
7b83a9 |
CFLAGS_SYSROOT = @cflags_sysroot@
|
|
|
551024 |
CFLAGS_OS = @cflags_os@
|
|
|
551024 |
CFLAGS_SITE = @cflags_site@
|
|
|
7b83a9 |
CFLAGS_PATH = @cflags_path@
|
|
|
551024 |
CFLAGS_STRICT = @cflags_strict@
|
|
|
551024 |
CFLAGS_UTIL = @cflags_util@
|
|
|
8da1ad |
CFLAGS_LAST = @cflags_last@
|
|
|
8da1ad |
CFLAGS_ONCE = @cflags_once@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
LDFLAGS_COMMON = @ldflags_common@
|
|
|
551024 |
LDFLAGS_DEBUG = @ldflags_debug@
|
|
|
7b83a9 |
LDFLAGS_CMDLINE = @ldflags_cmdline@
|
|
|
7b83a9 |
LDFLAGS_CONFIG = @ldflags_config@
|
|
|
7b83a9 |
LDFLAGS_SYSROOT = @ldflags_sysroot@
|
|
|
7b83a9 |
LDFLAGS_PATH = @ldflags_path@
|
|
|
551024 |
LDFLAGS_STRICT = @ldflags_strict@
|
|
|
551024 |
LDFLAGS_UTIL = @ldflags_util@
|
|
|
8da1ad |
LDFLAGS_LAST = @ldflags_last@
|
|
|
8da1ad |
LDFLAGS_ONCE = @ldflags_once@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
PE_SUBSYSTEM = @pe_subsystem@
|
|
|
7b83a9 |
PE_IMAGE_BASE = @pe_image_base@
|
|
|
7b83a9 |
PE_CONFIG_DEFS = @pe_config_defs@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
ELF_EH_FRAME = @elf_eh_frame@
|
|
|
7b83a9 |
ELF_HASH_STYLE = @elf_hash_style@
|
|
|
7b83a9 |
ELF_CONFIG_DEFS = @elf_config_defs@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
PREFIX = @prefix@
|
|
|
2816af |
EXEC_PREFIX = @exec_prefix@
|
|
|
7b83a9 |
BINDIR = @bindir@
|
|
|
71a82d |
SBINDIR = @sbindir@
|
|
|
7b83a9 |
LIBDIR = @libdir@
|
|
|
7b83a9 |
INCLUDEDIR = @includedir@
|
|
|
a719b2 |
OLDINCLUDEDIR = @oldincludedir@
|
|
|
7b83a9 |
MANDIR = @mandir@
|
|
|
7b83a9 |
DOCDIR = @docdir@
|
|
|
7b83a9 |
LIBEXECDIR = @libexecdir@
|
|
|
7b83a9 |
|
|
|
a719b2 |
SYSCONFDIR = @sysconfdir@
|
|
|
a719b2 |
SHAREDSTATEDIR = @sharedstatedir@
|
|
|
a719b2 |
LOCALSTATEDIR = @localstatedir@
|
|
|
a719b2 |
RUNSTATEDIR = @runstatedir@
|
|
|
a719b2 |
DATAROOTDIR = @datarootdir@
|
|
|
a719b2 |
DATADIR = @datadir@
|
|
|
a719b2 |
INFODIR = @infodir@
|
|
|
a719b2 |
LOCALEDIR = @localedir@
|
|
|
a719b2 |
HTMLDIR = @htmldir@
|
|
|
a719b2 |
DVIDIR = @dvidir@
|
|
|
a719b2 |
PDFDIR = @pdfdir@
|
|
|
a719b2 |
PSDIR = @psdir@
|
|
|
a719b2 |
|
|
|
7b83a9 |
NATIVE_CC = @native_cc@
|
|
|
7b83a9 |
NATIVE_OS = @native_os@
|
|
|
7b83a9 |
NATIVE_OS_BITS = @native_os_bits@
|
|
|
7b83a9 |
NATIVE_OS_UNDERSCORE = @native_os_underscore@
|
|
|
7b83a9 |
|
|
|
2318d6 |
USER_CC = @user_cc@
|
|
|
2318d6 |
USER_CPP = @user_cpp@
|
|
|
2318d6 |
USER_CXX = @user_cxx@
|
|
|
7b83a9 |
|
|
|
551024 |
ALL_SHARED = @all_shared@
|
|
|
551024 |
ALL_STATIC = @all_static@
|
|
|
551024 |
DISABLE_FRONTEND = @disable_frontend@
|
|
|
551024 |
DISABLE_SHARED = @disable_shared@
|
|
|
551024 |
DISABLE_STATIC = @disable_static@
|
|
|
7b83a9 |
|
|
|
7b83a9 |
all:
|
|
|
7b83a9 |
install:
|
|
|
7b83a9 |
shared:
|
|
|
7b83a9 |
static:
|
|
|
7b83a9 |
|
|
|
551024 |
install-extras:
|
|
|
551024 |
install-app-extras:
|
|
|
7b83a9 |
|
|
|
7b83a9 |
include $(PROJECT_DIR)/sysinfo/host/$(HOST).mk
|
|
|
f97c34 |
include $(PROJECT_DIR)/sysinfo/compiler/$(COMPILER).mk
|
|
|
651d7b |
include $(PROJECT_DIR)/sysinfo/toolchain/$(TOOLCHAIN).mk
|
|
|
0c563e |
include $(PROJECT_DIR)/sysinfo/os/$(OS).mk
|
|
|
7b83a9 |
|
|
|
fa2b40 |
include $(PROJECT_DIR)/project/osforce.mk
|
|
|
fa2b40 |
|
|
|
551024 |
include $(PROJECT_DIR)/sofort/defs.mk
|
|
|
551024 |
include $(PROJECT_DIR)/sofort/version.mk
|
|
|
551024 |
include $(PROJECT_DIR)/sofort/custom.mk
|
|
|
551024 |
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/tree.mk
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/depends.mk
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/headers.mk
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/common.mk
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/arch.mk
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/extras.mk
|
|
|
7b83a9 |
include $(PROJECT_DIR)/project/overrides.mk
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
551024 |
$(APP_SRCS:%.c=%.o): CFLAGS_STATIC = $(CFLAGS_APP)
|
|
|
551024 |
|
|
|
44e93e |
src/%.lo: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
|
|
|
7b83a9 |
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
|
|
|
7b83a9 |
|
|
|
44e93e |
src/%.o: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
|
|
|
7b83a9 |
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
|
|
|
7b83a9 |
|
|
|
551024 |
lib/%$(OS_LIB_SUFFIX)$(VER_XYZ):
|
|
|
551024 |
$(CC) -shared -o $@ $^ $(LDFLAGS_SHARED)
|
|
|
7b83a9 |
|
|
|
defe80 |
lib/%$(OS_ARCHIVE_EXT):
|
|
|
7b83a9 |
rm -f $@
|
|
|
84d36b |
$(AR) rcs $@ $^
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
551024 |
all: package-shared package-static app
|
|
|
551024 |
|
|
|
551024 |
install: package-install-app
|
|
|
551024 |
install: package-install-extras
|
|
|
551024 |
install: install-libs
|
|
|
7b83a9 |
|
|
|
551024 |
app: app-tag
|
|
|
7b83a9 |
|
|
|
551024 |
app.tag:
|
|
|
551024 |
cp $(PACKAGE_APP) $(APP)
|
|
|
551024 |
touch app.tag
|
|
|
7b83a9 |
|
|
|
551024 |
install-libs: package-install-shared
|
|
|
551024 |
install-libs: package-install-static
|
|
|
7b83a9 |
|
|
|
551024 |
install-headers-default:
|
|
|
738516 |
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
|
|
|
738516 |
cp $(API_HEADERS) $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
|
|
|
7b83a9 |
|
|
|
551024 |
install-shared: shared install-lib install-implib
|
|
|
551024 |
install-shared: package-install-soname package-install-solink
|
|
|
551024 |
install-shared: install-headers
|
|
|
551024 |
|
|
|
551024 |
install-lib: shared
|
|
|
738516 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
738516 |
cp $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
|
|
|
7b83a9 |
|
|
|
551024 |
install-static: static install-headers
|
|
|
738516 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
738516 |
cp $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
|
|
|
7b83a9 |
|
|
|
551024 |
install-app: app install-app-extras
|
|
|
551024 |
mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
551024 |
cp $(APP) $(DESTDIR)$(BINDIR)
|
|
|
551024 |
|
|
|
551024 |
install-static-app: static-app install-app-extras
|
|
|
551024 |
mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
551024 |
cp $(STATIC_APP) $(DESTDIR)$(BINDIR)/$(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
551024 |
|
|
|
551024 |
shared: shared-lib implib
|
|
|
551024 |
shared: package-shared-soname package-shared-solink
|
|
|
7b83a9 |
|
|
|
7b83a9 |
static: static-lib
|
|
|
7b83a9 |
|
|
|
7b83a9 |
shared-lib: shared-objs $(SHARED_LIB)
|
|
|
7b83a9 |
|
|
|
551024 |
shared-soname: shared-lib $(SHARED_SONAME)
|
|
|
551024 |
|
|
|
551024 |
shared-solink: shared-lib $(SHARED_SOLINK)
|
|
|
551024 |
|
|
|
7b83a9 |
static-lib: static-objs $(STATIC_LIB)
|
|
|
7b83a9 |
|
|
|
551024 |
|
|
|
551024 |
|
|
|
551024 |
default-app: version.tag static-objs $(DEFAULT_APP)
|
|
|
551024 |
|
|
|
551024 |
shared-app: version.tag shared $(SHARED_APP)
|
|
|
551024 |
|
|
|
551024 |
static-app: version.tag static-objs $(STATIC_APP)
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
7b83a9 |
shared-objs: dirs $(SHARED_OBJS)
|
|
|
7b83a9 |
|
|
|
7b83a9 |
static-objs: dirs $(STATIC_OBJS)
|
|
|
7b83a9 |
|
|
|
551024 |
app-objs: dirs $(APP_OBJS)
|
|
|
551024 |
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
7b83a9 |
$(SHARED_LIB): $(SHARED_OBJS)
|
|
|
7b83a9 |
|
|
|
7b83a9 |
$(STATIC_LIB): $(STATIC_OBJS)
|
|
|
7b83a9 |
|
|
|
551024 |
$(APP): $(PACKAGE_APP)
|
|
|
551024 |
|
|
|
551024 |
$(DEFAULT_APP): $(STATIC_OBJS) $(APP_OBJS)
|
|
|
551024 |
rm -f app.tag
|
|
|
551024 |
$(CC) -o $@ $^ $(LDFLAGS_APP)
|
|
|
7b83a9 |
|
|
|
551024 |
$(SHARED_APP): $(SHARED_LIB) $(APP_OBJS)
|
|
|
551024 |
rm -f app.tag
|
|
|
551024 |
$(CC) -o $@ $(APP_OBJS) -l$(PACKAGE) $(LDFLAGS_SHARED)
|
|
|
551024 |
|
|
|
551024 |
$(STATIC_APP): $(STATIC_OBJS) $(APP_OBJS)
|
|
|
551024 |
rm -f app.tag
|
|
|
551024 |
$(CC) -static -o $@ $^ $(LDFLAGS_STATIC)
|
|
|
551024 |
|
|
|
551024 |
|
|
|
551024 |
dirs: dirs.tag
|
|
|
7b83a9 |
|
|
|
7b83a9 |
dirs.tag:
|
|
|
551024 |
mkdir -p bin
|
|
|
defe80 |
mkdir -p lib
|
|
|
7b83a9 |
touch dirs.tag
|
|
|
7b83a9 |
|
|
|
f6d035 |
cchost:
|
|
|
f6d035 |
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
|
|
|
f6d035 |
|
|
|
7b83a9 |
host.tag: Makefile
|
|
|
7b83a9 |
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
|
|
|
7b83a9 |
touch host.tag
|
|
|
7b83a9 |
|
|
|
fa9462 |
version.tag: $(GIT_REFERENCE_INDEX)
|
|
|
551024 |
$(PROJECT_DIR)/sysinfo/version.sh \
|
|
|
44e93e |
-s $(SOURCE_DIR) \
|
|
|
551024 |
-o build/$(PACKAGE)_version.h \
|
|
|
551024 |
-p $(PACKAGE)
|
|
|
551024 |
touch version.tag
|
|
|
551024 |
|
|
|
7b83a9 |
distclean: clean
|
|
|
7b83a9 |
rm -f Makefile
|
|
|
7b83a9 |
|
|
|
551024 |
clean: clean-implib
|
|
|
7b83a9 |
rm -f tree.tag
|
|
|
7b83a9 |
rm -f dirs.tag
|
|
|
7b83a9 |
rm -f host.tag
|
|
|
551024 |
rm -f version.tag
|
|
|
551024 |
rm -f app.tag
|
|
|
7b83a9 |
rm -f $(SHARED_OBJS)
|
|
|
7b83a9 |
rm -f $(STATIC_OBJS)
|
|
|
551024 |
rm -f $(APP_OBJS)
|
|
|
7b83a9 |
rm -f $(SHARED_LIB)
|
|
|
551024 |
rm -f $(SHARED_SONAME)
|
|
|
551024 |
rm -f $(SHARED_SOLINK)
|
|
|
7b83a9 |
rm -f $(STATIC_LIB)
|
|
|
551024 |
rm -f $(APP)
|
|
|
551024 |
rm -f $(DEFAULT_APP)
|
|
|
551024 |
rm -f $(SHARED_APP)
|
|
|
551024 |
rm -f $(STATIC_APP)
|
|
|
7b83a9 |
|
|
|
7b83a9 |
|
|
|
31ef73 |
.display: .display-project .display-env .display-tools .display-flags \
|
|
|
551024 |
.display-pe .display-elf .display-dirs .display-build \
|
|
|
551024 |
.display-config
|
|
|
551024 |
|
|
|
551024 |
.conf: PAGER ?= less
|
|
|
551024 |
.conf:
|
|
|
551024 |
$(MAKE) .display | $(PAGER)
|
|
|
7b83a9 |
|
|
|
31ef73 |
.display-project:
|
|
|
551024 |
@echo PACKAGE:' '$(PACKAGE)
|
|
|
551024 |
@echo NICKNAME:' '$(NICKNAME)
|
|
|
31ef73 |
@echo PROJECT_DIR:' '$(PROJECT_DIR)
|
|
|
6eaf4a |
@echo SOURCE_DIR:' '$(SOURCE_DIR)
|
|
|
31ef73 |
@echo BUILD_DIR:' '$(CURDIR)
|
|
|
31ef73 |
@echo
|
|
|
31ef73 |
|
|
|
7b83a9 |
.display-env:
|
|
|
7b83a9 |
@echo BUILD:' '$(BUILD)
|
|
|
7b83a9 |
@echo HOST:' '$(HOST)
|
|
|
f6d035 |
@echo CCHOST:' '$(CCHOST)
|
|
|
7b83a9 |
@echo TARGET:' '$(TARGET)
|
|
|
7b83a9 |
@echo ARCH:' '$(ARCH)
|
|
|
f97c34 |
@echo COMPILER:' '$(COMPILER)
|
|
|
651d7b |
@echo TOOLCHAIN:' '$(TOOLCHAIN)
|
|
|
7b83a9 |
@echo SYSROOT:' '$(SYSROOT)
|
|
|
612929 |
@echo CROSS_COMPILE:' '$(CROSS_COMPILE)
|
|
|
7b83a9 |
@echo SHELL:' '$(SHELL)
|
|
|
967e4d |
@echo
|
|
|
7b83a9 |
|
|
|
7b83a9 |
.display-tools:
|
|
|
7b83a9 |
@echo CC:' '$(CC)
|
|
|
7b83a9 |
@echo CPP:' '$(CPP)
|
|
|
7b83a9 |
@echo CXX:' '$(CXX)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
@echo AS:' '$(AS)
|
|
|
7b83a9 |
@echo AR:' '$(AR)
|
|
|
7b83a9 |
@echo LD:' '$(LD)
|
|
|
7b83a9 |
@echo NM:' '$(NM)
|
|
|
7b83a9 |
@echo OBJDUMP:' '$(OBJDUMP)
|
|
|
7b83a9 |
@echo RANLIB:' '$(RANLIB)
|
|
|
7b83a9 |
@echo SIZE:' '$(SIZE)
|
|
|
7b83a9 |
@echo STRIP:' '$(STRIP)
|
|
|
7b83a9 |
@echo STRINGS:' '$(STRINGS)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
@echo ADDR2LINE:' '$(ADDR2LINE)
|
|
|
7b83a9 |
@echo COV:' '$(COV)
|
|
|
7b83a9 |
@echo CXXFILT' '$(CXXFILT)
|
|
|
7b83a9 |
@echo ELFEDIT:' '$(ELFEDIT)
|
|
|
7b83a9 |
@echo OBJCOPY:' '$(OBJCOPY)
|
|
|
7b83a9 |
@echo READELF:' '$(READELF)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
|
|
|
7b83a9 |
.display-flags:
|
|
|
7b83a9 |
@echo CFLAGS_COMMON:' '$(CFLAGS_COMMON)
|
|
|
551024 |
@echo CFLAGS_DEBUG:' '$(CFLAGS_DEBUG)
|
|
|
551024 |
@echo CFLAGS_VERSION:' '$(CFLAGS_VERSION)
|
|
|
7b83a9 |
@echo CFLAGS_CMDLINE:' '$(CFLAGS_CMDLINE)
|
|
|
7b83a9 |
@echo CFLAGS_CONFIG:' '$(CFLAGS_CONFIG)
|
|
|
7b83a9 |
@echo CFLAGS_SYSROOT:' '$(CFLAGS_SYSROOT)
|
|
|
551024 |
@echo CFLAGS_OS:' '$(CFLAGS_OS)
|
|
|
551024 |
@echo CFLAGS_SITE:' '$(CFLAGS_SITE)
|
|
|
7b83a9 |
@echo CFLAGS_PATH:' '$(CFLAGS_PATH)
|
|
|
551024 |
@echo CFLAGS_STRICT:' '$(CFLAGS_STRICT)
|
|
|
551024 |
@echo CFLAGS_UTIL:' '$(CFLAGS_UTIL)
|
|
|
8da1ad |
@echo CFLAGS_LAST:' '$(CFLAGS_LAST)
|
|
|
8da1ad |
@echo CFLAGS_ONCE:' '$(CFLAGS_ONCE)
|
|
|
7b83a9 |
@echo
|
|
|
551024 |
@echo LDFLAGS_COMMON:' '$(LDFLAGS_COMMON)
|
|
|
551024 |
@echo LDFLAGS_DEBUG:' '$(LDFLAGS_DEBUG)
|
|
|
551024 |
@echo LDFLAGS_CMDLINE:' '$(LDFLAGS_CMDLINE)
|
|
|
551024 |
@echo LDFLAGS_CONFIG:' '$(LDFLAGS_CONFIG)
|
|
|
551024 |
@echo LDFLAGS_SYSROOT:' '$(LDFLAGS_SYSROOT)
|
|
|
551024 |
@echo LDFLAGS_PATH:' '$(LDFLAGS_PATH)
|
|
|
551024 |
@echo LDFLAGS_STRICT:' '$(LDFLAGS_STRICT)
|
|
|
551024 |
@echo LDFLAGS_UTIL:' '$(LDFLAGS_UTIL)
|
|
|
8da1ad |
@echo LDFLAGS_LAST:' '$(LDFLAGS_LAST)
|
|
|
8da1ad |
@echo LDFLAGS_ONCE:' '$(LDFLAGS_ONCE)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
|
|
|
7b83a9 |
.display-pe:
|
|
|
7b83a9 |
@echo PE_SUBSYSTEM:' '$(PE_SUBSYSTEM)
|
|
|
7b83a9 |
@echo PE_IMAGE_BASE:' '$(PE_IMAGE_BASE)
|
|
|
7b83a9 |
@echo PE_CONFIG_DEFS:' '$(PE_CONFIG_DEFS)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
|
|
|
7b83a9 |
.display-elf:
|
|
|
7b83a9 |
@echo ELF_EH_FRAME:' '$(ELF_EH_FRAME)
|
|
|
7b83a9 |
@echo ELF_HASH_STYLE:' '$(ELF_HASH_STYLE)
|
|
|
7b83a9 |
@echo ELF_CONFIG_DEFS:' '$(ELF_CONFIG_DEFS)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
|
|
|
7b83a9 |
.display-dirs:
|
|
|
7b83a9 |
@echo PREFIX:' '$(PREFIX)
|
|
|
2816af |
@echo EXEC_PREFIX:' '$(EXEC_PREFIX)
|
|
|
7b83a9 |
@echo BINDIR:' '$(BINDIR)
|
|
|
71a82d |
@echo SBINDIR:' '$(SBINDIR)
|
|
|
7b83a9 |
@echo LIBDIR:' '$(LIBDIR)
|
|
|
7b83a9 |
@echo INCLUDEDIR:' '$(INCLUDEDIR)
|
|
|
a719b2 |
@echo OLDINCLUDEDIR:' '$(OLDINCLUDEDIR)
|
|
|
7b83a9 |
@echo MANDIR:' '$(MANDIR)
|
|
|
7b83a9 |
@echo DOCDIR:' '$(DOCDIR)
|
|
|
7b83a9 |
@echo LIBEXECDIR:' '$(LIBEXECDIR)
|
|
|
7b83a9 |
@echo
|
|
|
7b83a9 |
|
|
|
a719b2 |
.display-exdirs:
|
|
|
a719b2 |
@echo SYSCONFDIR' '$(SYSCONFDIR)
|
|
|
a719b2 |
@echo SHAREDSTATEDIR' '$(SHAREDSTATEDIR)
|
|
|
a719b2 |
@echo LOCALSTATEDIR' '$(LOCALSTATEDIR)
|
|
|
a719b2 |
@echo RUNSTATEDIR' '$(RUNSTATEDIR)
|
|
|
a719b2 |
@echo DATAROOTDIR' '$(DATAROOTDIR)
|
|
|
a719b2 |
@echo DATADIR' '$(DATADIR)
|
|
|
a719b2 |
@echo INFODIR' '$(INFODIR)
|
|
|
a719b2 |
@echo LOCALEDIR' '$(LOCALEDIR)
|
|
|
a719b2 |
@echo HTMLDIR' '$(HTMLDIR)
|
|
|
a719b2 |
@echo DVIDIR' '$(DVIDIR)
|
|
|
a719b2 |
@echo PDFDIR' '$(PDFDIR)
|
|
|
a719b2 |
@echo PSDIR' '$(PSDIR)
|
|
|
a719b2 |
|
|
|
7b83a9 |
.display-build:
|
|
|
7b83a9 |
@echo NATIVE_CC:' '$(NATIVE_CC)
|
|
|
7b83a9 |
@echo NATIVE_OS:' '$(NATIVE_OS)
|
|
|
7b83a9 |
@echo NATIVE_OS_BITS:' '$(NATIVE_OS_BITS)
|
|
|
292211 |
@echo NATIVE_OS_UNDERSCORE:' '$(NATIVE_OS_UNDERSCORE)
|
|
|
7b83a9 |
@echo
|
|
|
2318d6 |
@echo USER_CC:' '$(USER_CC)
|
|
|
2318d6 |
@echo USER_CPP:' '$(USER_CPP)
|
|
|
2318d6 |
@echo USER_CXX:' '$(USER_CXX)
|
|
|
2318d6 |
@echo
|
|
|
7b83a9 |
|
|
|
551024 |
.display-config:
|
|
|
551024 |
@echo ALL_SHARED:' '$(ALL_SHARED)
|
|
|
551024 |
@echo ALL_STATIC:' '$(ALL_STATIC)
|
|
|
551024 |
@echo DISABLE_FRONTEND:' '$(DISABLE_FRONTEND)
|
|
|
551024 |
@echo DISABLE_SHARED:' '$(DISABLE_SHARED)
|
|
|
551024 |
@echo DISABLE_STATIC:' '$(DISABLE_STATIC)
|
|
|
551024 |
|
|
|
551024 |
.display-host:
|
|
|
551024 |
@$(CC) $(CFLAGS) -dumpmachine
|
|
|
551024 |
|
|
|
551024 |
.display-cc:
|
|
|
551024 |
@echo $(CC)
|
|
|
551024 |
|
|
|
551024 |
.display-cflags:
|
|
|
551024 |
@echo $(CFLAGS)
|
|
|
551024 |
|
|
|
7b83a9 |
|
|
|
f6d035 |
.PHONY: cchost package-app \
|
|
|
f6d035 |
all install shared static app \
|
|
|
551024 |
shared-objs shared-lib \
|
|
|
551024 |
shared-soname shared-solink \
|
|
|
551024 |
package-shared-soname package-shared-solink \
|
|
|
7b83a9 |
static-objs static-lib \
|
|
|
551024 |
default-app shared-app static-app \
|
|
|
551024 |
install-shared install-static \
|
|
|
551024 |
install-soname install-solink \
|
|
|
551024 |
package-install-soname package-install-solink \
|
|
|
551024 |
install-headers install-app \
|
|
|
551024 |
install-headers-default install-headers-custom \
|
|
|
551024 |
clean distclean clean-implib version \
|
|
|
551024 |
.display .conf \
|
|
|
31ef73 |
.display-project .display-env .display-tools .display-flags \
|
|
|
551024 |
.display-pe .display-elf .display-dirs .display-build \
|
|
|
551024 |
implib implib-ver implib-soname implib-solink \
|
|
|
551024 |
install-implib install-implib-ver \
|
|
|
551024 |
install-implib-soname install-implib-solink
|