summaryrefslogtreecommitdiffstats
path: root/soltools/mkdepend
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-04 14:51:55 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-04 19:08:33 +0300
commit6465f4e8dd72990f550fd0a63342325fb0d4e026 (patch)
tree48bd0301bdeb1bc971138b9c2e68281654ae0664 /soltools/mkdepend
parentTentatively add the CoreFoundation framework to STD{SHL,LIB}{GUI,CUI}MT (diff)
downloadcore-6465f4e8dd72990f550fd0a63342325fb0d4e026.tar.gz
core-6465f4e8dd72990f550fd0a63342325fb0d4e026.zip
Rehash cross-compilation ideas
Drop the TARGETPLATFORM=BUILD indication of stuff that is to be built for the build platform but pointless to build for the host platform. I will handle the split of stuff built for the build or host platforms differently. Note that some libraries need to be built for both platforms. Add explicit rules to do nothing for the cross-compilation case, but likely even that will be unnecessary in the case of complete modules like soltools (?). I will just mark modules that are for the build platform only with an own flag in BUILD_TYPE.
Diffstat (limited to 'soltools/mkdepend')
-rw-r--r--soltools/mkdepend/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/soltools/mkdepend/makefile.mk b/soltools/mkdepend/makefile.mk
index 4b73a95ca7ff..fb5fe58d551d 100644
--- a/soltools/mkdepend/makefile.mk
+++ b/soltools/mkdepend/makefile.mk
@@ -29,7 +29,6 @@ PRJNAME=soltools
TARGET=make_makedepend
PRJ=..
TARGETTYPE=CUI
-TARGETPLATFORM=BUILD
LIBTARGET=NO
# noadjust here to have dependencies over there
noadjust=TRUE
@@ -44,6 +43,11 @@ EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
.INCLUDE : $(PRJ)$/util$/makefile.pmk
.INCLUDE : settings.mk
+.IF "$(CROSS_COMPILING)"=="YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
LIBSALCPPRT=
UWINAPILIB=