forked from SpamapS/gearmand
-
Notifications
You must be signed in to change notification settings - Fork 138
/
GNUmakefile
40 lines (31 loc) · 749 Bytes
/
GNUmakefile
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
# vim:ft=make
#
_bootstrap_Makefile := $(wildcard [M]akefile)
_bootstrap_config-status := $(wildcard config.status)
ALL_RECURSIVE_TARGETS=
ifeq ($(.DEFAULT_GOAL),Makefile)
@rm Makefile
endif
ifneq ($(_bootstrap_Makefile),)
include Makefile
else
ifneq ($(_bt_config-status),)
$(srcdir)/config.status
$(MAKE) $(AM_MAKEFLAGS) configure
endif
.DEFAULT_GOAL:= basic_build
srcdir= .
configure: bootstrap.sh
@$(srcdir)/bootstrap.sh -a
Makefile: configure
@$(srcdir)/bootstrap.sh -c
.PHONY: basic_build
basic_build: Makefile
@$(MAKE) $(AM_MAKEFLAGS)
endif
ALL_RECURSIVE_TARGETS+= $(AM_RECURSIVE_TARGETS)
ifneq ($(word 2, $(MAKECMDGOALS)), )
ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), )
.NOTPARALLEL:
endif
endif