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