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