summaryrefslogtreecommitdiffstats
path: root/src/config/mac-pre.in
blob: 5200ef0c6d2772fa64b7b9ddec644ea5d869581b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
## config/mac-pre.in
## common Macintosh prefix for all Makefile.in in the Kerberos V5 tree.

#
# MPW-style lines for the MakeFile.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.
#
# This first part is long enough that NFS/Share doesn't notice the non-ASCII
# characters in the rest of the file, so it claims that the file is type
# TEXT, which is what we want.  The non-ASCII chars are necessary for MPW 
# Make.

#
# End of MPW-style lines for MakeFile.
#

WHAT = mac

all:: all-$(WHAT)

clean:: clean-$(WHAT)

install:: install-$(WHAT)

check:: check-$(WHAT)

all-mac::
clean-mac::
install-mac::
check-mac::

# Directory syntax:
#
# begin absolute path
ABS=
# begin relative path
REL=:
# up-directory
U=
# path separator
S=:
# this is magic... should only be used for preceding a program invocation
C=:

BUILDTOP = @BUILDTOP@
srcdir = $(C)
VPATH = @srcdir@

# FIXME:  This doesn't translate to MPW yet, srcdir must be same as objdir.
# File in object dir can come from either the current dir or srcdir.
# 
# . : . "{srcdir}"

# Default rule that puts each file into separate segment.

.c.o: .c
	{CC} -sym on {DepDir}{Default}.c {CFLAGS} -s {Default} -o {TargDir}{Default}.c.o

CPPFLAGS = @CPPFLAGS@ -i {CIncludes}
DEFS = @DEFS@ $(CPPFLAGS)
CC = c
LD = link
# The funny quoting in the LDFLAGS is to avoid xxx.o being mangled by
# mac-mf.sed into xxx.c.o.
LDFLAGS=-t MPST -c "MPS " -sym on {Libraries}"Runtime."o {CLibraries}"StdClib."o {Libraries}"Interface."o
CCOPTS = @CCOPTS@
LIBS = @LIBS@
KRB5ROOT= @KRB5ROOT@
KRB4=@KRB4@
INSTALL=Duplicate -y
INSTALL_PROGRAM=Duplicate -y
INSTALL_DATA=Duplicate -y
INSTALL_SETUID=Duplicate -y

KRB5MANROOT = $(KRB5ROOT)$(S)man
ADMIN_BINDIR = $(KRB5ROOT)$(S)admin
SERVER_BINDIR = $(KRB5ROOT)$(S)sbin
CLIENT_BINDIR = $(KRB5ROOT)$(S)bin
ADMIN_MANDIR = $(KRB5MANROOT)$(S)man8
SERVER_MANDIR = $(KRB5MANROOT)$(S)man8
CLIENT_MANDIR = $(KRB5MANROOT)$(S)man1
FILE_MANDIR = $(KRB5MANROOT)$(S)man5
KRB5_LIBDIR = $(KRB5ROOT)$(S)lib
KRB5_INCDIR = $(KRB5ROOT)$(S)include
KRB5_INCSUBDIRS = \
	$(KRB5_INCDIR)$(S)krb5 \
	$(KRB5_INCDIR)$(S)asn.1 \
	$(KRB5_INCDIR)$(S)kerberosIV


RM = Delete -y -i
CP = Duplicate -y
MV = mv -f
CHMOD=chmod
RANLIB = echo
ARCHIVE = lib -o 
ARADD = @ARADD@
LN = Duplicate -y
AWK = @AWK@
LEX = @LEX@
LEXLIB = @LEXLIB@
YACC = @YACC@
MAKE = Set Echo 0; BuildProgram

# FIXME:  This won't work for srcdir != objdir.  But on the Mac, there
# is no easy way to build a relative or absolute path, because : means
# both the path separator, and the "go up a directory" indicator.
#SRCTOP = $(srcdir)$(S)$(BUILDTOP)
SRCTOP = $(BUILDTOP)
SUBDIRS = @subdirs@

TOPLIBD = $(BUILDTOP)$(S)lib

OBJEXT = c.o
LIBEXT = a
EXEEXT =

all::