]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/buffer/Makefile
Rename some BUF_xxx to OPENSSL_xxx
[thirdparty/openssl.git] / crypto / buffer / Makefile
CommitLineData
d02b48c6 1#
15ac9716 2# OpenSSL/crypto/buffer/Makefile
d02b48c6
RE
3#
4
5DIR= buffer
6TOP= ../..
7CC= cc
41d2a336 8INCLUDES= -I.. -I$(TOP) -I../../include
d02b48c6 9CFLAG=-g
42ba5d23 10MAKEFILE= Makefile
d02b48c6
RE
11AR= ar r
12
13CFLAGS= $(INCLUDES) $(CFLAG)
14
d02b48c6 15GENERAL=Makefile
d02b48c6
RE
16
17LIB=$(TOP)/libcrypto.a
7644a9ae
RS
18LIBSRC= buffer.c buf_err.c
19LIBOBJ= buffer.o buf_err.o
d02b48c6
RE
20
21SRC= $(LIBSRC)
22
a80e33b9 23HEADER=
d02b48c6
RE
24
25ALL= $(GENERAL) $(SRC) $(HEADER)
26
27top:
28 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
29
30all: lib
31
32lib: $(LIBOBJ)
f072785e 33 $(AR) $(LIB) $(LIBOBJ)
4e20b1a6 34 $(RANLIB) $(LIB) || echo Never mind.
d02b48c6
RE
35 @touch lib
36
37files:
42ba5d23 38 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
d02b48c6 39
d02b48c6
RE
40tags:
41 ctags $(SRC)
42
43tests:
44
45lint:
46 lint -DLINT $(INCLUDES) $(SRC)>fluff
47
0f539dc1
RL
48update: depend
49
d02b48c6 50depend:
ce92b6eb 51 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
001ab3ab 52 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
d02b48c6
RE
53
54dclean:
99aab161 55 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
56 mv -f Makefile.new $(MAKEFILE)
57
58clean:
bb8f3c58 59 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6 60
d02b48c6 61# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 62
1c4f90a0 63buf_err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
cf1b7d96
RL
64buf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
65buf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
66buf_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
c57bc2dc
GT
67buf_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
68buf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
69buf_err.o: buf_err.c
41d2a336
RL
70buffer.o: ../../e_os.h ../../include/openssl/bio.h
71buffer.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
7e701817 72buffer.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
1c4f90a0 73buffer.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
c57bc2dc
GT
74buffer.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
75buffer.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
a3aadb2d
RL
76buffer.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h
77buffer.o: buffer.c