2 # OpenSSL/crypto/async/Makefile
13 CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC=async.c async_wait.c async_err.c arch/async_posix.c arch/async_win.c arch/async_null.c
21 LIBOBJ=async.o async_wait.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 $(DESTDIR)$(INSTALLTOP)/include/openssl/$$i; \
52 chmod 644 $(DESTDIR)$(INSTALLTOP)/include/openssl/$$i ); \
56 $(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
59 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
60 rm -f arch/*.o arch/*.obj arch/lib arch/tags arch/core arch/.pure arch/.nfs* arch/*.old arch/*.bak arch/fluff
62 # Different flavours of make disagree on where output goes
64 $(CC) $(CFLAGS) -c $< -o $@
66 # DO NOT DELETE THIS LINE -- make depend depends on it.