Makefile.in 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #
  2. # OpenSSL/crypto/rsa/Makefile
  3. #
  4. DIR= rsa
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES= -I.. -I$(TOP) -I../../include
  8. CFLAG=-g
  9. MAKEFILE= Makefile
  10. AR= ar r
  11. CFLAGS= $(INCLUDES) $(CFLAG)
  12. GENERAL=Makefile
  13. LIB=$(TOP)/libcrypto.a
  14. LIBSRC= rsa_ossl.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c \
  15. rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c \
  16. rsa_pss.c rsa_x931.c rsa_asn1.c rsa_depr.c rsa_ameth.c rsa_prn.c \
  17. rsa_pmeth.c rsa_crpt.c rsa_x931g.c
  18. LIBOBJ= rsa_ossl.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o rsa_err.o \
  19. rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o rsa_null.o \
  20. rsa_pss.o rsa_x931.o rsa_asn1.o rsa_depr.o rsa_ameth.o rsa_prn.o \
  21. rsa_pmeth.o rsa_crpt.o rsa_x931g.o
  22. SRC= $(LIBSRC)
  23. HEADER=
  24. ALL= $(GENERAL) $(SRC) $(HEADER)
  25. top:
  26. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  27. all: lib
  28. lib: $(LIBOBJ)
  29. $(AR) $(LIB) $(LIBOBJ)
  30. $(RANLIB) $(LIB) || echo Never mind.
  31. @touch lib
  32. files:
  33. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  34. update: depend
  35. depend:
  36. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  37. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  38. clean:
  39. rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  40. # DO NOT DELETE THIS LINE -- make depend depends on it.