]> git.saurik.com Git - apple/coreosmakefiles.git/blob - Standard/Commands.make
CoreOSMakefiles-22.tar.gz
[apple/coreosmakefiles.git] / Standard / Commands.make
1 ##
2 # Standard Commands
3 #
4 # Wilfredo Sanchez | wsanchez@apple.com
5 # Copyright (c) 1997-1999 Apple Computer, Inc.
6 #
7 # @APPLE_LICENSE_HEADER_START@
8 #
9 # Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
10 # Reserved. This file contains Original Code and/or Modifications of
11 # Original Code as defined in and that are subject to the Apple Public
12 # Source License Version 1.1 (the "License"). You may not use this file
13 # except in compliance with the License. Please obtain a copy of the
14 # License at http://www.apple.com/publicsource and read it before using
15 # this file.
16 #
17 # The Original Code and all software distributed under the License are
18 # distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
19 # EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
20 # INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
21 # FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT. Please see the
22 # License for the specific language governing rights and limitations
23 # under the License.
24 #
25 # @APPLE_LICENSE_HEADER_END@
26 ##
27
28 ##
29 # Make sure that we're using sh
30 ##
31 SHELL=/bin/sh
32
33 ##
34 # Archiving Commands
35 ##
36 COMPRESS = /usr/bin/compress
37 GUNZIP = /usr/bin/gzip -d
38 GZCAT = /usr/bin/gzip -d -c
39 GZIP = /usr/bin/gzip -9
40 PAX = /bin/pax
41 TAR = /usr/bin/tar
42 UNCOMPRESS = $(GUNZIP)
43 ZCAT = $(GZCAT)
44
45 ##
46 # Compilers and Binary Tools
47 ##
48 AR = /usr/bin/ar
49 BISON = /usr/bin/bison
50 BSDMAKE = /usr/bin/bsdmake
51 CC = /usr/bin/cc
52 CPP = /usr/bin/cpp
53 CTAGS = /usr/bin/ctags
54 Cxx = /usr/bin/cc
55 CXX = $(Cxx)
56 ETAGS = /usr/bin/etags
57 FILE = /usr/bin/file
58 FLEX = /usr/bin/flex
59 GM4 = /usr/bin/gm4
60 GNUMAKE = /usr/bin/gnumake
61 LEX = $(FLEX)
62 LIPO = /usr/bin/lipo
63 M4 = /usr/bin/m4
64 OTOOL = /usr/bin/otool
65 STRIP = /usr/bin/strip
66 YACC = /usr/bin/yacc
67
68 ##
69 # File Commands
70 ##
71 CHFLAGS = /usr/bin/chflags
72 CHGRP = /usr/bin/chgrp
73 CHMOD = /bin/chmod
74 CHOWN = /usr/sbin/chown
75 CP = /bin/cp -pfR
76 DU = /usr/bin/du
77 INSTALL = /usr/bin/install
78 INSTALL_DIRECTORY = $(INSTALL) -m $(Install_Directory_Mode) -o $(Install_Directory_User) -g $(Install_Directory_Group) -d
79 INSTALL_DYLIB = $(INSTALL) -m $(Install_Program_Mode) -o $(Install_Program_User) -g $(Install_Program_Group) -S "-S"
80 INSTALL_FILE = $(INSTALL) -m $(Install_File_Mode) -o $(Install_File_User) -g $(Install_File_Group)
81 INSTALL_LIBRARY = $(INSTALL) -m $(Install_File_Mode) -o $(Install_File_User) -g $(Install_File_Group) -S "-S"
82 INSTALL_PROGRAM = $(INSTALL) -m $(Install_Program_Mode) -o $(Install_Program_User) -g $(Install_Program_Group) -s
83 INSTALL_SCRIPT = $(INSTALL) -m $(Install_Program_Mode) -o $(Install_Program_User) -g $(Install_Program_Group)
84 LN = /bin/ln
85 LS = /bin/ls
86 MKDIR = /bin/mkdir -p -m $(Install_Directory_Mode)
87 MV = /bin/mv
88 RM = /bin/rm -f
89 RMDIR = /bin/rm -fr
90 TOUCH = /usr/bin/touch
91
92 # If you're not root, you can't change file ownership
93 ifneq ($(USER),root)
94 INSTALL_DIRECTORY = $(INSTALL) -m $(Install_Directory_Mode) -d
95 INSTALL_FILE = $(INSTALL) -m $(Install_File_Mode)
96 INSTALL_PROGRAM = $(INSTALL) -m $(Install_Program_Mode) -s
97 endif
98
99 ##
100 # Find Commands
101 ##
102 FIND = /usr/bin/find
103 XARGS = /usr/bin/xargs
104
105 ##
106 # Installer
107 ##
108 INSTALLER = /usr/bin/installer.sh
109 LSBOM = /usr/bin/lsbom
110 MKBOM = /usr/bin/mkbom
111 PACKAGE = /usr/bin/package
112
113 ##
114 # Miscellaneous
115 ##
116 ARCH = /usr/bin/arch
117 FALSE = /usr/bin/false
118 PWD = /bin/pwd
119 SLEEP = /bin/sleep
120 TEST = /bin/test
121 TEXI2HTML = /usr/bin/texi2html
122 TRUE = /usr/bin/true
123 UNAME = /usr/bin/uname
124 VERS_STRING = /usr/bin/vers_string
125 WHICH = /usr/bin/which
126 WHOAMI = /usr/bin/whoami
127 YES = /usr/bin/yes
128
129 ##
130 # Shells
131 ##
132 SH = /bin/sh
133 CSH = /bin/csh
134
135 ##
136 # Text Commands
137 ##
138 AWK = /usr/bin/gawk
139 CAT = /bin/cat
140 CMP = /usr/bin/cmp
141 CUT = /usr/bin/cut
142 EGREP = /usr/bin/egrep
143 FGREP = /usr/bin/fgrep
144 FMT = /usr/bin/fmt
145 GREP = /usr/bin/grep
146 HEAD = /usr/bin/head
147 PERL = /usr/bin/perl
148 SED = /usr/bin/sed
149 TAIL = /usr/bin/tail
150 TEE = /usr/bin/tee
151 WC = /usr/bin/wc