2 # SSLeay/crypto/buffer/Makefile
8 INCLUDES= -I.. -I../../include
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= $(TOP)/util/domd $(TOP)
13 MAKEFILE= Makefile.ssl
16 CFLAGS= $(INCLUDES) $(CFLAG)
23 LIB=$(TOP)/libcrypto.a
24 LIBSRC= buffer.c $(ERRC).c
25 LIBOBJ= buffer.o $(ERRC).o
32 ALL= $(GENERAL) $(SRC) $(HEADER)
35 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
40 $(AR) $(LIB) $(LIBOBJ)
45 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
48 @$(TOP)/util/point.sh Makefile.ssl Makefile
49 @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
50 @$(TOP)/util/mklink.sh ../../test $(TEST)
51 @$(TOP)/util/mklink.sh ../../apps $(APPS)
54 @for i in $(EXHEADER) ; \
56 (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
57 chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
66 lint -DLINT $(INCLUDES) $(SRC)>fluff
69 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
80 buf_err.o: ../../include/openssl/buffer.h ../../include/openssl/err.h
81 buffer.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
82 buffer.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
83 buffer.o: ../../include/openssl/err.h ../../include/openssl/opensslv.h
84 buffer.o: ../../include/openssl/stack.h ../cryptlib.h