Makefile.in 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #
  2. # OpenSSL/crypto/des/Makefile
  3. #
  4. DIR= des
  5. TOP= ../..
  6. CC= cc
  7. CPP= $(CC) -E
  8. INCLUDES=-I$(TOP) -I../../include
  9. CFLAG=-g
  10. MAKEFILE= Makefile
  11. AR= ar r
  12. RANLIB= ranlib
  13. DES_ENC= des_enc.o fcrypt_b.o
  14. CFLAGS= $(INCLUDES) $(CFLAG)
  15. ASFLAGS= $(INCLUDES) $(ASFLAG)
  16. AFLAGS= $(ASFLAGS)
  17. GENERAL=Makefile
  18. LIB=$(TOP)/libcrypto.a
  19. LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
  20. ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
  21. fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
  22. qud_cksm.c rand_key.c rpc_enc.c set_key.c \
  23. des_enc.c fcrypt_b.c \
  24. xcbc_enc.c \
  25. str2key.c cfb64ede.c ofb64ede.c \
  26. read2pwd.c
  27. LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
  28. ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
  29. enc_read.o enc_writ.o ofb64enc.o \
  30. ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
  31. ${DES_ENC} \
  32. fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
  33. read2pwd.o
  34. SRC= $(LIBSRC)
  35. HEADER= des_locl.h rpc_des.h spr.h
  36. ALL= $(GENERAL) $(SRC) $(HEADER)
  37. top:
  38. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  39. all: lib
  40. lib: $(LIBOBJ)
  41. $(AR) $(LIB) $(LIBOBJ)
  42. $(RANLIB) $(LIB) || echo Never mind.
  43. @touch lib
  44. des_enc-sparc.S: asm/des_enc.m4
  45. m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
  46. dest4-sparcv9.s: asm/dest4-sparcv9.pl
  47. $(PERL) asm/dest4-sparcv9.pl $(CFLAGS) > $@
  48. des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
  49. $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
  50. crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
  51. $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
  52. files:
  53. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  54. update: depend
  55. depend:
  56. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  57. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  58. clean:
  59. rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
  60. # DO NOT DELETE THIS LINE -- make depend depends on it.