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