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 97284285Sjkimupdate: depend 98284285Sjkim 99142425Snectardepend: 100160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 101142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 102142425Snectar 103142425Snectardclean: 104142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 105142425Snectar mv -f Makefile.new $(MAKEFILE) 106142425Snectar 107142425Snectarclean: 108160814Ssimon rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff 109142425Snectar 110142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 111142425Snectar 112160814Ssimoncbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 113160814Ssimoncbc_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 114160814Ssimoncbc_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 115142425Snectarcbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 116142425Snectarcbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 117142425Snectarcbc_cksm.o: cbc_cksm.c des_locl.h 118160814Ssimoncbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 119160814Ssimoncbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 120160814Ssimoncbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 121160814Ssimoncbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 122160814Ssimoncbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 123160814Ssimoncbc_enc.o: cbc_enc.c des_locl.h ncbc_enc.c 124160814Ssimoncfb64ede.o: ../../e_os.h ../../include/openssl/des.h 125142425Snectarcfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 126142425Snectarcfb64ede.o: ../../include/openssl/opensslconf.h 127160814Ssimoncfb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 128142425Snectarcfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 129142425Snectarcfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 130142425Snectarcfb64ede.o: cfb64ede.c des_locl.h 131160814Ssimoncfb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 132160814Ssimoncfb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 133160814Ssimoncfb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 134142425Snectarcfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 135142425Snectarcfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 136142425Snectarcfb64enc.o: cfb64enc.c des_locl.h 137160814Ssimoncfb_enc.o: ../../e_os.h ../../include/openssl/des.h 138160814Ssimoncfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 139160814Ssimoncfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h 140160814Ssimoncfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 141160814Ssimoncfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 142160814Ssimoncfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h 143160814Ssimondes_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 144160814Ssimondes_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 145160814Ssimondes_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 146160814Ssimondes_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 147160814Ssimondes_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 148238405Sjkimdes_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h 149160814Ssimondes_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 150160814Ssimondes_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 151142425Snectardes_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 152142425Snectardes_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 153142425Snectardes_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 154142425Snectardes_old.o: ../../include/openssl/ui_compat.h des_old.c 155160814Ssimondes_old2.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 156160814Ssimondes_old2.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 157160814Ssimondes_old2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 158160814Ssimondes_old2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 159160814Ssimondes_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 160160814Ssimondes_old2.o: ../../include/openssl/ui_compat.h des_old2.c 161160814Ssimonecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 162160814Ssimonecb3_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 163160814Ssimonecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 164142425Snectarecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 165142425Snectarecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 166142425Snectarecb3_enc.o: des_locl.h ecb3_enc.c 167238405Sjkimecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 168142425Snectarecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 169142425Snectarecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 170238405Sjkimecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 171238405Sjkimecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 172238405Sjkimecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 173238405Sjkimecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c 174160814Ssimonede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 175160814Ssimonede_cbcm_enc.o: ../../include/openssl/e_os2.h 176142425Snectarede_cbcm_enc.o: ../../include/openssl/opensslconf.h 177160814Ssimonede_cbcm_enc.o: ../../include/openssl/ossl_typ.h 178142425Snectarede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 179142425Snectarede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 180142425Snectarede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c 181142425Snectarenc_read.o: ../../e_os.h ../../include/openssl/bio.h 182142425Snectarenc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 183142425Snectarenc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 184142425Snectarenc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 185142425Snectarenc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 186160814Ssimonenc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 187160814Ssimonenc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 188160814Ssimonenc_read.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 189160814Ssimonenc_read.o: ../../include/openssl/ui_compat.h ../cryptlib.h des_locl.h 190160814Ssimonenc_read.o: enc_read.c 191142425Snectarenc_writ.o: ../../e_os.h ../../include/openssl/bio.h 192142425Snectarenc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 193142425Snectarenc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 194142425Snectarenc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 195142425Snectarenc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 196142425Snectarenc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 197142425Snectarenc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 198142425Snectarenc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 199142425Snectarenc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 200142425Snectarenc_writ.o: ../cryptlib.h des_locl.h enc_writ.c 201160814Ssimonfcrypt.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 202160814Ssimonfcrypt.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 203160814Ssimonfcrypt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 204160814Ssimonfcrypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 205160814Ssimonfcrypt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 206160814Ssimonfcrypt.o: des_locl.h fcrypt.c 207160814Ssimonfcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 208160814Ssimonfcrypt_b.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 209160814Ssimonfcrypt_b.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 210142425Snectarfcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 211142425Snectarfcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 212142425Snectarfcrypt_b.o: des_locl.h fcrypt_b.c 213160814Ssimonofb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 214160814Ssimonofb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 215160814Ssimonofb64ede.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 216142425Snectarofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 217142425Snectarofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 218142425Snectarofb64ede.o: des_locl.h ofb64ede.c 219160814Ssimonofb64enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 220160814Ssimonofb64enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 221160814Ssimonofb64enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 222142425Snectarofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 223142425Snectarofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 224142425Snectarofb64enc.o: des_locl.h ofb64enc.c 225160814Ssimonofb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 226160814Ssimonofb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 227160814Ssimonofb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 228160814Ssimonofb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 229160814Ssimonofb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 230160814Ssimonofb_enc.o: des_locl.h ofb_enc.c 231160814Ssimonpcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 232160814Ssimonpcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 233160814Ssimonpcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 234142425Snectarpcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 235142425Snectarpcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 236142425Snectarpcbc_enc.o: des_locl.h pcbc_enc.c 237160814Ssimonqud_cksm.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 238160814Ssimonqud_cksm.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 239160814Ssimonqud_cksm.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 240142425Snectarqud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 241142425Snectarqud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 242142425Snectarqud_cksm.o: des_locl.h qud_cksm.c 243160814Ssimonrand_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 244160814Ssimonrand_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 245160814Ssimonrand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 246160814Ssimonrand_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 247160814Ssimonrand_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 248160814Ssimonrand_key.o: ../../include/openssl/ui_compat.h rand_key.c 249142425Snectarread2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 250142425Snectarread2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 251142425Snectarread2pwd.o: ../../include/openssl/opensslconf.h 252160814Ssimonread2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 253160814Ssimonread2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 254160814Ssimonread2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 255160814Ssimonread2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c 256160814Ssimonrpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 257160814Ssimonrpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 258160814Ssimonrpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 259160814Ssimonrpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 260160814Ssimonrpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 261160814Ssimonrpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c 262238405Sjkimset_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 263238405Sjkimset_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 264238405Sjkimset_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 265238405Sjkimset_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 266238405Sjkimset_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 267238405Sjkimset_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 268238405Sjkimset_key.o: des_locl.h set_key.c 269142425Snectarstr2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 270142425Snectarstr2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 271142425Snectarstr2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 272160814Ssimonstr2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 273160814Ssimonstr2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 274160814Ssimonstr2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 275160814Ssimonstr2key.o: des_locl.h str2key.c 276160814Ssimonxcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 277160814Ssimonxcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 278160814Ssimonxcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 279142425Snectarxcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 280142425Snectarxcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 281142425Snectarxcbc_enc.o: des_locl.h xcbc_enc.c 282