4 # Wilfredo Sanchez | wsanchez@apple.com
5 # Copyright (c) 1997-1999 Apple Computer, Inc.
7 # @APPLE_LICENSE_HEADER_START@
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
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
25 # @APPLE_LICENSE_HEADER_END@
29 # Where to find Makefiles
31 ifndef CoreOSMakefiles
32 CoreOSMakefiles = $(MAKEFILEPATH)/CoreOS
34 CoreOSMakefiles := $(shell cd $(CoreOSMakefiles) && pwd)
40 ifeq ($(RC_JASPER),YES)
46 _v = $(subst NO,@,$(subst YES,,$(VERBOSE)))
47 _q = $(subst YES,@,$(subst NO,,$(VERBOSE)))
57 USER = $(shell whoami)
62 ifeq ($(wildcard $(UNAME)),)
66 OSName := $(shell $(UNAME) -s)
67 OSVersion := $(shell $(UNAME) -r)
73 Cruft = CVS RCS SCCS *~ .*~ .nfs\* .*.wmd
74 Find_Cruft = '(' $(Cruft:%=-name '%' -or) -name '' ')' -print
80 Install_File_User = $(Install_User)
81 Install_Program_User = $(Install_User)
82 Install_Directory_User = $(Install_User)
84 Install_File_Group = $(Install_Group)
85 Install_Program_Group = $(Install_Group)
86 Install_Directory_Group = $(Install_Group)
88 Install_File_Mode = 0444
89 Install_Program_Mode = 0555
90 Install_Directory_Mode = 0755
95 AUTOMOUNTDIR = $(NSNETWORKDIR)/Servers
97 CORESDIR = /private/cores
101 LIBEXECDIR = $(USRDIR)/libexec
102 LOGDIR = $(VARDIR)/log
103 MANDIR = $(SHAREDIR)/man
104 MAILDIR = $(VARDIR)/mail
105 MISCDIR = $(SHAREDIR)/misc
106 NSADMINDIR = $(NSADMINSUBDIR)
107 NSADMINSUBDIR = /Administration
108 NSAPPLICATIONDIR = $(NSAPPLICATIONSUBDIR)
109 NSAPPLICATIONSUBDIR = /Applications
110 NSDEFAULTLOCATION = $(NSSYSTEMDIR)
111 NSDEMODIR = $(NSAPPLICATIONDIR)$(NSDEMOSUBDIR)
112 NSDEMOSUBDIR = /Extras
113 NSDEVELOPERAPPSDIR = $(NSDEVELOPERDIR)$(NSAPPLICATIONSUBDIR)
114 NSDEVELOPERDIR = $(NSDEVELOPERSUBDIR)
115 NSDEVELOPERSUBDIR = /Developer
116 NSDOCUMENTATIONDIR = $(NSLOCALDIR)$(NSDOCUMENTATIONSUBDIR)
117 NSDOCUMENTATIONSUBDIR = $(NSLIBRARYSUBDIR)/Documentation
118 NSFRAMEWORKDIR = $(NSDEFAULTLOCATION)$(NSFRAMEWORKSUBDIR)
119 NSFRAMEWORKSUBDIR = $(NSLIBRARYSUBDIR)/Frameworks
120 NSLIBRARYDIR = $(NSDEFAULTLOCATION)$(NSLIBRARYSUBDIR)
121 NSLIBRARYSUBDIR = /Library
123 NSNETWORKDIR = /Network
124 NSSOURCEDIR = $(NSDEVELOPERDIR)$(NSSOURCESUBDIR)
125 NSSOURCESUBDIR = /Source
126 NSSYSTEMDIR = /System
127 RUNDIR = $(VARDIR)/run
129 SHAREDIR = $(USRDIR)/share
130 SPOOLDIR = $(VARDIR)/spool
131 TMPDIR = /private/tmp
132 USRBINDIR = $(USRDIR)/bin
134 USRINCLUDEDIR = $(USRDIR)/include
135 USRLIBDIR = $(USRDIR)/lib
136 USRSBINDIR = $(USRDIR)/sbin
137 VARDIR = /private/var
138 VARTMPDIR = $(VARDIR)/tmp
140 SYSTEM_DEVELOPER_TOOLS_DOC_DIR = $(NSDEVELOPERDIR)/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/documentation/DeveloperTools