]>
Commit | Line | Data |
---|---|---|
8f4fac7f | 1 | # |
15ac9716 | 2 | # OpenSSL/crypto/dso/Makefile |
8f4fac7f GT |
3 | # |
4 | ||
5 | DIR= dso | |
6 | TOP= ../.. | |
7 | CC= cc | |
41d2a336 | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
8f4fac7f | 9 | CFLAG=-g |
42ba5d23 | 10 | MAKEFILE= Makefile |
8f4fac7f GT |
11 | AR= ar r |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
15 | GENERAL=Makefile | |
16 | TEST= | |
17 | APPS= | |
18 | ||
19 | LIB=$(TOP)/libcrypto.a | |
20 | LIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \ | |
b317819b | 21 | dso_openssl.c dso_win32.c dso_vms.c |
8f4fac7f | 22 | LIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \ |
b317819b | 23 | dso_openssl.o dso_win32.o dso_vms.o |
8f4fac7f GT |
24 | |
25 | SRC= $(LIBSRC) | |
26 | ||
27 | EXHEADER= dso.h | |
28 | HEADER= $(EXHEADER) | |
29 | ||
30 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
31 | ||
32 | top: | |
33 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
34 | ||
35 | all: lib | |
36 | ||
37 | lib: $(LIBOBJ) | |
f072785e | 38 | $(AR) $(LIB) $(LIBOBJ) |
4e20b1a6 | 39 | $(RANLIB) $(LIB) || echo Never mind. |
8f4fac7f GT |
40 | @touch lib |
41 | ||
42 | files: | |
42ba5d23 | 43 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
8f4fac7f GT |
44 | |
45 | links: | |
8f4fac7f GT |
46 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
47 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
48 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
49 | ||
50 | install: | |
81a86fcf | 51 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... |
a2ac429d | 52 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ |
8f4fac7f GT |
53 | do \ |
54 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | |
55 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
56 | done; | |
57 | ||
58 | tags: | |
59 | ctags $(SRC) | |
60 | ||
61 | tests: | |
62 | ||
63 | lint: | |
64 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
65 | ||
66 | depend: | |
ce92b6eb | 67 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... |
001ab3ab | 68 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
8f4fac7f GT |
69 | |
70 | dclean: | |
71 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | |
72 | mv -f Makefile.new $(MAKEFILE) | |
73 | ||
74 | clean: | |
75 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | |
76 | ||
77 | # DO NOT DELETE THIS LINE -- make depend depends on it. | |
78 | ||
41d2a336 RL |
79 | dso_dl.o: ../../e_os.h ../../include/openssl/bio.h |
80 | dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
81 | dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
1c4f90a0 GT |
82 | dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
83 | dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
84 | dso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
85 | dso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
86 | dso_dl.o: ../cryptlib.h dso_dl.c | |
41d2a336 RL |
87 | dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h |
88 | dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
89 | dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
1c4f90a0 GT |
90 | dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
91 | dso_dlfcn.o: ../../include/openssl/opensslconf.h | |
c57bc2dc GT |
92 | dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
93 | dso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
94 | dso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c | |
1c4f90a0 | 95 | dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
cf1b7d96 RL |
96 | dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h |
97 | dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
98 | dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
99 | dso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
100 | dso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
101 | dso_err.o: dso_err.c | |
41d2a336 RL |
102 | dso_lib.o: ../../e_os.h ../../include/openssl/bio.h |
103 | dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
104 | dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
1c4f90a0 GT |
105 | dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
106 | dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
107 | dso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
108 | dso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
109 | dso_lib.o: ../cryptlib.h dso_lib.c | |
41d2a336 RL |
110 | dso_null.o: ../../e_os.h ../../include/openssl/bio.h |
111 | dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
112 | dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
1c4f90a0 GT |
113 | dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
114 | dso_null.o: ../../include/openssl/opensslconf.h | |
c57bc2dc GT |
115 | dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
116 | dso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
117 | dso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c | |
41d2a336 RL |
118 | dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h |
119 | dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
120 | dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
1c4f90a0 GT |
121 | dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
122 | dso_openssl.o: ../../include/openssl/opensslconf.h | |
8f4fac7f | 123 | dso_openssl.o: ../../include/openssl/opensslv.h |
c57bc2dc | 124 | dso_openssl.o: ../../include/openssl/ossl_typ.h |
8f4fac7f | 125 | dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
710e5d56 | 126 | dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c |
41d2a336 RL |
127 | dso_vms.o: ../../e_os.h ../../include/openssl/bio.h |
128 | dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
129 | dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
ea4e4149 RL |
130 | dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
131 | dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
c57bc2dc GT |
132 | dso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
133 | dso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
ae53b299 | 134 | dso_vms.o: ../cryptlib.h dso_vms.c |
41d2a336 RL |
135 | dso_win32.o: ../../e_os.h ../../include/openssl/bio.h |
136 | dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
137 | dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | |
1c4f90a0 GT |
138 | dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
139 | dso_win32.o: ../../include/openssl/opensslconf.h | |
c57bc2dc GT |
140 | dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
141 | dso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
142 | dso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c |