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