~tangent-trunk/libmemcached/1.2

« back to all changes in this revision

Viewing changes to GNUmakefile

  • Committer: Continuous Integration
  • Date: 2014-02-06 09:21:14 UTC
  • mfrom: (1110.1.2 libmemcached-1.2)
  • Revision ID: ci@tangent.org-20140206092114-cp72onmoikv5huli
Merge bzr://10.0.3.21/ Build: jenkins-Libmemcached-454

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*-Makefile-*-
 
2
#
 
3
_bootstrap_Makefile := $(wildcard [M]akefile)
 
4
_bootstrap_config-status := $(wildcard config.status)
 
5
 
 
6
ALL_RECURSIVE_TARGETS=
 
7
 
 
8
ifneq ($(_bootstrap_Makefile),)
 
9
  include Makefile
 
10
else
 
11
  ifneq ($(_bt_config-status),)
 
12
    $(srcdir)/config.status
 
13
    $(MAKE) $(AM_MAKEFLAGS) configure
 
14
  endif
 
15
 
 
16
.DEFAULT_GOAL:= basic_build
 
17
srcdir= .
 
18
 
 
19
configure: bootstrap.sh
 
20
        @$(srcdir)/bootstrap.sh -a
 
21
 
 
22
Makefile: configure
 
23
        @$(srcdir)/bootstrap.sh -c
 
24
 
 
25
.PHONY: basic_build
 
26
basic_build: Makefile
 
27
        @$(MAKE) $(AM_MAKEFLAGS)
 
28
endif
 
29
 
 
30
ALL_RECURSIVE_TARGETS+= $(AM_RECURSIVE_TARGETS)
 
31
 
 
32
ifneq ($(word 2, $(MAKECMDGOALS)), )
 
33
ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), )
 
34
.NOTPARALLEL:
 
35
endif
 
36
endif