Makefile.in 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # OpenSSL/crypto/cms/Makefile
  3. #
  4. DIR= cms
  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= cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c \
  15. cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c \
  16. cms_pwri.c cms_kari.c
  17. LIBOBJ= cms_lib.o cms_asn1.o cms_att.o cms_io.o cms_smime.o cms_err.o \
  18. cms_sd.o cms_dd.o cms_cd.o cms_env.o cms_enc.o cms_ess.o \
  19. cms_pwri.o cms_kari.o
  20. SRC= $(LIBSRC)
  21. HEADER= cms_lcl.h
  22. ALL= $(GENERAL) $(SRC) $(HEADER)
  23. top:
  24. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  25. test:
  26. all: lib
  27. lib: $(LIBOBJ)
  28. $(AR) $(LIB) $(LIBOBJ)
  29. $(RANLIB) $(LIB) || echo Never mind.
  30. @touch lib
  31. files:
  32. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  33. depend:
  34. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  35. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  36. clean:
  37. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  38. # DO NOT DELETE THIS LINE -- make depend depends on it.