-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
55 lines (40 loc) · 985 Bytes
/
Makefile
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
IS_RELEASE ?=
IS_OFFLINE ?=
HAS_PROXY ?= t
RUST179_COMPAT ?=
DEFAULT_FEATURES ?= \
$(if $(filter-out n,${HAS_PROXY}),proxy) \
$(if ${RUST179_COMPAT},legacy_rust_179) \
CARGO_FILES = \
.cargo/config.toml \
Cargo.toml \
srcdir = .
all:
include mk/init.mk
-include ${HOME}/.config/rust/common.mk
-include ${HOME}/.config/rust/r-tftpd.mk
-include .local.mk
include mk/m4.mk
include mk/paths.mk
include mk/tools.mk
include mk/cargo.mk
include mk/cargo-util.mk
include mk/grcov.mk
include contrib/Makefile.mk
PRECISE_PKG_179 =
update_179: .cargo-update-precise-pre
$(call cargo_update_precise,${PRECISE_PKG_179})
update-compat: .cargo-update-precise-pre
update-compat: $(if ${RUST179_COMPAT},update_179)
install: install-fixup
install-fixup: cargo-install
ifeq (${bindir},${sbindir})
@:
else
${MKDIR_P} ${DESTDIR}${sbindir}
mv ${DESTDIR}${bindir}/r-tftpd ${DESTDIR}${sbindir}/
-@rmdir ${DESTDIR}${bindir}
endif
clean: clean-common
clean-common:
rm -f ${CLEANFILES}