]> git.saurik.com Git - apple/coreosmakefiles.git/blame - Standard/Commands.make
CoreOSMakefiles-18.tar.gz
[apple/coreosmakefiles.git] / Standard / Commands.make
CommitLineData
fdbff003
A
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##
31SHELL=/bin/sh
32
33##
34# Archiving Commands
35##
36COMPRESS = /usr/bin/compress
37GUNZIP = /usr/bin/gzip -d
38GZCAT = /usr/bin/gzip -d -c
39GZIP = /usr/bin/gzip -9
40PAX = /bin/pax
41TAR = /usr/bin/tar
42UNCOMPRESS = $(GUNZIP)
43ZCAT = $(GZCAT)
44
45##
46# Compilers and Binary Tools
47##
48AR = /usr/bin/ar
49BISON = /usr/bin/bison
50BSDMAKE = /usr/bin/bsdmake
51CC = /usr/bin/cc
52CPP = /usr/bin/cpp
53CTAGS = /usr/bin/ctags
54Cxx = /usr/bin/cc
55CXX = $(Cxx)
56ETAGS = /usr/bin/etags
57FILE = /usr/bin/file
58FLEX = /usr/bin/flex
59GM4 = /usr/bin/gm4
60GNUMAKE = /usr/bin/gnumake
61LEX = $(FLEX)
62LIPO = /usr/bin/lipo
63M4 = /usr/bin/m4
64OTOOL = /usr/bin/otool
65STRIP = /usr/bin/strip
66YACC = /usr/bin/yacc
67
68##
69# File Commands
70##
71CHFLAGS = /usr/bin/chflags
72CHGRP = /usr/bin/chgrp
73CHMOD = /bin/chmod
74CHOWN = /usr/sbin/chown
75CP = /bin/cp -pfR
76DU = /usr/bin/du
77INSTALL = /usr/bin/install
78INSTALL_DIRECTORY = $(INSTALL) -m $(Install_Directory_Mode) -o $(Install_Directory_User) -g $(Install_Directory_Group) -d
79INSTALL_DYLIB = $(INSTALL) -m $(Install_Program_Mode) -o $(Install_Program_User) -g $(Install_Program_Group) -S "-S"
80INSTALL_FILE = $(INSTALL) -m $(Install_File_Mode) -o $(Install_File_User) -g $(Install_File_Group)
81INSTALL_LIBRARY = $(INSTALL) -m $(Install_File_Mode) -o $(Install_File_User) -g $(Install_File_Group) -S "-S"
82INSTALL_PROGRAM = $(INSTALL) -m $(Install_Program_Mode) -o $(Install_Program_User) -g $(Install_Program_Group) -s
83INSTALL_SCRIPT = $(INSTALL) -m $(Install_Program_Mode) -o $(Install_Program_User) -g $(Install_Program_Group)
84LN = /bin/ln
85LS = /bin/ls
86MKDIR = /bin/mkdir -p -m $(Install_Directory_Mode)
87MV = /bin/mv
88RM = /bin/rm -f
89RMDIR = /bin/rm -fr
90TOUCH = /usr/bin/touch
91
92# If you're not root, you can't change file ownership
93ifneq ($(USER),root)
94INSTALL_DIRECTORY = $(INSTALL) -m $(Install_Directory_Mode) -d
95INSTALL_FILE = $(INSTALL) -m $(Install_File_Mode)
96INSTALL_PROGRAM = $(INSTALL) -m $(Install_Program_Mode) -s
97endif
98
99##
100# Find Commands
101##
102FIND = /usr/bin/find
103XARGS = /usr/bin/xargs
104
105##
106# Installer
107##
108INSTALLER = /usr/bin/installer.sh
109LSBOM = /usr/bin/lsbom
110MKBOM = /usr/bin/mkbom
111PACKAGE = /usr/bin/package
112
113##
114# Miscellaneous
115##
116ARCH = /usr/bin/arch
117FALSE = /usr/bin/false
118PWD = /bin/pwd
119SLEEP = /bin/sleep
120TEST = /bin/test
121TEXI2HTML = /usr/bin/texi2html
122TRUE = /usr/bin/true
123UNAME = /usr/bin/uname
124VERS_STRING = /usr/bin/vers_string
125WHICH = /usr/bin/which
126WHOAMI = /usr/bin/whoami
127YES = /usr/bin/yes
128
129##
130# Shells
131##
132SH = /bin/sh
133CSH = /bin/csh
134
135##
136# Text Commands
137##
138AWK = /usr/bin/gawk
139CAT = /bin/cat
140CMP = /usr/bin/cmp
141CUT = /usr/bin/cut
142EGREP = /usr/bin/egrep
143FGREP = /usr/bin/fgrep
144FMT = /usr/bin/fmt
145GREP = /usr/bin/grep
146HEAD = /usr/bin/head
147PERL = /usr/bin/perl
148SED = /usr/bin/sed
149TAIL = /usr/bin/tail
150TEE = /usr/bin/tee
151WC = /usr/bin/wc