1142425Snectar# 2160814Ssimon# OpenSSL/crypto/des/Makefile 3142425Snectar# 4142425Snectar 5142425SnectarDIR= des 6142425SnectarTOP= ../.. 7142425SnectarCC= cc 8142425SnectarCPP= $(CC) -E 9142425SnectarINCLUDES=-I$(TOP) -I../../include 10142425SnectarCFLAG=-g 11142425SnectarMAKEFILE= Makefile 12142425SnectarAR= ar r 13142425SnectarRANLIB= ranlib 14142425SnectarDES_ENC= des_enc.o fcrypt_b.o 15142425Snectar 16142425SnectarCFLAGS= $(INCLUDES) $(CFLAG) 17142425SnectarASFLAGS= $(INCLUDES) $(ASFLAG) 18160814SsimonAFLAGS= $(ASFLAGS) 19142425Snectar 20142425SnectarGENERAL=Makefile 21142425SnectarTEST=destest.c 22142425SnectarAPPS= 23142425Snectar 24142425SnectarLIB=$(TOP)/libcrypto.a 25238405SjkimLIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ 26142425Snectar ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ 27142425Snectar fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \ 28142425Snectar qud_cksm.c rand_key.c rpc_enc.c set_key.c \ 29142425Snectar des_enc.c fcrypt_b.c \ 30142425Snectar xcbc_enc.c \ 31142425Snectar str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \ 32142425Snectar read2pwd.c 33142425Snectar 34238405SjkimLIBOBJ= set_key.o ecb_enc.o cbc_enc.o \ 35142425Snectar ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ 36142425Snectar enc_read.o enc_writ.o ofb64enc.o \ 37142425Snectar ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ 38142425Snectar ${DES_ENC} \ 39142425Snectar fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \ 40142425Snectar ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o 41142425Snectar 42142425SnectarSRC= $(LIBSRC) 43142425Snectar 44142425SnectarEXHEADER= des.h des_old.h 45142425SnectarHEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER) 46142425Snectar 47142425SnectarALL= $(GENERAL) $(SRC) $(HEADER) 48142425Snectar 49142425Snectartop: 50142425Snectar (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 51142425Snectar 52142425Snectarall: lib 53142425Snectar 54142425Snectarlib: $(LIBOBJ) 55238405Sjkim $(AR) $(LIB) $(LIBOBJ) 56142425Snectar $(RANLIB) $(LIB) || echo Never mind. 57142425Snectar @touch lib 58142425Snectar 59142425Snectardes: des.o cbc3_enc.o lib 60142425Snectar $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) 61142425Snectar 62160814Ssimondes_enc-sparc.S: asm/des_enc.m4 63160814Ssimon m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S 64142425Snectar 65238405Sjkimdes-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 66238405Sjkim $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ 67238405Sjkimcrypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 68238405Sjkim $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ 69142425Snectar 70142425Snectarfiles: 71142425Snectar $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 72142425Snectar 73142425Snectarlinks: 74142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 75142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 76142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 77142425Snectar 78160814Ssimon# We need to use force because 'install' matches 'INSTALL' on case 79160814Ssimon# insensitive systems 80160814SsimonFRC.install: 81160814Ssimoninstall: FRC.install 82160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 83160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 84142425Snectar do \ 85142425Snectar (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 86142425Snectar chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 87142425Snectar done; 88142425Snectar 89142425Snectartags: 90142425Snectar ctags $(SRC) 91142425Snectar 92142425Snectartests: 93142425Snectar 94142425Snectarlint: 95142425Snectar lint -DLINT $(INCLUDES) $(SRC)>fluff 96142425Snectar 97142425Snectardepend: 98160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 99142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 100142425Snectar 101142425Snectardclean: 102142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 103142425Snectar mv -f Makefile.new $(MAKEFILE) 104142425Snectar 105142425Snectarclean: 106160814Ssimon rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff 107142425Snectar 108142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 109142425Snectar 110160814Ssimoncbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 111160814Ssimoncbc_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 112160814Ssimoncbc_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 113142425Snectarcbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 114142425Snectarcbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 115142425Snectarcbc_cksm.o: cbc_cksm.c des_locl.h 116160814Ssimoncbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 117160814Ssimoncbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 118160814Ssimoncbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 119160814Ssimoncbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 120160814Ssimoncbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 121160814Ssimoncbc_enc.o: cbc_enc.c des_locl.h ncbc_enc.c 122160814Ssimoncfb64ede.o: ../../e_os.h ../../include/openssl/des.h 123142425Snectarcfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 124142425Snectarcfb64ede.o: ../../include/openssl/opensslconf.h 125160814Ssimoncfb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 126142425Snectarcfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 127142425Snectarcfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 128142425Snectarcfb64ede.o: cfb64ede.c des_locl.h 129160814Ssimoncfb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 130160814Ssimoncfb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 131160814Ssimoncfb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 132142425Snectarcfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 133142425Snectarcfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 134142425Snectarcfb64enc.o: cfb64enc.c des_locl.h 135160814Ssimoncfb_enc.o: ../../e_os.h ../../include/openssl/des.h 136160814Ssimoncfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 137160814Ssimoncfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h 138160814Ssimoncfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 139160814Ssimoncfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 140160814Ssimoncfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h 141160814Ssimondes_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 142160814Ssimondes_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 143160814Ssimondes_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 144160814Ssimondes_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 145160814Ssimondes_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 146238405Sjkimdes_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h 147160814Ssimondes_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 148160814Ssimondes_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 149142425Snectardes_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 150142425Snectardes_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 151142425Snectardes_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 152142425Snectardes_old.o: ../../include/openssl/ui_compat.h des_old.c 153160814Ssimondes_old2.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 154160814Ssimondes_old2.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 155160814Ssimondes_old2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 156160814Ssimondes_old2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 157160814Ssimondes_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 158160814Ssimondes_old2.o: ../../include/openssl/ui_compat.h des_old2.c 159160814Ssimonecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 160160814Ssimonecb3_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 161160814Ssimonecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 162142425Snectarecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 163142425Snectarecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 164142425Snectarecb3_enc.o: des_locl.h ecb3_enc.c 165238405Sjkimecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 166142425Snectarecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 167142425Snectarecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 168238405Sjkimecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 169238405Sjkimecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 170238405Sjkimecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 171238405Sjkimecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c 172160814Ssimonede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 173160814Ssimonede_cbcm_enc.o: ../../include/openssl/e_os2.h 174142425Snectarede_cbcm_enc.o: ../../include/openssl/opensslconf.h 175160814Ssimonede_cbcm_enc.o: ../../include/openssl/ossl_typ.h 176142425Snectarede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 177142425Snectarede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 178142425Snectarede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c 179142425Snectarenc_read.o: ../../e_os.h ../../include/openssl/bio.h 180142425Snectarenc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 181142425Snectarenc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 182142425Snectarenc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 183142425Snectarenc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 184160814Ssimonenc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 185160814Ssimonenc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 186160814Ssimonenc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 187160814Ssimonenc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h 188160814Ssimonenc_read.o: enc_read.c 189142425Snectarenc_writ.o: ../../e_os.h ../../include/openssl/bio.h 190142425Snectarenc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 191142425Snectarenc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 192142425Snectarenc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 193142425Snectarenc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 194142425Snectarenc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 195142425Snectarenc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 196142425Snectarenc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 197142425Snectarenc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 198142425Snectarenc_writ.o: ../cryptlib.h des_locl.h enc_writ.c 199160814Ssimonfcrypt.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 200160814Ssimonfcrypt.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 201160814Ssimonfcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 202160814Ssimonfcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 203160814Ssimonfcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 204160814Ssimonfcrypt.o: des_locl.h fcrypt.c 205160814Ssimonfcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 206160814Ssimonfcrypt_b.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 207160814Ssimonfcrypt_b.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 208142425Snectarfcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 209142425Snectarfcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 210142425Snectarfcrypt_b.o: des_locl.h fcrypt_b.c 211160814Ssimonofb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 212160814Ssimonofb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 213160814Ssimonofb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 214142425Snectarofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 215142425Snectarofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 216142425Snectarofb64ede.o: des_locl.h ofb64ede.c 217160814Ssimonofb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 218160814Ssimonofb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 219160814Ssimonofb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 220142425Snectarofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 221142425Snectarofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 222142425Snectarofb64enc.o: des_locl.h ofb64enc.c 223160814Ssimonofb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 224160814Ssimonofb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 225160814Ssimonofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 226160814Ssimonofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 227160814Ssimonofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 228160814Ssimonofb_enc.o: des_locl.h ofb_enc.c 229160814Ssimonpcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 230160814Ssimonpcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 231160814Ssimonpcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 232142425Snectarpcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 233142425Snectarpcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 234142425Snectarpcbc_enc.o: des_locl.h pcbc_enc.c 235160814Ssimonqud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 236160814Ssimonqud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 237160814Ssimonqud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 238142425Snectarqud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 239142425Snectarqud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 240142425Snectarqud_cksm.o: des_locl.h qud_cksm.c 241160814Ssimonrand_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 242160814Ssimonrand_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 243160814Ssimonrand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 244160814Ssimonrand_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 245160814Ssimonrand_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 246160814Ssimonrand_key.o: ../../include/openssl/ui_compat.h rand_key.c 247142425Snectarread2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 248142425Snectarread2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 249142425Snectarread2pwd.o: ../../include/openssl/opensslconf.h 250160814Ssimonread2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 251160814Ssimonread2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 252160814Ssimonread2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 253160814Ssimonread2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c 254160814Ssimonrpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 255160814Ssimonrpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 256160814Ssimonrpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 257160814Ssimonrpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 258160814Ssimonrpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 259160814Ssimonrpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c 260238405Sjkimset_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 261238405Sjkimset_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 262238405Sjkimset_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 263238405Sjkimset_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 264238405Sjkimset_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 265238405Sjkimset_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 266238405Sjkimset_key.o: des_locl.h set_key.c 267142425Snectarstr2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 268142425Snectarstr2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 269142425Snectarstr2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 270160814Ssimonstr2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 271160814Ssimonstr2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 272160814Ssimonstr2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 273160814Ssimonstr2key.o: des_locl.h str2key.c 274160814Ssimonxcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 275160814Ssimonxcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 276160814Ssimonxcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 277142425Snectarxcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 278142425Snectarxcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 279142425Snectarxcbc_enc.o: des_locl.h xcbc_enc.c 280