2 ## common Macintosh prefix for all Makefile.in in the Kerberos V5 tree.
5 # MPW-style lines for the MakeFile.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
78 # End of MPW-style lines for MakeFile.
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.
97 # Default rule that puts each file into separate segment.
100 {CC} {DepDir}{Default}.c {CFLAGS} -s {Default} -o {TargDir}{Default}.c.o
102 CPPFLAGS = -I$(SRCTOP)/include -I$(BUILDTOP)/include -I$(SRCTOP)/include/krb5 -I$(BUILDTOP)/include/krb5 -i {CIncludes}
106 # The funny quoting in the LDFLAGS is to avoid xxx.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
114 INSTALL_PROGRAM=Duplicate -y
115 INSTALL_DATA=Duplicate -y
116 INSTALL_SETUID=Duplicate -y
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
129 $(KRB5_INCDIR)$(S)krb5 \
130 $(KRB5_INCDIR)$(S)asn.1 \
131 $(KRB5_INCDIR)$(S)kerberosIV
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)
154 TOPLIBD = $(BUILDTOP)$(S)lib
161 # Generated automatically from Makefile.in by configure.
162 CFLAGS = $(CCOPTS) $(DEFS) -I$(srcdir)/../des
164 ##DOSBUILDTOP = ..\..\..
165 ##DOSLIBNAME=..\crypto.lib
166 ##DOS!include $(BUILDTOP)\config\windows.in
168 OBJS= md5.$(OBJEXT) md5glue.$(OBJEXT) md5crypto.$(OBJEXT)
170 SRCS= $(srcdir)/md5.c $(srcdir)/md5glue.c $(srcdir)/md5crypto.c
174 t_mddriver: t_mddriver.o md5.o
175 $(CC) $(CFLAGS) $(LDFLAGS) -o t_mddriver t_mddriver.o md5.o
178 $(CC) $(CFLAGS2) -o t_mddriver.exe t_mddriver.c md5.c
180 check:: t_mddriver$(EXEEXT)
181 $(C)t_mddriver$(EXEEXT) -x
184 $(RM) t_mddriver$(EXEEXT) t_mddriver.$(OBJEXT)
186 # put all:: first just in case no other rules occur here
192 clean:: clean-$(WHAT)
193 $(RM) config.log pre.out post.out Makefile.out
196 if test -n "$(OBJS)" ; then $(RM) $(OBJS); else :; fi