Makefile.in 922 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #
  2. # OpenSSL/crypto/ct/Makefile
  3. #
  4. DIR= ct
  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= ct_lib.c ct_err.c
  15. LIBOBJ= ct_lib.o ct_err.o
  16. SRC= $(LIBSRC)
  17. HEADER=
  18. ALL= $(GENERAL) $(SRC) $(HEADER)
  19. top:
  20. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  21. test:
  22. all: lib
  23. lib: $(LIBOBJ)
  24. $(AR) $(LIB) $(LIBOBJ)
  25. $(RANLIB) $(LIB) || echo Never mind.
  26. @touch lib
  27. files:
  28. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  29. errors:
  30. $(PERL) $(TOP)/util/mkerr.pl -conf ct.ec -hprefix internal/ -write *.c
  31. update: depend
  32. depend:
  33. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  34. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  35. clean:
  36. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  37. # DO NOT DELETE THIS LINE -- make depend depends on it.