]>
Commit | Line | Data |
---|---|---|
d02b48c6 | 1 | # |
15ac9716 | 2 | # OpenSSL/crypto/buffer/Makefile |
d02b48c6 RE |
3 | # |
4 | ||
5 | DIR= buffer | |
6 | TOP= ../.. | |
7 | CC= cc | |
41d2a336 | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
d02b48c6 | 9 | CFLAG=-g |
42ba5d23 | 10 | MAKEFILE= Makefile |
d02b48c6 RE |
11 | AR= ar r |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
d02b48c6 | 15 | GENERAL=Makefile |
d02b48c6 RE |
16 | |
17 | LIB=$(TOP)/libcrypto.a | |
7644a9ae RS |
18 | LIBSRC= buffer.c buf_err.c |
19 | LIBOBJ= buffer.o buf_err.o | |
d02b48c6 RE |
20 | |
21 | SRC= $(LIBSRC) | |
22 | ||
a80e33b9 | 23 | HEADER= |
d02b48c6 RE |
24 | |
25 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
26 | ||
27 | top: | |
28 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
29 | ||
30 | all: lib | |
31 | ||
32 | lib: $(LIBOBJ) | |
f072785e | 33 | $(AR) $(LIB) $(LIBOBJ) |
4e20b1a6 | 34 | $(RANLIB) $(LIB) || echo Never mind. |
d02b48c6 RE |
35 | @touch lib |
36 | ||
37 | files: | |
42ba5d23 | 38 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
d02b48c6 | 39 | |
d02b48c6 RE |
40 | tags: |
41 | ctags $(SRC) | |
42 | ||
43 | tests: | |
44 | ||
45 | lint: | |
46 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
47 | ||
0f539dc1 RL |
48 | update: depend |
49 | ||
d02b48c6 | 50 | depend: |
ce92b6eb | 51 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... |
001ab3ab | 52 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
d02b48c6 RE |
53 | |
54 | dclean: | |
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 | ||
58 | clean: | |
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 | 63 | buf_err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
cf1b7d96 RL |
64 | buf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
65 | buf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
66 | buf_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
67 | buf_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
68 | buf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
69 | buf_err.o: buf_err.c | |
41d2a336 RL |
70 | buffer.o: ../../e_os.h ../../include/openssl/bio.h |
71 | buffer.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
7e701817 | 72 | buffer.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1c4f90a0 | 73 | buffer.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
c57bc2dc GT |
74 | buffer.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
75 | buffer.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
a3aadb2d RL |
76 | buffer.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h |
77 | buffer.o: buffer.c |