Makefile.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #
  2. # OpenSSL/crypto/bio/Makefile
  3. #
  4. DIR= bio
  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= bio_lib.c bio_cb.c bio_err.c \
  15. bss_mem.c bss_null.c bss_fd.c \
  16. bss_file.c bss_sock.c bss_conn.c \
  17. bf_null.c bf_buff.c b_print.c b_dump.c \
  18. b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c \
  19. bss_dgram.c
  20. # bf_lbuf.c
  21. LIBOBJ= bio_lib.o bio_cb.o bio_err.o \
  22. bss_mem.o bss_null.o bss_fd.o \
  23. bss_file.o bss_sock.o bss_conn.o \
  24. bf_null.o bf_buff.o b_print.o b_dump.o \
  25. b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o \
  26. bss_dgram.o
  27. # bf_lbuf.o
  28. SRC= $(LIBSRC)
  29. HEADER= bio_lcl.h
  30. ALL= $(GENERAL) $(SRC) $(HEADER)
  31. top:
  32. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  33. all: lib
  34. lib: $(LIBOBJ)
  35. $(AR) $(LIB) $(LIBOBJ)
  36. $(RANLIB) $(LIB) || echo Never mind.
  37. @touch lib
  38. files:
  39. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  40. depend:
  41. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  42. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  43. clean:
  44. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  45. # DO NOT DELETE THIS LINE -- make depend depends on it.