-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
70 lines (52 loc) · 1.82 KB
/
Makefile.am
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
## Author: Mo McRoberts <[email protected]>
##
## Copyright 2015-2017 BBC.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
ACLOCAL_AMFLAGS = -I m4
DIST_SUBDIRS = m4 libetcd engines util
SUBDIRS = libetcd engines . util
EXTRA_DIST = README.md LICENSE-2.0 libcluster.pc.in libcluster-uninstalled.pc.in
DISTCLEANFILES = libcluster.pc libcluster-uninstalled.pc
pkgconfigdir = $(libdir)/pkgconfig
noinst_DATA = libcluster-uninstalled.pc
pkgconfig_DATA = libcluster.pc
AM_CPPFLAGS = @AM_CPPFLAGS@ @CPPFLAGS@ @LIBUUID_CPPFLAGS@ \
-I$(top_builddir)/libetcd -I$(top_srcdir)/libetcd
lib_LTLIBRARIES = libcluster.la
include_HEADERS = libcluster.h
libcluster_la_SOURCES = libcluster.h \
p_libcluster.h \
cluster.c job.c
libcluster_la_LDFLAGS = @AM_LDFLAGS@ \
@LIBURI_LDFLAGS@ \
-noinst -avoid-version
libcluster_la_LIBADD = \
engines/libengines.la \
@convenience_libs@ @LOCAL_LIBS@ @LIBS@
BRANCH ?= develop
DEVELOP_SUBMODULES = m4
checkout:
@for submod in $(DEVELOP_SUBMODULES) ; do \
echo "+++ Checking out the latest version of $$submod on $(BRANCH)" >&2 ; \
cd $$submod && \
git checkout $(BRANCH) && \
git pull && \
$(MAKE) checkout BRANCH=$(BRANCH) || exit $? && \
cd .. ; \
done
reconf:
( cd $(top_srcdir) && autoreconf -i ) && \
$(SHELL) ./config.status --recheck && \
$(SHELL) ./config.status