summaryrefslogtreecommitdiff
path: root/package/targets.mak
blob: 0b41b791394c376773fc874218557a0136d457c4 (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
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
BIN_TARGETS := \
background \
backtick \
case \
define \
dollarat \
elgetopt \
elgetpositionals \
elglob \
eltest \
emptyenv \
envfile \
exec \
execlineb \
execline-cd \
execline-umask \
exit \
export \
fdblock \
fdclose \
fdmove \
fdswap \
fdreserve \
forbacktickx \
foreground \
forstdin \
forx \
getcwd \
getpid \
heredoc \
homeof \
if \
ifelse \
ifte \
ifthenelse \
importas \
loopwhilex \
multidefine \
multisubstitute \
pipeline \
piperw \
posix-cd \
posix-umask \
redirfd \
runblock \
shift \
trap \
tryexec \
unexport \
wait \
withstdinas

LIBEXEC_TARGETS :=

LIB_DEFS := EXECLINE=execline

ifeq ($(PEDANTIC_POSIX),1)
PEDANTIC_PREFIX := posix
else
PEDANTIC_PREFIX := execline
endif

EXTRA_TARGETS := cd umask

$(DESTDIR)$(bindir)/cd: $(DESTDIR)$(bindir)/$(PEDANTIC_PREFIX)-cd
	exec ./tools/install.sh -l $(PEDANTIC_PREFIX)-cd $(DESTDIR)$(bindir)/cd

$(DESTDIR)$(bindir)/umask: $(DESTDIR)$(bindir)/$(PEDANTIC_PREFIX)-umask
	exec ./tools/install.sh -l $(PEDANTIC_PREFIX)-umask $(DESTDIR)$(bindir)/umask