summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-23 03:38:48 -0500
committermidipix <writeonce@midipix.org>2017-11-23 15:44:05 -0500
commitf83f76048d0094921afb0f4f4b0bb5b90e062755 (patch)
treec62be2cb4e6b44fb1db968612ea2650fae5c0242 /Makefile.in
parent197fd9ecd4f88bc1b5f654dd19bd8854a4fba905 (diff)
downloadslibtool-f83f76048d0094921afb0f4f4b0bb5b90e062755.tar.bz2
slibtool-f83f76048d0094921afb0f4f4b0bb5b90e062755.tar.xz
build system: added --cchost support.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index bae3699..b825744 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -8,6 +8,7 @@ AVOID_VERSION = @avoid_version@
BUILD = @build@
HOST = @host@
+CCHOST = @cchost@
TARGET = @target@
ARCH = @arch@
COMPILER = @compiler@
@@ -231,6 +232,9 @@ dirs.tag:
mkdir -p lib
touch dirs.tag
+cchost:
+ $(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
+
host.tag: Makefile
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
touch host.tag
@@ -283,6 +287,7 @@ clean: clean-implib
.display-env:
@echo BUILD:' '$(BUILD)
@echo HOST:' '$(HOST)
+ @echo CCHOST:' '$(CCHOST)
@echo TARGET:' '$(TARGET)
@echo ARCH:' '$(ARCH)
@echo COMPILER:' '$(COMPILER)
@@ -409,8 +414,8 @@ clean: clean-implib
@echo $(CFLAGS)
-.PHONY: all install shared static app \
- package-app \
+.PHONY: cchost package-app \
+ all install shared static app \
shared-objs shared-lib \
shared-soname shared-solink \
package-shared-soname package-shared-solink \