summaryrefslogtreecommitdiffstats
path: root/storage/maria/libmarias3/GNUmakefile
blob: 646edc8eb59ea4fa1f5b689ae921a69576c67fe4 (plain)
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
# vim:ft=make
#
_bootstrap_Makefile := $(wildcard [M]akefile)
_bootstrap_config-status := $(wildcard config.status)

ALL_RECURSIVE_TARGETS=

ifneq ($(_bootstrap_Makefile),)
  include Makefile
else
  ifneq ($(_bt_config-status),)
    $(srcdir)/config.status
    $(MAKE) $(AM_MAKEFLAGS) configure
  endif

.DEFAULT_GOAL:= basic_build
srcdir= .

configure:
	@autoreconf -fi

Makefile: configure
	@$(srcdir)/configure

.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