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.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$(srcdir)/../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= $(srcdir)/md5.c $(srcdir)/md5glue.c $(srcdir)/md5crypto.c 171 172 all:: $(OBJS) 173 174 t_mddriver: t_mddriver.o md5.o 175 $(CC) $(CFLAGS) $(LDFLAGS) -o t_mddriver t_mddriver.o md5.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.out post.out Makefile.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 201