Menu

[r789]: / trunk / build / mk / bsd.freenas.macros.mk  Maximize  Restore  History

Download this file

50 lines (47 with data), 1.3 kB

 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
################################################################
# This file contains macros used in Makefile.
#
# Copyright (C) 2007 Volker Theile <votdev@gmx.de>.
#
# Parts of code taken from FreeBSD <bsd.port.mk>.
################################################################
################################################################
# Command macros
################################################################
AWK?= /usr/bin/awk
BASENAME?= /usr/bin/basename
CHMOD?= /bin/chmod
CHROOT?= /usr/sbin/chroot
CP?= /bin/cp
CUT?= /usr/bin/cut
ECHO_CMD?= echo # Shell builtin
ECHO_MSG?= ${ECHO_CMD}
EXPR?= /bin/expr
FALSE?= false # Shell builtin
FETCH_CMD?= /usr/bin/fetch -ApRr
GCC?= /usr/bin/gcc
GMAKE?= gmake
GREP?= /usr/bin/grep
INSTALL?= /usr/bin/install
INSTALL_DATA?= ${INSTALL} -v
INSTALL_PROGRAM?= ${INSTALL} -vs
INSTALL_SCRIPT?= ${INSTALL} -v
LDCONFIG?= /sbin/ldconfig
LN?= /bin/ln
MKDIR?= /bin/mkdir -p
PATCH?= /usr/bin/patch
PKG_ADD?= /usr/sbin/pkg_add
PKG_INFO?= /usr/sbin/pkg_info
REALPATH?= /bin/realpath
RM?= /bin/rm
SED?= /usr/bin/sed
SORT?= /usr/bin/sort
TAR?= /usr/bin/tar
TEST?= test # Shell builtin
TR?= LANG=C /usr/bin/tr
UNAME?= /usr/bin/uname
WHICH?= /usr/bin/which
# Get the architecture
.if !defined(ARCH)
ARCH!= ${UNAME} -p
.endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.