"Build" the sRGB header also when cross-compiling

This commit is contained in:
Tor Lillqvist
2011-06-16 02:37:30 +03:00
parent 1301edf41e
commit f41b593b34

View File

@@ -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