Skip to content

Commit

Permalink
Cut compile time by compiling only what's needed
Browse files Browse the repository at this point in the history
Changed what gets compiled in tiff and libpng so we no longer build
all the tools and misc executables/tests
  • Loading branch information
robwink committed Jul 13, 2016
1 parent 29ed078 commit 754b74e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions iomedley/Makefile.in
Expand Up @@ -72,10 +72,11 @@ $(LIBGIF):
cd $(LIBGIFDIR) && $(MAKE)

$(LIBTIFF):
cd $(LIBTIFFDIR) && $(MAKE)
cd $(LIBTIFFDIR)/port && $(MAKE)
cd $(LIBTIFFDIR)/libtiff && $(MAKE)

$(LIBPNG):
cd $(LIBPNGDIR) && $(MAKE)
cd $(LIBPNGDIR) && $(MAKE) $(LIBPNG)

$(LIBJPEG):
cd $(LIBJPEGDIR) && $(MAKE) $(LIBJPEG)
Expand Down
2 changes: 1 addition & 1 deletion iomedley/configure
Expand Up @@ -4489,7 +4489,7 @@ $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
$as_echo "#define HAVE_LIBPNG 1" >>confdefs.h
libpng="libpng16.a"
libpng="libpng16.la"
libpngdir="libpng-1.6.23"
save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" save_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS -I$libpngdir" LIBS="$LIBS -lpng16" LDFLAGS="$LDFLAGS -L$libpngdir/.libs"
Expand Down
2 changes: 1 addition & 1 deletion iomedley/configure.ac
Expand Up @@ -60,7 +60,7 @@ dnl Warn the user if zlib not found
if test "$found_libz" = "yes"; then
AC_DEFINE(HAVE_LIBZ, 1, [ define to 1 if you have libz ] )
AC_DEFINE(HAVE_LIBPNG, 1, [ define to 1 if you have libpng ] )
libpng="libpng16.a"
libpng="libpng16.la"
libpngdir="libpng-1.6.23"
save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" save_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS -I$libpngdir" LIBS="$LIBS -lpng16" LDFLAGS="$LDFLAGS -L$libpngdir/.libs"
Expand Down

0 comments on commit 754b74e

Please sign in to comment.