Fixed libwebsocket_context race condition.
[profile/ivi/settings-daemon.git] / Makefile.am
1 ## Copyright 2012, 2013 Intel Corporation All Rights Reserved.
2 ##
3 ## This library is free software; you can redistribute it and/or
4 ## modify it under the terms of the GNU Lesser General Public
5 ## License as published by the Free Software Foundation;
6 ## version 2.1 of the License.
7 ##
8 ## This library is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 ## Lesser General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU Lesser General Public
14 ## License along with this library; if not, write to the Free Software
15 ## Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 ## Boston, MA  02110-1301  USA
17
18 SUBDIRS = doc etc include lib plugins src tests
19
20 EXTRA_DIST = COPYING.LESSER Doxyfile settingsd.dox settingsd.org
21
22 ACLOCAL_AMFLAGS = -I m4
23
24 # Doxygen stuff
25 include $(top_srcdir)/aminclude.am
26 MOSTLYCLEANFILES = $(DX_CLEANFILES)
27
28 # Copyright Year Consistency Check
29 #
30 # This check assumes that all copyright statements have the same years
31 # listed.
32 distcheck-hook:
33         @test `$(GREP) --recursive --binary-files=without-match Copyright.*Intel * \
34            | sed -e 's/^.*Copyright \(([Cc]).\)*\(.*\).* Intel.*$$/\2/g' \
35              -e 's/,$$//g' | sort -u | wc -l` -ne 1 \
36         || (echo ======================================================; \
37             echo DIST ERROR: Copyright years in files are inconsistent!; \
38             echo ======================================================; \
39             exit 1)
40