1ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -I script
2
3AM_COPT = -Wall -O2
4AM_COVLDFLAGS =
5
6if ENABLE_COVERAGE
7	AM_COPT = -O0 --coverage
8	AM_COVLDFLAGS += -lgcov
9endif
10
11AM_CPPFLAGS = -I$(top_srcdir)/include
12AM_CFLAGS   = $(AM_COPT)
13AM_CXXFLAGS = $(AM_COPT)
14AM_LDFLAGS  = $(AM_COPT) $(AM_COVLDFLAGS)
15
16AM_CXXFLAGS += -std=c++11
17
18EXTRA_DIST = \
19	COPYING \
20	INSTALL \
21	LICENSE \
22	Readme.md
23
24pkgconfigdir = $(libdir)/pkgconfig
25pkgconfig_DATA = support/libsass.pc
26
27lib_LTLIBRARIES = libsass.la
28
29include $(top_srcdir)/Makefile.conf
30
31libsass_la_SOURCES = ${CSOURCES} ${SOURCES}
32
33libsass_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 1:0:0
34
35if ENABLE_TESTS
36if ENABLE_COVERAGE
37nodist_EXTRA_libsass_la_SOURCES = non-existent-file-to-force-CXX-linking.cxx
38endif
39endif
40
41include_HEADERS = $(top_srcdir)/include/sass.h \
42                  $(top_srcdir)/include/sass2scss.h
43
44sass_includedir = $(includedir)/sass
45
46sass_include_HEADERS = $(top_srcdir)/include/sass/base.h \
47                       $(top_srcdir)/include/sass/values.h \
48                       $(top_srcdir)/include/sass/version.h \
49                       $(top_srcdir)/include/sass/context.h \
50                       $(top_srcdir)/include/sass/functions.h
51