RN rnmake  3.0.0
Cmds.mk
Go to the documentation of this file.
1 ################################################################################
2 #
3 # Cmds.mk
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief Host commands independent of target architecture.
10 
11 \pkgsynopsis
12 RN Make System
13 
14 \pkgfile{Cmds.mk}
15 
16 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
17 
18 \pkgcopyright{2005-2018,RoadNarrows LLC,http://www.roadnarrows.com}
19 
20 \license{MIT}
21 
22 \EulaBegin
23 \EulaEnd
24 
25 \cond RNMAKE_DOXY
26  */
27 endif
28 #
29 ################################################################################
30 
31 _CMDS_MK = 1
32 
33 # Force make to use /bin/sh
34 SHELL = /bin/sh
35 
36 # Common file operations
37 MKDIR = mkdir -p -m 775
38 CHMOD = chmod
39 INSTALL_DIR = install -d -p -m 775
40 INSTALL_EXE = install -p -m 775
41 INSTALL = install -p -m 664
42 CP = cp -fp
43 CP_R = $(CP) -r
44 RM = rm -fr
45 RMFILE = rm -f
46 MV = mv
47 ifeq "$(ARCH)" "osx"
48 TAR = tar -c -z -v -f
49 else
50 TAR = tar --create --gzip --atime-preserve --verbose --file
51 endif
52 SED = sed -r
53 FIND = find
54 BASENAME = basename
55 SYMLINK = ln -s
56 UNLINK = unlink
57 GREP = grep
58 FILE = file
59 XARGS = xargs
60 TOUCH = touch
61 
62 # Interpreters
63 PERL = /usr/bin/perl
64 PYTHON = /usr/bin/python
65 
66 # LEX and YACC
67 LEX = flex
68 YACC = bison -y
69 
70 
71 ifdef RNMAKE_DOXY
72 /*! \endcond RNMAKE_DOXY */
73 endif