Cross Reference: Makefile
xref
: /
ast
/
src
/
cmd
/
builtin
/
Makefile
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
Makefile revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
132
N/A
/*
132
N/A
*
standalone
versions
of
-
lcmd
builtins
132
N/A
*/
132
N/A
132
N/A
:
PACKAGE
:
ast
cmd
:
space
132
N/A
132
N/A
LICENSE
=
since
=
1992
,
author
=
gsf
+
dgk
132
N/A
132
N/A
:
ALL
:
132
N/A
132
N/A
::
cmdlib.h
builtin.c
132
N/A
132
N/A
CMD_BUILTIN
==
132
N/A
CMD_DYNAMIC
==
132
N/A
CMD_STANDALONE
==
132
N/A
132
N/A
LINKS
=
cp
:
ln
mv
cksum
:
md5sum
sum
132
N/A
NOBIN
=
getconf
132
N/A
132
N/A
CAT
=
$(
STDCAT
|
"cat"
)
1149
N/A
CMP
=
$(
STDCMP
|
"cmp"
)
2
>/
dev
/
null
132
N/A
CP
=
$(
STDCP
|
"cp"
)
132
N/A
LN
=
$(
STDLN
|
"ln"
)
215
N/A
RM
=
$(
STDRM
|
"rm"
)
132
N/A
1215
N/A
BUILTINS
:
COMMAND
:
cmdlist.h
1215
N/A
$(
SED
)
-e
'/^CMDLIST(.*)$/!d'
-e
'
s
/
CMDLIST
(\(.*\))/\1/'
$(
NOBIN
:C,.*,-e
'/^&$/d'
,)
$(
LINKS
:N!=*[:]:C,.*,-e
'/^&$/d'
,)
$(*)
1318
N/A
1176
N/A
.
INIT
: .
builtin
132
N/A
132
N/A
.
builtin
: .
MAKE
.
VIRTUAL
.
FORCE
132
N/A
local
T I
132
N/A
if
T =
"
$(
NOBIN
:D=
$(
BINDIR
)
:B:S:T=F)
"
132
N/A
{
$(
RM
)
$(
RMFLAGS
)
$(T)
}
132
N/A
end
132
N/A
:
ALL
:
$(
BUILTINS
)
132
N/A
T = -
lcmd
132
N/A
if
"
$(
PACKAGE_OPTIONS
:N=
optimize
-
space
)
"
&&
"
$(T:T=F)
"
==
"-lcmd"
132
N/A
T :=
$(
BUILTINS
:O=
1
)
132
N/A
$(T)
::
CMD_BUILTIN
=
1
CMD_DYNAMIC
=
1
builtin.c
-
lcmd
-
ldll
132
N/A
for
I
$(
BUILTINS
:O>
1
)
132
N/A
$(I)
:
LINK
:
$(T)
132
N/A
end
132
N/A
for
I
$(
LINKS
)
132
N/A
if
I !=
"*:"
132
N/A
$(I)
:
LINK
:
$(T)
132
N/A
end
132
N/A
end
132
N/A
else
132
N/A
$(
BINDIR
)
:
INSTALLDIR
:
$(
BUILTINS
)
132
N/A
$(
BUILTINS
)
: .
COMMAND
$(&
$(
"%.c"
:T=
SM
%)
)
CMD_BUILTIN
=
b_
$
$(<:B)
builtin.c
$(*
$(
"%.c"
:T=
SM
%)
)
132
N/A
$(
CAT
)
$(*:N=*
builtin.c
)
>
$(<)
.c
132
N/A
$(
RM
)
$(
RMFLAGS
)
$(<)
132
N/A
$(@
$(
"%.c"
:T=
SM
%)
:/.*
builtin.c
$/
$(<)
.c/)
132
N/A
$(
RM
)
$(
RMFLAGS
)
$(<)
.c
132
N/A
for
I
$(
LINKS
)
132
N/A
if
I ==
"*:"
132
N/A
T :=
$(I:/.$//)
132
N/A
else
132
N/A
$(I)
:
LINK
:
$(T)
132
N/A
end
132
N/A
end
132
N/A
end
132
N/A
132
N/A
":BUILTIN:"
: .
MAKE
.
OPERATOR
132
N/A
local
T P
132
N/A
for
T
$(>)
132
N/A
if
T ==
"*=*"
132
N/A
$(P)
.o :
$(T)
132
N/A
elif
T ==
"[-+]l*"
132
N/A
$(P)
:
$(T)
132
N/A
else
132
N/A
eval
132
N/A
$(T)
::
CMD_STANDALONE
=
b_
$(T)
$(T)
.c
132
N/A
end
132
N/A
P :=
$(T)
132
N/A
end
132
N/A
end
132
N/A
132
N/A
:
BUILTIN
:
dlls
LICENSE
=
since
=
2002
,
author
=
gsf
-
ldll
look
mime
\
132
N/A
pty
LICENSE
=
since
=
2001
,
author
=
gsf
+
dgk
-
lutil
\
132
N/A
nl
LICENSE
=
since
=
2003
,
author
=
dgk
asa
od
pr
\
132
N/A
strings
tr
uudecode
-
luu
uuencode
-
luu
what
who
132
N/A
132
N/A
dontcare
-
lutil
132
N/A
132
N/A
::
PROMO.mm
RELEASE
132
N/A
132
N/A
:
TEST
:
asa
cat
chmod
chown
cksum
cmp
cp
cut
date
expr
fmt
head
join
ln
\
132
N/A
look
mkdir
mkfifo
mktemp
mv
nl
od
paste
rm
tail
tr
uniq
uuencode
wc
132
N/A