2 # OpenSSL/tools/Makefile
8 INCLUDES= -I$(TOP) -I../../include
12 CFLAGS= $(INCLUDES) $(CFLAG)
16 MISC_APPS= c_hash c_info c_issuer c_name
23 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
26 (cp $$i $(DESTDIR)$(INSTALLTOP)/bin/$$i.new; \
27 chmod 755 $(DESTDIR)$(INSTALLTOP)/bin/$$i.new; \
28 mv -f $(DESTDIR)$(INSTALLTOP)/bin/$$i.new $(DESTDIR)$(INSTALLTOP)/bin/$$i ); \
30 @for i in $(MISC_APPS) ; \
32 (cp $$i $(DESTDIR)$(OPENSSLDIR)/misc/$$i.new; \
33 chmod 755 $(DESTDIR)$(OPENSSLDIR)/misc/$$i.new; \
34 mv -f $(DESTDIR)$(OPENSSLDIR)/misc/$$i.new $(DESTDIR)$(OPENSSLDIR)/misc/$$i ); \
40 echo $(RM) $(DESTDIR)$(INSTALLTOP)/bin/$$i; \
41 $(RM) $(DESTDIR)$(INSTALLTOP)/bin/$$i; \
43 @for i in $(MISC_APPS) ; \
45 echo $(RM) $(DESTDIR)$(OPENSSLDIR)/misc/$$i; \
46 $(RM) $(DESTDIR)$(OPENSSLDIR)/misc/$$i; \
50 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
57 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
62 $(PERL) -I$(TOP) -Mconfigdata $(TOP)/util/dofile.pl -otools/Makefile c_rehash.in > c_rehash.new
63 mv c_rehash.new c_rehash
65 # DO NOT DELETE THIS LINE -- make depend depends on it.