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 81WHAT = mac 82 83# Directory syntax: 84R= 85C= 86S=: 87U=: 88 89BUILDTOP = ../../.. 90srcdir = . 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 102CPPFLAGS = -I$(SRCTOP)/include -I$(BUILDTOP)/include -I$(SRCTOP)/include/krb5 -I$(BUILDTOP)/include/krb5 -i {CIncludes} 103DEFS = $(CPPFLAGS) 104CC = c 105LD = link 106# The funny quoting in the LDFLAGS is to avoid xxx.o being mangled by 107# mac-mf.sed into xxx.c.o. 108LDFLAGS=-t MPST -c "MPS " -sym on {Libraries}"Runtime."o {CLibraries}"StdClib."o {Libraries}"ToolLibs."o {Libraries}"Interface."o 109CCOPTS = 110LIBS = 111KRB5ROOT= @KRB5ROOT@ 112KRB4=@KRB4@ 113INSTALL=Duplicate -y 114INSTALL_PROGRAM=Duplicate -y 115INSTALL_DATA=Duplicate -y 116INSTALL_SETUID=Duplicate -y 117 118KRB5MANROOT = $(KRB5ROOT)$(S)man 119ADMIN_BINDIR = $(KRB5ROOT)$(S)admin 120SERVER_BINDIR = $(KRB5ROOT)$(S)sbin 121CLIENT_BINDIR = $(KRB5ROOT)$(S)bin 122ADMIN_MANDIR = $(KRB5MANROOT)$(S)man8 123SERVER_MANDIR = $(KRB5MANROOT)$(S)man8 124CLIENT_MANDIR = $(KRB5MANROOT)$(S)man1 125FILE_MANDIR = $(KRB5MANROOT)$(S)man5 126KRB5_LIBDIR = $(KRB5ROOT)$(S)lib 127KRB5_INCDIR = $(KRB5ROOT)$(S)include 128KRB5_INCSUBDIRS = \ 129 $(KRB5_INCDIR)$(S)krb5 \ 130 $(KRB5_INCDIR)$(S)asn.1 \ 131 $(KRB5_INCDIR)$(S)kerberosIV 132 133 134RM = Delete -y -i 135CP = Duplicate -y 136MV = mv -f 137CHMOD=chmod 138RANLIB = @RANLIB@ 139ARCHIVE = @ARCHIVE@ 140ARADD = @ARADD@ 141LN = @LN_S@ 142AWK = @AWK@ 143LEX = @LEX@ 144LEXLIB = @LEXLIB@ 145YACC = @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) 151SRCTOP = $(BUILDTOP) 152SUBDIRS = @subdirs@ 153 154TOPLIBD = $(BUILDTOP)$(S)lib 155 156OBJEXT = c.o 157LIBEXT = a 158EXEEXT = 159 160all:: 161# Generated automatically from Makefile.in by configure. 162CFLAGS = $(CCOPTS) $(DEFS) -I$(srcdir)/../des 163 164##DOSBUILDTOP = ..\..\.. 165##DOSLIBNAME=..\crypto.lib 166##DOS!include $(BUILDTOP)\config\windows.in 167 168OBJS= md5.$(OBJEXT) md5glue.$(OBJEXT) md5crypto.$(OBJEXT) 169 170SRCS= $(srcdir)/md5.c $(srcdir)/md5glue.c $(srcdir)/md5crypto.c 171 172all:: $(OBJS) 173 174t_mddriver: t_mddriver.o md5.o 175 $(CC) $(CFLAGS) $(LDFLAGS) -o t_mddriver t_mddriver.o md5.o 176 177t_mddriver.exe: 178 $(CC) $(CFLAGS2) -o t_mddriver.exe t_mddriver.c md5.c 179 180check:: t_mddriver$(EXEEXT) 181 $(C)t_mddriver$(EXEEXT) -x 182 183clean:: 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# 188all:: 189 190check:: 191 192clean:: clean-$(WHAT) 193 $(RM) config.log pre.out post.out Makefile.out 194 195clean-unix:: 196 if test -n "$(OBJS)" ; then $(RM) $(OBJS); else :; fi 197 198clean-windows:: 199 $(RM) *.$(OBJEXT) 200 $(RM) msvc.pdb *.err 201