Implement windows async pool and notify support
[openssl.git] / crypto / async / Makefile
1 #
2 # OpenSSL/crypto/async/Makefile
3 #
4
5 DIR=    async
6 TOP=    ../..
7 CC=     cc
8 INCLUDES=
9 CFLAG=-g
10 MAKEFILE=       Makefile
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=async.c arch/async_posix.c arch/async_win.c
21 LIBOBJ=async.o arch/async_posix.o arch/async_win.o
22
23 SRC= $(LIBSRC)
24
25 HEADER= async_locl.h arch/async_posix.h arch/async_win.h arch/async_null.h
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 links:
43         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
44         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
45         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
46
47 install:
48         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
49         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
50         do  \
51         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
52         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
53         done;
54
55 tags:
56         ctags $(SRC)
57
58 tests:
59
60 lint:
61         lint -DLINT $(INCLUDES) $(SRC)>fluff
62
63 update: depend
64
65 depend:
66         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
67         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
68
69 dclean:
70         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
71         mv -f Makefile.new $(MAKEFILE)
72
73 clean:
74         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
75         rm -f arch/*.o arch/*.obj arch/lib arch/tags arch/core arch/.pure arch/.nfs* arch/*.old arch/*.bak arch/fluff
76
77 # DO NOT DELETE THIS LINE -- make depend depends on it.
78
79 arch/async_posix.o: ../../e_os.h ../../include/openssl/async.h
80 arch/async_posix.o: ../../include/openssl/crypto.h
81 arch/async_posix.o: ../../include/openssl/e_os2.h
82 arch/async_posix.o: ../../include/openssl/opensslconf.h
83 arch/async_posix.o: ../../include/openssl/opensslv.h
84 arch/async_posix.o: ../../include/openssl/ossl_typ.h
85 arch/async_posix.o: ../../include/openssl/safestack.h
86 arch/async_posix.o: ../../include/openssl/stack.h
87 arch/async_posix.o: ../../include/openssl/symhacks.h arch/../arch/async_null.h
88 arch/async_posix.o: arch/../arch/async_posix.h arch/../arch/async_win.h
89 arch/async_posix.o: arch/../async_locl.h arch/async_posix.c
90 arch/async_win.o: ../../include/openssl/async.h arch/async_win.c
91 arch/async_win.o: arch/async_win.h
92 async.o: ../../e_os.h ../../include/openssl/async.h
93 async.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
94 async.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
95 async.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
96 async.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97 async.o: arch/async_null.h arch/async_posix.h arch/async_win.h async.c
98 async.o: async_locl.h