diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-16 02:37:30 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-16 02:37:30 +0300 |
commit | f41b593b3469db3341bc9037f6e0ac97e0b66fef (patch) | |
tree | 752f24b0b30852fc0a2edac3df7aef7c2970d0ae | |
parent | 1301edf41e27468c2154c1b0ae7e977321f0cbd4 (diff) |
"Build" the sRGB header also when cross-compiling
-rw-r--r-- | icc/makefile.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/icc/makefile.mk b/icc/makefile.mk index f9e0622b2629..779def4dcf66 100644 --- a/icc/makefile.mk +++ b/icc/makefile.mk @@ -34,11 +34,6 @@ TARGET=icc .INCLUDE : settings.mk -.IF "$(CROSS_COMPILING)"=="YES" -all: - @echo Nothing done when cross-compiling -.ENDIF - # --- Files -------------------------------------------------------- TARFILE_NAME=SampleICC-1.3.2 @@ -53,13 +48,17 @@ CONVERTFILES= \ Contrib$/ICC_utils$/Stubs.h \ Contrib$/ICC_utils$/Vetters.cpp +.IF "$(CROSS_COMPILING)"!="YES" CONFIGURE_ACTION= $(GNUCOPY) -r $(BACK_PATH)..$/source$/create_sRGB_profile Contrib$/CmdLine && unzip -o $(BACK_PATH)..$/makefiles.zip BUILD_ACTION=dmake && cd Contrib$/CmdLine$/create_sRGB_profile && $(AUGMENT_LIBRARY_PATH) .$/create_sRGB_profile +.ELSE +CONFIGURE_ACTION= +BUILD_ACTION = (cd $(BACK_PATH)../$(INPATH_FOR_BUILD)/misc/build/SampleICC* && tar cf - Contrib/CmdLine/create_sRGB_profile/sRGB*.hxx) | tar xvf - +.ENDIF # --- Targets ------------------------------------------------------ .INCLUDE : set_ext.mk - .INCLUDE : target.mk .INCLUDE : tg_ext.mk |