• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTOMAKE_OPTIONS = foreign nostdinc subdir-objects
2
3ACLOCAL_AMFLAGS = -I m4
4
5# Actual ABI version is substituted by bootstrap
6LIBBROTLI_VERSION_INFO = -version-info 0:0:0
7
8bin_PROGRAMS = brotli
9lib_LTLIBRARIES = libbrotlicommon.la libbrotlidec.la libbrotlienc.la
10
11include scripts/sources.lst
12
13brotliincludedir = $(includedir)/brotli
14brotliinclude_HEADERS = $(BROTLI_INCLUDE)
15
16AM_CFLAGS = -I$(top_srcdir)/c/include
17
18brotli_SOURCES = $(BROTLI_CLI_C)
19brotli_LDADD = libbrotlidec.la libbrotlienc.la libbrotlicommon.la -lm
20#brotli_LDFLAGS = -static
21
22libbrotlicommon_la_SOURCES = $(BROTLI_COMMON_C) $(BROTLI_COMMON_H)
23libbrotlicommon_la_LDFLAGS = $(AM_LDFLAGS) $(LIBBROTLI_VERSION_INFO) $(LDFLAGS)
24libbrotlidec_la_SOURCES = $(BROTLI_DEC_C) $(BROTLI_DEC_H)
25libbrotlidec_la_LDFLAGS = $(AM_LDFLAGS) $(LIBBROTLI_VERSION_INFO) $(LDFLAGS)
26libbrotlidec_la_LIBADD = libbrotlicommon.la -lm
27libbrotlienc_la_SOURCES = $(BROTLI_ENC_C) $(BROTLI_ENC_H)
28libbrotlienc_la_LDFLAGS = $(AM_LDFLAGS) $(LIBBROTLI_VERSION_INFO) $(LDFLAGS)
29libbrotlienc_la_LIBADD = libbrotlicommon.la -lm
30
31pkgconfigdir = $(libdir)/pkgconfig
32pkgconfig_DATA = \
33  scripts/libbrotlicommon.pc \
34  scripts/libbrotlidec.pc \
35  scripts/libbrotlienc.pc
36pkgincludedir= $(brotliincludedir)
37
38dist_doc_DATA = README
39