blob: 3d44c51465cf67fef6a269da843d273ae4fe92e4 (
plain) (
blame)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# Copyright 2022 Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception
SHELL := /usr/bin/env bash -Eeuo pipefail
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
MAKEFLAGS += --no-builtin-variables
MAKEFLAGS += --no-print-directory
srcdir := .
builddir := tmp
.PHONY: all
all: build
@:
.PHONY: help
help:
$(info Targets:)
$(info )
$(info all Alias for "build")
$(info )
$(info clean Remove $$(builddir))
$(info )
$(info build Wrapper for "build-lib build-dev")
$(info )
$(info build-deps Build the .d files)
$(info build-dev Wrapper for build-dev-* targets)
$(info build-dev-ar Build the static library)
$(info build-dev-pc Build the pc(5) file)
$(info build-lib Alias for "build-lib-ld")
$(info build-lib-ld Build the shared library)
$(info build-obj Alias for "build-obj-as")
$(info build-obj-pch Precompile headers)
$(info build-obj-cpp Preprocess source TUs)
$(info build-obj-cc Compile TUs)
$(info build-obj-as Assemble TUs)
$(info )
$(info lint Alias for "lint-c")
$(info lint-c Wrapper for lint-c-* targets)
$(info lint-c-checkpatch Lint C files with checkpatch(1))
$(info lint-c-clang-tidy Lint C files with clang-tidy(1))
$(info lint-c-cppcheck Lint C files with cppcheck(1))
$(info lint-c-cpplint Lint C files with cpplint(1))
$(info lint-c-iwyu Lint C files with iwyu(1))
$(info )
$(info install Wrapper for install-* targets)
$(info install-dev Install development files (.h, .a, .pc))
$(info install-lib Install shared library (.so))
$(info install-man Install manual pages)
$(info )
$(info help Print this help)
$(info )
$(info Variables:)
$(info )
$(info V Define to non-empty string for verbose output)
.SECONDEXPANSION:
include $(srcdir)/lib/build.mk
include $(srcdir)/lib/build-deps.mk
include $(srcdir)/lib/build-dev.mk
include $(srcdir)/lib/build-lib.mk
include $(srcdir)/lib/build-obj.mk
include $(srcdir)/lib/check.mk
include $(srcdir)/lib/install.mk
include $(srcdir)/lib/install-dev.mk
include $(srcdir)/lib/install-lib.mk
include $(srcdir)/lib/install-man.mk
include $(srcdir)/lib/lint.mk
include $(srcdir)/lib/lint-c.mk
FORCE:
include $(_TU_h_d)
include $(_TU_c_d)
|