2 # SSLeay/tools/Makefile
8 INCLUDES= -I$(TOP) -I../../include
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE= make -f Makefile.ssl
14 MAKEDEPPROG= makedepend
15 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE= Makefile.ssl
18 CFLAGS= $(INCLUDES) $(CFLAG)
23 MISC_APPS= c_hash c_info c_issuer c_name
30 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
31 chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
32 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
34 @for i in $(MISC_APPS) ; \
36 (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
37 chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
38 mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
42 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
56 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
57 mv -f Makefile.new $(MAKEFILE)
60 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
64 # DO NOT DELETE THIS LINE -- make depend depends on it.