]>
Commit | Line | Data |
---|---|---|
d02b48c6 | 1 | # |
15ac9716 | 2 | # OpenSSL/crypto/stack/Makefile |
d02b48c6 RE |
3 | # |
4 | ||
5 | DIR= stack | |
6 | TOP= ../.. | |
7 | CC= cc | |
8 | INCLUDES= | |
9 | CFLAG=-g | |
42ba5d23 | 10 | MAKEFILE= Makefile |
d02b48c6 RE |
11 | AR= ar r |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
15 | GENERAL=Makefile | |
d02b48c6 RE |
16 | |
17 | LIB=$(TOP)/libcrypto.a | |
18 | LIBSRC=stack.c | |
19 | LIBOBJ=stack.o | |
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 | ||
48 | depend: | |
ce92b6eb | 49 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... |
001ab3ab | 50 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
d02b48c6 RE |
51 | |
52 | dclean: | |
99aab161 | 53 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
54 | mv -f Makefile.new $(MAKEFILE) |
55 | ||
56 | clean: | |
bb8f3c58 | 57 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 58 | |
d02b48c6 | 59 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 60 | |
ce92b6eb AP |
61 | stack.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h |
62 | stack.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
63 | stack.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
64 | stack.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
65 | stack.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | |
66 | stack.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
67 | stack.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
a3aadb2d RL |
68 | stack.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h |
69 | stack.o: stack.c |