]>
Commit | Line | Data |
---|---|---|
a63d5eaa RL |
1 | # |
2 | # OpenSSL/crypto/ui/Makefile | |
3 | # | |
4 | ||
5 | DIR= ui | |
6 | TOP= ../.. | |
7 | CC= cc | |
8 | INCLUDES= -I.. -I$(TOP) -I../../include | |
9 | CFLAG=-g | |
42ba5d23 | 10 | MAKEFILE= Makefile |
a63d5eaa RL |
11 | AR= ar r |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
15 | GENERAL=Makefile | |
a63d5eaa | 16 | |
a63d5eaa | 17 | LIB=$(TOP)/libcrypto.a |
7cd6069c RS |
18 | LIBSRC= ui_err.c ui_lib.c ui_openssl.c ui_util.c |
19 | LIBOBJ= ui_err.o ui_lib.o ui_openssl.o ui_util.o | |
a63d5eaa RL |
20 | |
21 | SRC= $(LIBSRC) | |
22 | ||
a80e33b9 | 23 | HEADER= ui_locl.h |
a63d5eaa RL |
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) |
018c56fd | 34 | $(RANLIB) $(LIB) || echo Never mind. |
a63d5eaa RL |
35 | @touch lib |
36 | ||
37 | files: | |
42ba5d23 | 38 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
a63d5eaa | 39 | |
a63d5eaa RL |
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) |
a63d5eaa RL |
51 | |
52 | dclean: | |
53 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | |
54 | mv -f Makefile.new $(MAKEFILE) | |
55 | ||
56 | clean: | |
57 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | |
58 | ||
59 | # DO NOT DELETE THIS LINE -- make depend depends on it. | |
60 | ||
a63d5eaa RL |
61 | ui_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
62 | ui_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
63 | ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
c57bc2dc GT |
64 | ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
65 | ui_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
66 | ui_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_err.c | |
54a656ef BL |
67 | ui_lib.o: ../../e_os.h ../../include/openssl/bio.h |
68 | ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
69 | ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
70 | ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
c57bc2dc GT |
71 | ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
72 | ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
73 | ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
a3aadb2d | 74 | ui_lib.o: ../include/internal/cryptlib.h ui_lib.c ui_locl.h |
a63d5eaa RL |
75 | ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h |
76 | ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
77 | ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
78 | ui_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
c57bc2dc | 79 | ui_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
a63d5eaa RL |
80 | ui_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
81 | ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
a3aadb2d | 82 | ui_openssl.o: ../include/internal/cryptlib.h ui_locl.h ui_openssl.c |
de2f6e4d RL |
83 | ui_util.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
84 | ui_util.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
85 | ui_util.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
86 | ui_util.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
9c52d2cc | 87 | ui_util.o: ../../include/openssl/ui.h ui_locl.h ui_util.c |