2 # Common ProjectBuilder-style Premable.
4 # Wilfredo Sanchez | wsanchez@apple.com
5 # Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
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)
37 # Include the Classics
39 include $(CoreOSMakefiles)/Standard/Standard.make
46 # Remember the name of the top-level project when using aggregates.
49 OTHER_RECURSIVE_VARIABLES += TOP_PROJECT CoreOSMakefiles
52 # Set some reasonable defaults for RC variables.
54 OBJROOT = /tmp/$(TOP_PROJECT)/Build
55 SYMROOT = /tmp/$(TOP_PROJECT)/Debug
56 DSTROOT = /tmp/$(TOP_PROJECT)/Release
59 # Add project version info to the binary.
61 OTHER_GENERATED_OFILES += $(VERS_OFILE)
62 VERSIONING_SYSTEM = next-sgs
65 # Figure out if we have any man pages.
67 MANDIR = /usr/share/man
68 MAN0DIR = $(MANDIR)/man0
69 MAN1DIR = $(MANDIR)/man1
70 MAN2DIR = $(MANDIR)/man2
71 MAN3DIR = $(MANDIR)/man3
72 MAN4DIR = $(MANDIR)/man4
73 MAN5DIR = $(MANDIR)/man5
74 MAN6DIR = $(MANDIR)/man6
75 MAN7DIR = $(MANDIR)/man7
76 MAN8DIR = $(MANDIR)/man8
77 MAN9DIR = $(MANDIR)/man9
78 MAN0FILES = $(filter %.0,$(OTHERSRCS))
79 MAN1FILES = $(filter %.1,$(OTHERSRCS))
80 MAN2FILES = $(filter %.2,$(OTHERSRCS))
81 MAN3FILES = $(filter %.3,$(OTHERSRCS))
82 MAN4FILES = $(filter %.4,$(OTHERSRCS))
83 MAN5FILES = $(filter %.5,$(OTHERSRCS))
84 MAN6FILES = $(filter %.6,$(OTHERSRCS))
85 MAN7FILES = $(filter %.7,$(OTHERSRCS))
86 MAN8FILES = $(filter %.8,$(OTHERSRCS))
87 MAN9FILES = $(filter %.9,$(OTHERSRCS))
88 MANFILES = $(MAN1FILES) \
103 # See postamble for info on these.
107 OTHER_GENERATED_OFILES =
108 STRIP_ON_INSTALL = NO
111 AFTER_INSTALL += install-man install-source
113 ifeq ($(PROJTYPE),LIBRARY)
114 AFTER_INSTALL += install-ofilelist