2 # SSLeay/crypto/stack/Makefile
10 MAKEDEPPROG= makedepend
11 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
15 CFLAGS= $(INCLUDES) $(CFLAG)
21 LIB=$(TOP)/libcrypto.a
27 EXHEADER= stack.h safestack.h
30 ALL= $(GENERAL) $(SRC) $(HEADER)
33 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38 $(AR) $(LIB) $(LIBOBJ)
39 $(RANLIB) $(LIB) || echo Never mind.
43 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
46 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
51 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
54 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
64 lint -DLINT $(INCLUDES) $(SRC)>fluff
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
76 # DO NOT DELETE THIS LINE -- make depend depends on it.
78 stack.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
79 stack.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
80 stack.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
81 stack.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
82 stack.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
83 stack.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
84 stack.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
85 stack.o: ../../include/openssl/symhacks.h ../cryptlib.h stack.c