Makefile.in 867 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # OpenSSL/crypto/chacha/Makefile
  3. #
  4. DIR= chacha
  5. TOP= ../..
  6. CC= cc
  7. CPP= $(CC) -E
  8. INCLUDES=
  9. CFLAG=-g
  10. AR= ar r
  11. CHACHA_ENC=chacha_enc.o
  12. CFLAGS= $(INCLUDES) $(CFLAG)
  13. ASFLAGS= $(INCLUDES) $(ASFLAG)
  14. AFLAGS= $(ASFLAGS)
  15. GENERAL=Makefile
  16. LIB=$(TOP)/libcrypto.a
  17. LIBSRC=chacha_enc.c
  18. LIBOBJ=$(CHACHA_ENC)
  19. SRC= $(LIBSRC)
  20. ALL= $(GENERAL) $(SRC) $(HEADER)
  21. top:
  22. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  23. all: lib
  24. lib: $(LIBOBJ)
  25. $(AR) $(LIB) $(LIBOBJ)
  26. $(RANLIB) $(LIB) || echo Never mind.
  27. @touch lib
  28. files:
  29. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  30. update: depend
  31. depend:
  32. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  33. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  34. clean:
  35. rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  36. # DO NOT DELETE THIS LINE -- make depend depends on it.