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