|
|
9ca8c4 |
PACKAGE = @package@
|
|
|
be9551 |
NICKNAME = @nickname@
|
|
|
9ca8c4 |
PROJECT_DIR = @project_dir@
|
|
|
613e01 |
SOURCE_DIR = @source_dir@
|
|
|
990ef3 |
GIT_REFERENCE_INDEX = @git_reference_index@
|
|
|
db15ad |
CUSTOM_INSTALL_HEADERS = @custom_install_headers@
|
|
|
e1e881 |
AVOID_VERSION = @avoid_version@
|
|
|
9ca8c4 |
|
|
|
bb8747 |
PKGNAME = @pkgname@
|
|
|
bb8747 |
PKGDESC = @pkgdesc@
|
|
|
bb8747 |
PKGUSRC = @pkgusrc@
|
|
|
bb8747 |
PKGREPO = @pkgrepo@
|
|
|
bb8747 |
PKGPSRC = @pkgpsrc@
|
|
|
bb8747 |
PKGDURL = @pkgdurl@
|
|
|
bb8747 |
PKGDEFS = @pkgdefs@
|
|
|
bb8747 |
PKGLIBS = @pkglibs@
|
|
|
bb8747 |
|
|
|
9ca8c4 |
BUILD = @build@
|
|
|
9ca8c4 |
HOST = @host@
|
|
|
f83f76 |
CCHOST = @cchost@
|
|
|
f9d92c |
CFGHOST = @cfghost@
|
|
|
9ca8c4 |
TARGET = @target@
|
|
|
9ca8c4 |
ARCH = @arch@
|
|
|
9ca8c4 |
COMPILER = @compiler@
|
|
|
9ca8c4 |
TOOLCHAIN = @toolchain@
|
|
|
9ca8c4 |
SYSROOT = @sysroot@
|
|
|
9ca8c4 |
CROSS_COMPILE = @cross_compile@
|
|
|
9ca8c4 |
SHELL = @shell@
|
|
|
9ca8c4 |
|
|
|
18f961 |
PREFIX = @prefix@
|
|
|
18f961 |
EXEC_PREFIX = @exec_prefix@
|
|
|
18f961 |
BINDIR = @bindir@
|
|
|
18f961 |
SBINDIR = @sbindir@
|
|
|
18f961 |
LIBDIR = @libdir@
|
|
|
18f961 |
INCLUDEDIR = @includedir@
|
|
|
18f961 |
OLDINCLUDEDIR = @oldincludedir@
|
|
|
18f961 |
MANDIR = @mandir@
|
|
|
18f961 |
DOCDIR = @docdir@
|
|
|
18f961 |
LIBEXECDIR = @libexecdir@
|
|
|
18f961 |
|
|
|
18f961 |
SYSCONFDIR = @sysconfdir@
|
|
|
18f961 |
SHAREDSTATEDIR = @sharedstatedir@
|
|
|
18f961 |
LOCALSTATEDIR = @localstatedir@
|
|
|
18f961 |
RUNSTATEDIR = @runstatedir@
|
|
|
18f961 |
DATAROOTDIR = @datarootdir@
|
|
|
18f961 |
DATADIR = @datadir@
|
|
|
18f961 |
INFODIR = @infodir@
|
|
|
18f961 |
LOCALEDIR = @localedir@
|
|
|
18f961 |
HTMLDIR = @htmldir@
|
|
|
18f961 |
DVIDIR = @dvidir@
|
|
|
18f961 |
PDFDIR = @pdfdir@
|
|
|
18f961 |
PSDIR = @psdir@
|
|
|
18f961 |
|
|
|
f7f887 |
CFLAGS_COMMON += @cflags_common@
|
|
|
f7f887 |
CFLAGS_DEBUG += @cflags_debug@
|
|
|
f7f887 |
CFLAGS_CMDLINE += @cflags_cmdline@
|
|
|
f7f887 |
CFLAGS_CONFIG += @cflags_config@
|
|
|
f7f887 |
CFLAGS_SYSROOT += @cflags_sysroot@
|
|
|
f7f887 |
CFLAGS_OS += @cflags_os@
|
|
|
f7f887 |
CFLAGS_SITE += @cflags_site@
|
|
|
f7f887 |
CFLAGS_PATH += @cflags_path@
|
|
|
f7f887 |
CFLAGS_STRICT += @cflags_strict@
|
|
|
f7f887 |
CFLAGS_UTIL += @cflags_util@
|
|
|
f7f887 |
CFLAGS_LAST += @cflags_last@
|
|
|
f7f887 |
CFLAGS_ONCE += @cflags_once@
|
|
|
f7f887 |
|
|
|
f7f887 |
LDFLAGS_COMMON += @ldflags_common@
|
|
|
f7f887 |
LDFLAGS_DEBUG += @ldflags_debug@
|
|
|
f7f887 |
LDFLAGS_CMDLINE += @ldflags_cmdline@
|
|
|
f7f887 |
LDFLAGS_CONFIG += @ldflags_config@
|
|
|
f7f887 |
LDFLAGS_SYSROOT += @ldflags_sysroot@
|
|
|
f7f887 |
LDFLAGS_PATH += @ldflags_path@
|
|
|
f7f887 |
LDFLAGS_STRICT += @ldflags_strict@
|
|
|
f7f887 |
LDFLAGS_UTIL += @ldflags_util@
|
|
|
f7f887 |
LDFLAGS_LAST += @ldflags_last@
|
|
|
f7f887 |
LDFLAGS_ONCE += @ldflags_once@
|
|
|
9ca8c4 |
|
|
|
18f961 |
USER_CC = @user_cc@
|
|
|
18f961 |
USER_CPP = @user_cpp@
|
|
|
18f961 |
USER_CXX = @user_cxx@
|
|
|
18f961 |
|
|
|
f7f887 |
NATIVE_HOST = @native_host@
|
|
|
f7f887 |
NATIVE_CFGHOST = @native_cfghost@
|
|
|
f7f887 |
NATIVE_CFLAGS = @native_cflags@
|
|
|
f7f887 |
NATIVE_LDFLAGS = @native_ldflags@
|
|
|
9ca8c4 |
|
|
|
a7e33b |
ALL_SHARED = @all_shared@
|
|
|
a7e33b |
ALL_STATIC = @all_static@
|
|
|
eb1dc5 |
DISABLE_FRONTEND = @disable_frontend@
|
|
|
a7e33b |
DISABLE_SHARED = @disable_shared@
|
|
|
a7e33b |
DISABLE_STATIC = @disable_static@
|
|
|
9ca8c4 |
|
|
|
d2a366 |
USE_CUSTOM_CFGDEFS = @use_custom_cfgdefs@
|
|
|
d2a366 |
USE_CUSTOM_USRDEFS = @use_custom_usrdefs@
|
|
|
d2a366 |
|
|
|
9ca8c4 |
all:
|
|
|
9ca8c4 |
install:
|
|
|
9ca8c4 |
shared:
|
|
|
9ca8c4 |
static:
|
|
|
9ca8c4 |
|
|
|
028ddb |
install-extras:
|
|
|
028ddb |
install-app-extras:
|
|
|
9ca8c4 |
|
|
|
f7f887 |
include ./ccenv/host.mk
|
|
|
f7f887 |
include ./ccenv/native.mk
|
|
|
9ca8c4 |
|
|
|
45423b |
include ./cfgdefs.mk
|
|
|
45423b |
include ./usrdefs.mk
|
|
|
f7eed4 |
|
|
|
3cdb2f |
include $(PROJECT_DIR)/sofort/core/defs.mk
|
|
|
3cdb2f |
include $(PROJECT_DIR)/sofort/core/pkgconf.mk
|
|
|
3cdb2f |
include $(PROJECT_DIR)/sofort/core/version.mk
|
|
|
3cdb2f |
include $(PROJECT_DIR)/sofort/core/flavor.mk
|
|
|
1f5b18 |
|
|
|
45423b |
include $(PROJECT_DIR)/project/osforce.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/tree.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/depends.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/headers.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/common.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/arch.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/extras.mk
|
|
|
9ca8c4 |
include $(PROJECT_DIR)/project/overrides.mk
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
$(APP_SRCS:%.c=%.o): CFLAGS_STATIC = $(CFLAGS_APP)
|
|
|
9ca8c4 |
|
|
|
613e01 |
src/%.lo: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
|
|
|
9ca8c4 |
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
|
|
|
9ca8c4 |
|
|
|
613e01 |
src/%.o: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
|
|
|
9ca8c4 |
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
|
|
|
9ca8c4 |
|
|
|
091cf1 |
lib/%$(OS_LIB_PREFIXED_SUFFIX)$(VER_XYZ)$(OS_LIB_SUFFIXED_SUFFIX):
|
|
|
9ca8c4 |
$(CC) -shared -o $@ $^ $(LDFLAGS_SHARED)
|
|
|
9ca8c4 |
|
|
|
83ef8c |
lib/%$(OS_ARCHIVE_EXT):
|
|
|
9ca8c4 |
rm -f $@
|
|
|
9ca8c4 |
$(AR) rcs $@ $^
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
a7e33b |
all: package-shared package-static app
|
|
|
9ca8c4 |
|
|
|
eb1dc5 |
install: package-install-app
|
|
|
eb1dc5 |
install: package-install-extras
|
|
|
a7e33b |
install: install-libs
|
|
|
9ca8c4 |
|
|
|
eb1dc5 |
app: app-tag
|
|
|
32003e |
|
|
|
473425 |
app.tag:
|
|
|
32003e |
cp $(PACKAGE_APP) $(APP)
|
|
|
32003e |
touch app.tag
|
|
|
9ca8c4 |
|
|
|
a7e33b |
install-libs: package-install-shared
|
|
|
a7e33b |
install-libs: package-install-static
|
|
|
9ca8c4 |
|
|
|
db15ad |
install-headers-default:
|
|
|
2b6981 |
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
|
|
|
2b6981 |
cp $(API_HEADERS) $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
|
|
|
9ca8c4 |
|
|
|
e1e881 |
install-shared: shared install-lib install-implib
|
|
|
e1e881 |
install-shared: package-install-soname package-install-solink
|
|
|
ae90c3 |
install-shared: install-headers
|
|
|
513c5c |
|
|
|
513c5c |
install-lib: shared
|
|
|
2b6981 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
2b6981 |
cp $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
|
|
|
9ca8c4 |
|
|
|
ae90c3 |
install-static: static install-headers
|
|
|
2b6981 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
2b6981 |
cp $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
|
|
|
9ca8c4 |
|
|
|
028ddb |
install-app: app install-app-extras
|
|
|
2b6981 |
mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
2b6981 |
cp $(APP) $(DESTDIR)$(BINDIR)
|
|
|
9ca8c4 |
|
|
|
d477aa |
install-static-app: static-app install-app-extras
|
|
|
d477aa |
mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
d477aa |
cp $(STATIC_APP) $(DESTDIR)$(BINDIR)/$(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
d477aa |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
e1e881 |
shared: shared-lib implib
|
|
|
e1e881 |
shared: package-shared-soname package-shared-solink
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
static: static-lib
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
shared-lib: shared-objs $(SHARED_LIB)
|
|
|
9ca8c4 |
|
|
|
513c5c |
shared-soname: shared-lib $(SHARED_SONAME)
|
|
|
513c5c |
|
|
|
513c5c |
shared-solink: shared-lib $(SHARED_SOLINK)
|
|
|
513c5c |
|
|
|
9ca8c4 |
static-lib: static-objs $(STATIC_LIB)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
32003e |
default-app: version.tag static-objs $(DEFAULT_APP)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
shared-app: version.tag shared $(SHARED_APP)
|
|
|
9ca8c4 |
|
|
|
32003e |
static-app: version.tag static-objs $(STATIC_APP)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
shared-objs: dirs $(SHARED_OBJS)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
static-objs: dirs $(STATIC_OBJS)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
app-objs: dirs $(APP_OBJS)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
$(SHARED_LIB): $(SHARED_OBJS)
|
|
|
50e5c1 |
$(SHARED_LIB): LDFLAGS_SHARED += $(LDFLAGS_IMPLIB)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
$(STATIC_LIB): $(STATIC_OBJS)
|
|
|
9ca8c4 |
|
|
|
32003e |
$(APP): $(PACKAGE_APP)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
$(DEFAULT_APP): $(STATIC_OBJS) $(APP_OBJS)
|
|
|
32003e |
rm -f app.tag
|
|
|
9ca8c4 |
$(CC) -o $@ $^ $(LDFLAGS_APP)
|
|
|
9ca8c4 |
|
|
|
15f733 |
$(SHARED_APP): $(DSO_REF_SOLINK) $(APP_OBJS) $(SHARED_SOLINK)
|
|
|
32003e |
rm -f app.tag
|
|
|
832051 |
$(CC) -o $@ $(APP_OBJS) $(LDFLAGS_APP) -l$(PACKAGE)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
$(STATIC_APP): $(STATIC_OBJS) $(APP_OBJS)
|
|
|
32003e |
rm -f app.tag
|
|
|
c6de72 |
$(CC) -static -o $@ $^ $(LDFLAGS_STATIC)
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
f4247a |
dirs: dirs.tag
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
dirs.tag:
|
|
|
1d8e07 |
mkdir -p build
|
|
|
83ef8c |
mkdir -p bin
|
|
|
83ef8c |
mkdir -p lib
|
|
|
9ca8c4 |
touch dirs.tag
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
host.tag: Makefile
|
|
|
4a289f |
$(CC) $(CFLAGS) -dumpmachine > host.tmp
|
|
|
4a289f |
mv host.tmp host.tag
|
|
|
543a15 |
|
|
|
1d8e07 |
version.tag: $(GIT_REFERENCE_INDEX) dirs.tag
|
|
|
3cdb2f |
$(PROJECT_DIR)/sofort/tools/version.sh \
|
|
|
613e01 |
-s $(SOURCE_DIR) \
|
|
|
9ca8c4 |
-o build/$(PACKAGE)_version.h \
|
|
|
9ca8c4 |
-p $(PACKAGE)
|
|
|
9ca8c4 |
touch version.tag
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
distclean: clean
|
|
|
85b9b7 |
rm -f cfgdefs.mk
|
|
|
85b9b7 |
rm -f usrdefs.mk
|
|
|
9ca8c4 |
rm -f Makefile
|
|
|
9ca8c4 |
|
|
|
1f5b18 |
clean: clean-implib
|
|
|
9ca8c4 |
rm -f tree.tag
|
|
|
9ca8c4 |
rm -f dirs.tag
|
|
|
9ca8c4 |
rm -f host.tag
|
|
|
4a289f |
rm -f host.tmp
|
|
|
9ca8c4 |
rm -f version.tag
|
|
|
01a503 |
rm -f app.tag
|
|
|
9ca8c4 |
rm -f $(SHARED_OBJS)
|
|
|
9ca8c4 |
rm -f $(STATIC_OBJS)
|
|
|
9ca8c4 |
rm -f $(APP_OBJS)
|
|
|
9ca8c4 |
rm -f $(SHARED_LIB)
|
|
|
513c5c |
rm -f $(SHARED_SONAME)
|
|
|
513c5c |
rm -f $(SHARED_SOLINK)
|
|
|
9ca8c4 |
rm -f $(STATIC_LIB)
|
|
|
9ca8c4 |
rm -f $(APP)
|
|
|
9ca8c4 |
rm -f $(DEFAULT_APP)
|
|
|
9ca8c4 |
rm -f $(SHARED_APP)
|
|
|
9ca8c4 |
rm -f $(STATIC_APP)
|
|
|
347b61 |
rm -f build/$(PACKAGE)_version.h
|
|
|
347b61 |
rm -f build/$(PACKAGE).pc
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
|
|
|
fc67fb |
.display: .display-project .display-pkgconf .display-env \
|
|
|
fc67fb |
.display-tools .display-flags \
|
|
|
fc67fb |
.display-dirs .display-build \
|
|
|
fc67fb |
.display-config
|
|
|
9ca8c4 |
|
|
|
cb65d5 |
.conf: PAGER ?= less
|
|
|
cb65d5 |
.conf:
|
|
|
cb65d5 |
$(MAKE) .display | $(PAGER)
|
|
|
cb65d5 |
|
|
|
9ca8c4 |
.display-project:
|
|
|
79b402 |
@echo PACKAGE:' '$(PACKAGE)
|
|
|
79b402 |
@echo NICKNAME:' '$(NICKNAME)
|
|
|
9ca8c4 |
@echo PROJECT_DIR:' '$(PROJECT_DIR)
|
|
|
4a7f99 |
@echo SOURCE_DIR:' '$(SOURCE_DIR)
|
|
|
9ca8c4 |
@echo BUILD_DIR:' '$(CURDIR)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
bb8747 |
.display-pkgconf:
|
|
|
bb8747 |
@echo PKGNAME:' '$(PKGNAME)
|
|
|
bb8747 |
@echo PKGDESC:' '$(PKGDESC)
|
|
|
bb8747 |
@echo PKGUSRC:' '$(PKGUSRC)
|
|
|
bb8747 |
@echo PKGREPO:' '$(PKGREPO)
|
|
|
bb8747 |
@echo PKGPSRC:' '$(PKGPSRC)
|
|
|
bb8747 |
@echo PKGDURL:' '$(PKGDURL)
|
|
|
bb8747 |
@echo PKGDEFS:' '$(PKGDEFS)
|
|
|
bb8747 |
@echo PKGLIBS:' '$(PKGLIBS)
|
|
|
bb8747 |
@echo
|
|
|
bb8747 |
|
|
|
9ca8c4 |
.display-env:
|
|
|
9ca8c4 |
@echo BUILD:' '$(BUILD)
|
|
|
9ca8c4 |
@echo HOST:' '$(HOST)
|
|
|
f83f76 |
@echo CCHOST:' '$(CCHOST)
|
|
|
f9d92c |
@echo CFGHOST:' '$(CFGHOST)
|
|
|
9ca8c4 |
@echo TARGET:' '$(TARGET)
|
|
|
9ca8c4 |
@echo ARCH:' '$(ARCH)
|
|
|
9ca8c4 |
@echo COMPILER:' '$(COMPILER)
|
|
|
9ca8c4 |
@echo TOOLCHAIN:' '$(TOOLCHAIN)
|
|
|
9ca8c4 |
@echo SYSROOT:' '$(SYSROOT)
|
|
|
9ca8c4 |
@echo CROSS_COMPILE:' '$(CROSS_COMPILE)
|
|
|
9ca8c4 |
@echo SHELL:' '$(SHELL)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
.display-tools:
|
|
|
9ca8c4 |
@echo CC:' '$(CC)
|
|
|
9ca8c4 |
@echo CPP:' '$(CPP)
|
|
|
9ca8c4 |
@echo CXX:' '$(CXX)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
@echo AS:' '$(AS)
|
|
|
9ca8c4 |
@echo AR:' '$(AR)
|
|
|
9ca8c4 |
@echo LD:' '$(LD)
|
|
|
9ca8c4 |
@echo NM:' '$(NM)
|
|
|
9ca8c4 |
@echo OBJDUMP:' '$(OBJDUMP)
|
|
|
9ca8c4 |
@echo RANLIB:' '$(RANLIB)
|
|
|
9ca8c4 |
@echo SIZE:' '$(SIZE)
|
|
|
9ca8c4 |
@echo STRIP:' '$(STRIP)
|
|
|
9ca8c4 |
@echo STRINGS:' '$(STRINGS)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
@echo ADDR2LINE:' '$(ADDR2LINE)
|
|
|
9ca8c4 |
@echo COV:' '$(COV)
|
|
|
9ca8c4 |
@echo CXXFILT' '$(CXXFILT)
|
|
|
9ca8c4 |
@echo ELFEDIT:' '$(ELFEDIT)
|
|
|
9ca8c4 |
@echo OBJCOPY:' '$(OBJCOPY)
|
|
|
9ca8c4 |
@echo READELF:' '$(READELF)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
.display-flags:
|
|
|
9ca8c4 |
@echo CFLAGS_COMMON:' '$(CFLAGS_COMMON)
|
|
|
a5d144 |
@echo CFLAGS_DEBUG:' '$(CFLAGS_DEBUG)
|
|
|
513c5c |
@echo CFLAGS_VERSION:' '$(CFLAGS_VERSION)
|
|
|
9ca8c4 |
@echo CFLAGS_CMDLINE:' '$(CFLAGS_CMDLINE)
|
|
|
9ca8c4 |
@echo CFLAGS_CONFIG:' '$(CFLAGS_CONFIG)
|
|
|
9ca8c4 |
@echo CFLAGS_SYSROOT:' '$(CFLAGS_SYSROOT)
|
|
|
9ca8c4 |
@echo CFLAGS_OS:' '$(CFLAGS_OS)
|
|
|
9ca8c4 |
@echo CFLAGS_SITE:' '$(CFLAGS_SITE)
|
|
|
9ca8c4 |
@echo CFLAGS_PATH:' '$(CFLAGS_PATH)
|
|
|
1e6e10 |
@echo CFLAGS_STRICT:' '$(CFLAGS_STRICT)
|
|
|
fbb1cf |
@echo CFLAGS_UTIL:' '$(CFLAGS_UTIL)
|
|
|
c5c9ea |
@echo CFLAGS_LAST:' '$(CFLAGS_LAST)
|
|
|
c5c9ea |
@echo CFLAGS_ONCE:' '$(CFLAGS_ONCE)
|
|
|
9ca8c4 |
@echo
|
|
|
e1f4c5 |
@echo LDFLAGS_COMMON:' '$(LDFLAGS_COMMON)
|
|
|
e1f4c5 |
@echo LDFLAGS_DEBUG:' '$(LDFLAGS_DEBUG)
|
|
|
e1f4c5 |
@echo LDFLAGS_CMDLINE:' '$(LDFLAGS_CMDLINE)
|
|
|
e1f4c5 |
@echo LDFLAGS_CONFIG:' '$(LDFLAGS_CONFIG)
|
|
|
e1f4c5 |
@echo LDFLAGS_SYSROOT:' '$(LDFLAGS_SYSROOT)
|
|
|
e1f4c5 |
@echo LDFLAGS_PATH:' '$(LDFLAGS_PATH)
|
|
|
1e6e10 |
@echo LDFLAGS_STRICT:' '$(LDFLAGS_STRICT)
|
|
|
e1f4c5 |
@echo LDFLAGS_UTIL:' '$(LDFLAGS_UTIL)
|
|
|
c5c9ea |
@echo LDFLAGS_LAST:' '$(LDFLAGS_LAST)
|
|
|
c5c9ea |
@echo LDFLAGS_ONCE:' '$(LDFLAGS_ONCE)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
.display-pe:
|
|
|
9ca8c4 |
@echo PE_SUBSYSTEM:' '$(PE_SUBSYSTEM)
|
|
|
9ca8c4 |
@echo PE_IMAGE_BASE:' '$(PE_IMAGE_BASE)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
.display-dirs:
|
|
|
9ca8c4 |
@echo PREFIX:' '$(PREFIX)
|
|
|
4a022e |
@echo EXEC_PREFIX:' '$(EXEC_PREFIX)
|
|
|
9ca8c4 |
@echo BINDIR:' '$(BINDIR)
|
|
|
67be49 |
@echo SBINDIR:' '$(SBINDIR)
|
|
|
9ca8c4 |
@echo LIBDIR:' '$(LIBDIR)
|
|
|
9ca8c4 |
@echo INCLUDEDIR:' '$(INCLUDEDIR)
|
|
|
aacf07 |
@echo OLDINCLUDEDIR:' '$(OLDINCLUDEDIR)
|
|
|
9ca8c4 |
@echo MANDIR:' '$(MANDIR)
|
|
|
9ca8c4 |
@echo DOCDIR:' '$(DOCDIR)
|
|
|
9ca8c4 |
@echo LIBEXECDIR:' '$(LIBEXECDIR)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
aacf07 |
.display-exdirs:
|
|
|
aacf07 |
@echo SYSCONFDIR' '$(SYSCONFDIR)
|
|
|
aacf07 |
@echo SHAREDSTATEDIR' '$(SHAREDSTATEDIR)
|
|
|
aacf07 |
@echo LOCALSTATEDIR' '$(LOCALSTATEDIR)
|
|
|
aacf07 |
@echo RUNSTATEDIR' '$(RUNSTATEDIR)
|
|
|
aacf07 |
@echo DATAROOTDIR' '$(DATAROOTDIR)
|
|
|
aacf07 |
@echo DATADIR' '$(DATADIR)
|
|
|
aacf07 |
@echo INFODIR' '$(INFODIR)
|
|
|
aacf07 |
@echo LOCALEDIR' '$(LOCALEDIR)
|
|
|
aacf07 |
@echo HTMLDIR' '$(HTMLDIR)
|
|
|
aacf07 |
@echo DVIDIR' '$(DVIDIR)
|
|
|
aacf07 |
@echo PDFDIR' '$(PDFDIR)
|
|
|
aacf07 |
@echo PSDIR' '$(PSDIR)
|
|
|
aacf07 |
|
|
|
9ca8c4 |
.display-build:
|
|
|
9ca8c4 |
@echo NATIVE_CC:' '$(NATIVE_CC)
|
|
|
f7f887 |
@echo NATIVE_CPP:' '$(NATIVE_CPP)
|
|
|
f7f887 |
@echo NATIVE_CXX:' '$(NATIVE_CXX)
|
|
|
f7f887 |
|
|
|
f7f887 |
@echo NATIVE_HOST:' '$(NATIVE_HOST)
|
|
|
f7f887 |
@echo NATIVE_CFGHOST:' '$(NATIVE_CFGHOST)
|
|
|
f7f887 |
@echo NATIVE_CFLAGS:' '$(NATIVE_CFLAGS)
|
|
|
f7f887 |
@echo NATIVE_LDFLAGS:' '$(NATIVE_LDFLAGS)
|
|
|
543a15 |
@echo
|
|
|
9ca8c4 |
@echo NATIVE_OS:' '$(NATIVE_OS)
|
|
|
9ca8c4 |
@echo NATIVE_OS_BITS:' '$(NATIVE_OS_BITS)
|
|
|
9ca8c4 |
@echo NATIVE_OS_UNDERSCORE:' '$(NATIVE_OS_UNDERSCORE)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
@echo USER_CC:' '$(USER_CC)
|
|
|
9ca8c4 |
@echo USER_CPP:' '$(USER_CPP)
|
|
|
9ca8c4 |
@echo USER_CXX:' '$(USER_CXX)
|
|
|
9ca8c4 |
@echo
|
|
|
9ca8c4 |
|
|
|
a7e33b |
.display-config:
|
|
|
a7e33b |
@echo ALL_SHARED:' '$(ALL_SHARED)
|
|
|
a7e33b |
@echo ALL_STATIC:' '$(ALL_STATIC)
|
|
|
eb1dc5 |
@echo DISABLE_FRONTEND:' '$(DISABLE_FRONTEND)
|
|
|
a7e33b |
@echo DISABLE_SHARED:' '$(DISABLE_SHARED)
|
|
|
a7e33b |
@echo DISABLE_STATIC:' '$(DISABLE_STATIC)
|
|
|
d2a366 |
@echo
|
|
|
d2a366 |
@echo USE_CUSTOM_CFGDEFS:' '$(USE_CUSTOM_CFGDEFS)
|
|
|
d2a366 |
@echo USE_CUSTOM_USRDEFS:' '$(USE_CUSTOM_USRDEFS)
|
|
|
a7e33b |
|
|
|
e43b24 |
.display-host:
|
|
|
e43b24 |
@$(CC) $(CFLAGS) -dumpmachine
|
|
|
e43b24 |
|
|
|
036cf2 |
.display-cc:
|
|
|
036cf2 |
@echo $(CC)
|
|
|
036cf2 |
|
|
|
ddcf3f |
.display-cflags:
|
|
|
ddcf3f |
@echo $(CFLAGS)
|
|
|
ddcf3f |
|
|
|
9ca8c4 |
|
|
|
4a289f |
.PHONY: package-app \
|
|
|
f83f76 |
all install shared static app \
|
|
|
1f5b18 |
shared-objs shared-lib \
|
|
|
e1e881 |
shared-soname shared-solink \
|
|
|
e1e881 |
package-shared-soname package-shared-solink \
|
|
|
9ca8c4 |
static-objs static-lib \
|
|
|
9ca8c4 |
default-app shared-app static-app \
|
|
|
1f5b18 |
install-shared install-static \
|
|
|
e1e881 |
install-soname install-solink \
|
|
|
e1e881 |
package-install-soname package-install-solink \
|
|
|
9ca8c4 |
install-headers install-app \
|
|
|
42e1ff |
install-headers-default install-headers-custom \
|
|
|
1f5b18 |
clean distclean clean-implib version \
|
|
|
cb65d5 |
.display .conf \
|
|
|
9ca8c4 |
.display-project .display-env .display-tools .display-flags \
|
|
|
b5c111 |
.display-pe .display-dirs .display-build \
|
|
|
1f5b18 |
implib implib-ver implib-soname implib-solink \
|
|
|
1f5b18 |
install-implib install-implib-ver \
|
|
|
1f5b18 |
install-implib-soname install-implib-solink
|