Commit c36ac444 authored by Jean-Paul Saman's avatar Jean-Paul Saman

contribs: fix makefile

parent a54329d2
...@@ -2137,10 +2137,14 @@ tiff: tiff-$(TIFF_VERSION).tar.gz ...@@ -2137,10 +2137,14 @@ tiff: tiff-$(TIFF_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
.tiff: tiff .tiff: tiff
if defined(HAVE_WIN32) || defined(HAVE_ARM_LINUX) ifdef HAVE_WIN32
(cd $<; ./configure --target=$(HOST) --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) --host=$(HOST) &&make -C port && make -C libtiff && make -C libtiff install)
else
ifdef HAVE_ARM_LINUX
(cd $<; ./configure --target=$(HOST) --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) --host=$(HOST) &&make -C port && make -C libtiff && make -C libtiff install) (cd $<; ./configure --target=$(HOST) --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) --host=$(HOST) &&make -C port && make -C libtiff && make -C libtiff install)
else else
(cd $<; ./configure --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) && make -C port &&make -C libtiff && make -C libtiff install) (cd $<; ./configure --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) && make -C port &&make -C libtiff && make -C libtiff install)
endif
endif endif
$(INSTALL_NAME) $(INSTALL_NAME)
touch $@ touch $@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment