2 # OpenSSL/crypto/async/Makefile
13 CFLAGS= $(INCLUDES) $(CFLAG)
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC=async.c async_err.c arch/async_posix.c arch/async_win.c arch/async_null.c
21 LIBOBJ=async.o async_err.o arch/async_posix.o arch/async_win.o arch/async_null.o
25 HEADER= async_locl.h arch/async_posix.h arch/async_win.h arch/async_null.h
27 ALL= $(GENERAL) $(SRC) $(HEADER)
30 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35 $(AR) $(LIB) $(LIBOBJ)
36 $(RANLIB) $(LIB) || echo Never mind.
40 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
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)
48 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
49 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
51 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
52 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61 lint -DLINT $(INCLUDES) $(SRC)>fluff
66 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
67 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
70 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
71 mv -f Makefile.new $(MAKEFILE)
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
77 # Different flavours of make disagree on where output goes
79 $(CC) $(CFLAGS) -c $< -o $@
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
83 arch/async_null.o: ../../e_os.h ../../include/openssl/async.h
84 arch/async_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
85 arch/async_null.o: ../../include/openssl/opensslconf.h
86 arch/async_null.o: ../../include/openssl/opensslv.h
87 arch/async_null.o: ../../include/openssl/ossl_typ.h
88 arch/async_null.o: ../../include/openssl/safestack.h
89 arch/async_null.o: ../../include/openssl/stack.h
90 arch/async_null.o: ../../include/openssl/symhacks.h arch/../arch/async_null.h
91 arch/async_null.o: arch/../arch/async_posix.h arch/../arch/async_win.h
92 arch/async_null.o: arch/../async_locl.h arch/async_null.c
93 arch/async_posix.o: ../../e_os.h ../../include/openssl/async.h
94 arch/async_posix.o: ../../include/openssl/crypto.h
95 arch/async_posix.o: ../../include/openssl/e_os2.h
96 arch/async_posix.o: ../../include/openssl/opensslconf.h
97 arch/async_posix.o: ../../include/openssl/opensslv.h
98 arch/async_posix.o: ../../include/openssl/ossl_typ.h
99 arch/async_posix.o: ../../include/openssl/safestack.h
100 arch/async_posix.o: ../../include/openssl/stack.h
101 arch/async_posix.o: ../../include/openssl/symhacks.h arch/../arch/async_null.h
102 arch/async_posix.o: arch/../arch/async_posix.h arch/../arch/async_win.h
103 arch/async_posix.o: arch/../async_locl.h arch/async_posix.c
104 arch/async_win.o: ../../e_os.h ../../include/openssl/async.h
105 arch/async_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
106 arch/async_win.o: ../../include/openssl/opensslconf.h
107 arch/async_win.o: ../../include/openssl/opensslv.h
108 arch/async_win.o: ../../include/openssl/ossl_typ.h
109 arch/async_win.o: ../../include/openssl/safestack.h
110 arch/async_win.o: ../../include/openssl/stack.h
111 arch/async_win.o: ../../include/openssl/symhacks.h arch/../arch/async_null.h
112 arch/async_win.o: arch/../arch/async_posix.h arch/../arch/async_win.h
113 arch/async_win.o: arch/../async_locl.h arch/async_win.c
114 async.o: ../../e_os.h ../../include/openssl/async.h ../../include/openssl/bio.h
115 async.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
116 async.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
117 async.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
118 async.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
119 async.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
120 async.o: arch/async_null.h arch/async_posix.h arch/async_win.h async.c
121 async.o: async_locl.h
122 async_err.o: ../../include/openssl/async.h ../../include/openssl/bio.h
123 async_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
124 async_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
125 async_err.o: ../../include/openssl/opensslconf.h
126 async_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
127 async_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
128 async_err.o: ../../include/openssl/symhacks.h async_err.c