diff options
-rw-r--r-- | sal/cppunittester/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/ByteSequence/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/OStringBuffer/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/osl/condition/makefile.mk | 5 | ||||
-rw-r--r-- | sal/qa/osl/file/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/osl/getsystempathfromfileurl/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/osl/module/makefile.mk | 5 | ||||
-rw-r--r-- | sal/qa/osl/process/makefile.mk | 4 | ||||
-rwxr-xr-x | sal/qa/osl/security/makefile.mk | 4 | ||||
-rwxr-xr-x | sal/qa/rtl/alloc/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/cipher/makefile.mk | 4 | ||||
-rwxr-xr-x | sal/qa/rtl/crc32/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/doublelock/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/locale/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/oustringbuffer/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/strings/makefile.mk | 3 | ||||
-rw-r--r-- | sal/qa/sal/makefile.mk | 4 |
18 files changed, 71 insertions, 2 deletions
diff --git a/sal/cppunittester/makefile.mk b/sal/cppunittester/makefile.mk index 938b63d90..77ed453fc 100644 --- a/sal/cppunittester/makefile.mk +++ b/sal/cppunittester/makefile.mk @@ -33,6 +33,8 @@ ENABLE_EXCEPTIONS = TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGSCXX += $(CPPUNIT_CFLAGS) OBJFILES = $(APP1OBJS) @@ -42,4 +44,6 @@ APP1RPATH = NONE APP1STDLIBS = $(CPPUNITLIB) $(SALLIB) APP1TARGET = cppunittester +.ENDIF + .INCLUDE: target.mk diff --git a/sal/qa/ByteSequence/makefile.mk b/sal/qa/ByteSequence/makefile.mk index b033e3194..3ba99aa2f 100644 --- a/sal/qa/ByteSequence/makefile.mk +++ b/sal/qa/ByteSequence/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS = TRUE CFLAGSCXX += $(CPPUNIT_CFLAGS) +.IF "$(CROSS_COMPILING)"=="" + SHL1IMPLIB = i$(SHL1TARGET) SHL1OBJS = $(SLO)/ByteSequence.obj SHL1RPATH = NONE @@ -45,5 +47,7 @@ DEF1NAME = $(SHL1TARGET) SLOFILES = $(SHL1OBJS) +.ENDIF + .INCLUDE: target.mk .INCLUDE: $(PRJ)$/qa$/cppunit_local.mk diff --git a/sal/qa/OStringBuffer/makefile.mk b/sal/qa/OStringBuffer/makefile.mk index 2b29878ec..0a7386492 100644 --- a/sal/qa/OStringBuffer/makefile.mk +++ b/sal/qa/OStringBuffer/makefile.mk @@ -36,6 +36,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -61,6 +63,8 @@ SHL1RPATH = NONE # do this here, so we get right dependencies SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/makefile.mk b/sal/qa/makefile.mk index 391ac66b8..529b3bea4 100644 --- a/sal/qa/makefile.mk +++ b/sal/qa/makefile.mk @@ -47,6 +47,8 @@ TARGET=whole_sal_qa ALLTAR : test_all .ENDIF +.IF "$(CROSS_COMPILING)"=="" + # OTHER STUFF ------------------------------------------------------ # test : test_all @@ -60,3 +62,5 @@ test_all: @echo - start sal unit tests @echo ---------------------------------------------------------- $(PERL) buildall.pl $(TESTOPT) + +.ENDIF diff --git a/sal/qa/osl/condition/makefile.mk b/sal/qa/osl/condition/makefile.mk index 784f9c27a..5de9f0faa 100644 --- a/sal/qa/osl/condition/makefile.mk +++ b/sal/qa/osl/condition/makefile.mk @@ -36,6 +36,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -54,7 +56,10 @@ SHL1VERSIONMAP = $(PRJ)$/qa$/export.map # auto generated Target:Condition # END ------------------------------------------------------------------ +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk .INCLUDE : $(PRJ)$/qa$/cppunit_local.mk + diff --git a/sal/qa/osl/file/makefile.mk b/sal/qa/osl/file/makefile.mk index 1fad4b4d0..ba7c3e574 100644 --- a/sal/qa/osl/file/makefile.mk +++ b/sal/qa/osl/file/makefile.mk @@ -36,6 +36,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -79,6 +81,8 @@ SHL3VERSIONMAP = $(PRJ)$/qa$/export.map # do this here, so we get right dependencies SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/osl/getsystempathfromfileurl/makefile.mk b/sal/qa/osl/getsystempathfromfileurl/makefile.mk index 295868e28..1d68e93f9 100644 --- a/sal/qa/osl/getsystempathfromfileurl/makefile.mk +++ b/sal/qa/osl/getsystempathfromfileurl/makefile.mk @@ -37,6 +37,8 @@ ENABLE_EXCEPTIONS = TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGSCXX += $(CPPUNIT_CFLAGS) DLLPRE = @@ -51,6 +53,8 @@ DEF1NAME = $(SHL1TARGET) SLOFILES = $(SHL1OBJS) +.ENDIF + .INCLUDE: target.mk .INCLUDE: _cppunit.mk diff --git a/sal/qa/osl/module/makefile.mk b/sal/qa/osl/module/makefile.mk index df444788e..474bf63e7 100644 --- a/sal/qa/osl/module/makefile.mk +++ b/sal/qa/osl/module/makefile.mk @@ -36,6 +36,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -72,8 +74,9 @@ DEF2NAME =$(SHL2TARGET) SHL2VERSIONMAP= $(PRJ)$/qa$/export.map # END ------------------------------------------------------------------ +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk .INCLUDE : $(PRJ)$/qa$/cppunit_local.mk - diff --git a/sal/qa/osl/process/makefile.mk b/sal/qa/osl/process/makefile.mk index cf78cd5f5..bec5e0e66 100644 --- a/sal/qa/osl/process/makefile.mk +++ b/sal/qa/osl/process/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -77,6 +79,8 @@ SHL2DEPN=$(APP3TARGETN) \ SLOFILES=$(SHL1OBJS) $(SHL2OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/osl/security/makefile.mk b/sal/qa/osl/security/makefile.mk index 9fc442fc1..c8c1bebe9 100755 --- a/sal/qa/osl/security/makefile.mk +++ b/sal/qa/osl/security/makefile.mk @@ -36,6 +36,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -58,6 +60,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # auto generated Target:Security # END ------------------------------------------------------------------ +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/alloc/makefile.mk b/sal/qa/rtl/alloc/makefile.mk index 817554074..15d3ff3f9 100755 --- a/sal/qa/rtl/alloc/makefile.mk +++ b/sal/qa/rtl/alloc/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -54,6 +56,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/cipher/makefile.mk b/sal/qa/rtl/cipher/makefile.mk index ced0747ac..7ba9b0b97 100644 --- a/sal/qa/rtl/cipher/makefile.mk +++ b/sal/qa/rtl/cipher/makefile.mk @@ -37,6 +37,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -63,6 +65,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/crc32/makefile.mk b/sal/qa/rtl/crc32/makefile.mk index 149e82eb8..7f748093c 100755 --- a/sal/qa/rtl/crc32/makefile.mk +++ b/sal/qa/rtl/crc32/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -61,6 +63,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/doublelock/makefile.mk b/sal/qa/rtl/doublelock/makefile.mk index 02283c9c1..85765dbd9 100644 --- a/sal/qa/rtl/doublelock/makefile.mk +++ b/sal/qa/rtl/doublelock/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -64,6 +66,8 @@ SHL1VERSIONMAP = $(PRJ)$/qa$/export.map SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/locale/makefile.mk b/sal/qa/rtl/locale/makefile.mk index 32e1471ee..1e757c640 100644 --- a/sal/qa/rtl/locale/makefile.mk +++ b/sal/qa/rtl/locale/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -62,6 +64,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/oustringbuffer/makefile.mk b/sal/qa/rtl/oustringbuffer/makefile.mk index 9165daa11..dc82e6314 100644 --- a/sal/qa/rtl/oustringbuffer/makefile.mk +++ b/sal/qa/rtl/oustringbuffer/makefile.mk @@ -34,6 +34,7 @@ ENABLE_EXCEPTIONS := TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -50,6 +51,7 @@ SHL1STDLIBS := $(SALLIB) $(CPPUNITLIB) SHL1VERSIONMAP := $(PRJ)$/qa$/export.map DEF1NAME := $(SHL1TARGET) +.ENDIF + .INCLUDE: target.mk .INCLUDE: $(PRJ)$/qa$/cppunit_local.mk - diff --git a/sal/qa/rtl/strings/makefile.mk b/sal/qa/rtl/strings/makefile.mk index 2b07539e8..6ebfed702 100644 --- a/sal/qa/rtl/strings/makefile.mk +++ b/sal/qa/rtl/strings/makefile.mk @@ -34,6 +34,7 @@ ENABLE_EXCEPTIONS := TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -51,5 +52,7 @@ SHL1STDLIBS := $(SALLIB) $(CPPUNITLIB) SHL1VERSIONMAP := $(PRJ)$/qa$/export.map DEF1NAME := $(SHL1TARGET) +.ENDIF + .INCLUDE: target.mk .INCLUDE: $(PRJ)$/qa$/cppunit_local.mk diff --git a/sal/qa/sal/makefile.mk b/sal/qa/sal/makefile.mk index e5ccce32b..783b30138 100644 --- a/sal/qa/sal/makefile.mk +++ b/sal/qa/sal/makefile.mk @@ -33,6 +33,8 @@ ENABLE_EXCEPTIONS := TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" + SHL1TARGET = $(TARGET)_types SHL1OBJS = $(SLO)$/test_types.obj SHL1STDLIBS = $(SALLIB) $(CPPUNITLIB) @@ -42,5 +44,7 @@ DEF1NAME = $(SHL1TARGET) SLOFILES = $(SHL1OBJS) +.ENDIF + .INCLUDE: target.mk .INCLUDE: $(PRJ)$/qa$/cppunit_local.mk |