go-libwebp

Experimental translation from libwebp to Go source.
Log | Files | Refs | README | LICENSE

Makefile.am (1601B)


      1 # The mux and demux libraries depend on libwebp, thus the '.' to force
      2 # the build order so it's available to them.
      3 SUBDIRS = dec enc dsp utils .
      4 if BUILD_MUX
      5   SUBDIRS += mux
      6 endif
      7 if BUILD_DEMUX
      8   SUBDIRS += demux
      9 endif
     10 
     11 lib_LTLIBRARIES = libwebp.la
     12 
     13 if BUILD_LIBWEBPDECODER
     14   lib_LTLIBRARIES += libwebpdecoder.la
     15 endif
     16 
     17 common_HEADERS =
     18 common_HEADERS += webp/decode.h
     19 common_HEADERS += webp/types.h
     20 commondir = $(includedir)/webp
     21 
     22 libwebp_la_SOURCES =
     23 libwebpinclude_HEADERS =
     24 libwebpinclude_HEADERS += webp/encode.h
     25 
     26 noinst_HEADERS =
     27 noinst_HEADERS += webp/format_constants.h
     28 
     29 libwebp_la_LIBADD =
     30 libwebp_la_LIBADD += dec/libwebpdecode.la
     31 libwebp_la_LIBADD += dsp/libwebpdsp.la
     32 libwebp_la_LIBADD += enc/libwebpencode.la
     33 libwebp_la_LIBADD += utils/libwebputils.la
     34 
     35 # Use '-no-undefined' to declare that libwebp does not depend on any libraries
     36 # other than the ones listed on the command line, i.e., after linking, it will
     37 # not have unresolved symbols. Some platforms (Windows among them) require all
     38 # symbols in shared libraries to be resolved at library creation.
     39 libwebp_la_LDFLAGS = -no-undefined -version-info 9:0:2
     40 libwebpincludedir = $(includedir)/webp
     41 pkgconfig_DATA = libwebp.pc
     42 
     43 if BUILD_LIBWEBPDECODER
     44   libwebpdecoder_la_SOURCES =
     45 
     46   libwebpdecoder_la_LIBADD =
     47   libwebpdecoder_la_LIBADD += dec/libwebpdecode.la
     48   libwebpdecoder_la_LIBADD += dsp/libwebpdspdecode.la
     49   libwebpdecoder_la_LIBADD += utils/libwebputilsdecode.la
     50 
     51   libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 5:0:2
     52   pkgconfig_DATA += libwebpdecoder.pc
     53 endif
     54 
     55 ${pkgconfig_DATA}: ${top_builddir}/config.status