1 | ## config:mac-pre.in
|
---|
2 | ## common Macintosh prefix for all Makefile.in in the Kerberos V5 tree
|
---|
3 |
|
---|
4 | #
|
---|
5 | # MPW-style lines for the MakeFile
|
---|
6 | #
|
---|
7 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
8 | # characters in the rest of the file, so it claims that the file is type
|
---|
9 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
10 | # Make
|
---|
11 | #
|
---|
12 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
13 | # characters in the rest of the file, so it claims that the file is type
|
---|
14 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
15 | # Make
|
---|
16 | #
|
---|
17 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
18 | # characters in the rest of the file, so it claims that the file is type
|
---|
19 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
20 | # Make
|
---|
21 | #
|
---|
22 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
23 | # characters in the rest of the file, so it claims that the file is type
|
---|
24 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
25 | # Make
|
---|
26 | #
|
---|
27 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
28 | # characters in the rest of the file, so it claims that the file is type
|
---|
29 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
30 | # Make
|
---|
31 | #
|
---|
32 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
33 | # characters in the rest of the file, so it claims that the file is type
|
---|
34 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
35 | # Make
|
---|
36 | #
|
---|
37 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
38 | # characters in the rest of the file, so it claims that the file is type
|
---|
39 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
40 | # Make
|
---|
41 | #
|
---|
42 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
43 | # characters in the rest of the file, so it claims that the file is type
|
---|
44 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
45 | # Make
|
---|
46 | #
|
---|
47 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
48 | # characters in the rest of the file, so it claims that the file is type
|
---|
49 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
50 | # Make
|
---|
51 | #
|
---|
52 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
53 | # characters in the rest of the file, so it claims that the file is type
|
---|
54 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
55 | # Make
|
---|
56 | #
|
---|
57 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
58 | # characters in the rest of the file, so it claims that the file is type
|
---|
59 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
60 | # Make
|
---|
61 | #
|
---|
62 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
63 | # characters in the rest of the file, so it claims that the file is type
|
---|
64 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
65 | # Make
|
---|
66 | #
|
---|
67 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
68 | # characters in the rest of the file, so it claims that the file is type
|
---|
69 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
70 | # Make
|
---|
71 | #
|
---|
72 | # This first part is long enough that NFS:Share doesn't notice the non-ASCII
|
---|
73 | # characters in the rest of the file, so it claims that the file is type
|
---|
74 | # TEXT, which is what we want. The non-ASCII chars are necessary for MPW
|
---|
75 | # Make
|
---|
76 |
|
---|
77 | #
|
---|
78 | # End of MPW-style lines for MakeFile
|
---|
79 | #
|
---|
80 |
|
---|
81 | WHAT = mac
|
---|
82 |
|
---|
83 | # Directory syntax Ä
|
---|
84 | R=
|
---|
85 | C=
|
---|
86 | S=:
|
---|
87 | U=:
|
---|
88 |
|
---|
89 | BUILDTOP = :::
|
---|
90 | srcdir =
|
---|
91 |
|
---|
92 | # FIXME Ä This doesn't translate to MPW yet, srcdir must be same as objdir
|
---|
93 | # File in object dir can come from either the current dir or srcdir
|
---|
94 | #
|
---|
95 | # . Ä . "{srcdir}"
|
---|
96 |
|
---|
97 | # Default rule that puts each file into separate segment
|
---|
98 |
|
---|
99 | .c.o Ä .c
|
---|
100 | {CC} {DepDir}{Default}.c {CFLAGS} -s {Default} -o {TargDir}{Default}.c.o
|
---|
101 |
|
---|
102 | CPPFLAGS = -i {SRCTOP}:include -i {BUILDTOP}:include -i {SRCTOP}:include:krb5 -i {BUILDTOP}:include:krb5 -i {CIncludes}
|
---|
103 | DEFS = {CPPFLAGS}
|
---|
104 | CC = c
|
---|
105 | LD = link
|
---|
106 | # The funny quoting in the LDFLAGS is to avoid xxx.c.o being mangled by
|
---|
107 | # mac-mf.sed into xxx.c.o
|
---|
108 | LDFLAGS=-t MPST -c "MPS " -sym on {Libraries}"Runtime."o {CLibraries}"StdClib."o {Libraries}"ToolLibs."o {Libraries}"Interface."o
|
---|
109 | CCOPTS =
|
---|
110 | LIBS =
|
---|
111 | KRB5ROOT= @KRB5ROOT@
|
---|
112 | KRB4=@KRB4@
|
---|
113 | INSTALL=Duplicate -y
|
---|
114 | INSTALL_PROGRAM=Duplicate -y
|
---|
115 | INSTALL_DATA=Duplicate -y
|
---|
116 | INSTALL_SETUID=Duplicate -y
|
---|
117 |
|
---|
118 | KRB5MANROOT = {KRB5ROOT}{S}man
|
---|
119 | ADMIN_BINDIR = {KRB5ROOT}{S}admin
|
---|
120 | SERVER_BINDIR = {KRB5ROOT}{S}sbin
|
---|
121 | CLIENT_BINDIR = {KRB5ROOT}{S}bin
|
---|
122 | ADMIN_MANDIR = {KRB5MANROOT}{S}man8
|
---|
123 | SERVER_MANDIR = {KRB5MANROOT}{S}man8
|
---|
124 | CLIENT_MANDIR = {KRB5MANROOT}{S}man1
|
---|
125 | FILE_MANDIR = {KRB5MANROOT}{S}man5
|
---|
126 | KRB5_LIBDIR = {KRB5ROOT}{S}lib
|
---|
127 | KRB5_INCDIR = {KRB5ROOT}{S}include
|
---|
128 | KRB5_INCSUBDIRS = ¶
|
---|
129 | {KRB5_INCDIR}{S}krb5 ¶
|
---|
130 | {KRB5_INCDIR}{S}asn.1 ¶
|
---|
131 | {KRB5_INCDIR}{S}kerberosIV
|
---|
132 |
|
---|
133 |
|
---|
134 | RM = Delete -y -i
|
---|
135 | CP = Duplicate -y
|
---|
136 | MV = mv -f
|
---|
137 | CHMOD=chmod
|
---|
138 | RANLIB = @RANLIB@
|
---|
139 | ARCHIVE = @ARCHIVE@
|
---|
140 | ARADD = @ARADD@
|
---|
141 | LN = @LN_S@
|
---|
142 | AWK = @AWK@
|
---|
143 | LEX = @LEX@
|
---|
144 | LEXLIB = @LEXLIB@
|
---|
145 | YACC = @YACC@
|
---|
146 |
|
---|
147 | # FIXME Ä This won't work for srcdir != objdir. But on the Mac, there
|
---|
148 | # is no easy way to build a relative or absolute path, because Ä means
|
---|
149 | # both the path separator, and the "go up a directory" indicator
|
---|
150 | #SRCTOP = {srcdir}{S}{BUILDTOP}
|
---|
151 | SRCTOP = {BUILDTOP}
|
---|
152 | SUBDIRS = @subdirs@
|
---|
153 |
|
---|
154 | TOPLIBD = {BUILDTOP}{S}lib
|
---|
155 |
|
---|
156 | OBJEXT = c.o
|
---|
157 | LIBEXT = a
|
---|
158 | EXEEXT =
|
---|
159 |
|
---|
160 | all ÄÄ
|
---|
161 | # Generated automatically from Makefile.in by configure
|
---|
162 | CFLAGS = {CCOPTS} {DEFS} -i ::des
|
---|
163 |
|
---|
164 | ##DOSBUILDTOP = ..\..\:
|
---|
165 | ##DOSLIBNAME=..\crypto.lib
|
---|
166 | ##DOS!include {BUILDTOP}\config\windows.in
|
---|
167 |
|
---|
168 | OBJS= md5.{OBJEXT} md5glue.{OBJEXT} md5crypto.{OBJEXT}
|
---|
169 |
|
---|
170 | SRCS= md5.c md5glue.c md5crypto.c
|
---|
171 |
|
---|
172 | all ÄÄ {OBJS}
|
---|
173 |
|
---|
174 | t_mddriver Ä t_mddriver.c.o md5.c.o
|
---|
175 | Link {LDFLAGS} -o t_mddriver t_mddriver.c.o md5.c.o
|
---|
176 |
|
---|
177 | t_mddriver.exe Ä
|
---|
178 | {CC} {CFLAGS2} -o t_mddriver.exe t_mddriver.c md5.c
|
---|
179 |
|
---|
180 | check ÄÄ t_mddriver{EXEEXT}
|
---|
181 | {C}t_mddriver{EXEEXT} -x
|
---|
182 |
|
---|
183 | clean ÄÄ
|
---|
184 | {RM} t_mddriver{EXEEXT} t_mddriver.{OBJEXT}
|
---|
185 | # config:post.in
|
---|
186 | # put all ÄÄ first just in case no other rules occur here
|
---|
187 | #
|
---|
188 | all ÄÄ
|
---|
189 |
|
---|
190 | check ÄÄ
|
---|
191 |
|
---|
192 | clean ÄÄ clean-{WHAT}
|
---|
193 | {RM} config.log pre.c.out post.c.out Makefile.c.out
|
---|
194 |
|
---|
195 | clean-unix ÄÄ
|
---|
196 | if test -n "{OBJS}" ; then {RM} {OBJS}; else Ä ; fi
|
---|
197 |
|
---|
198 | clean-windows ÄÄ
|
---|
199 | {RM} Å.{OBJEXT}
|
---|
200 | {RM} msvc.pdb Å.err
|
---|