2 # OpenSSL/tools/Makefile
8 INCLUDES
= -I
$(TOP
) -I..
/..
/include
12 CFLAGS
= $(INCLUDES
) $(CFLAG
)
17 MISC_APPS
= c_hash c_info c_issuer c_name
22 @
[ -n
"$(INSTALLTOP)" ] # should be set by top Makefile...
25 (cp
$$i $(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i.new
; \
26 chmod
755 $(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i.new
; \
27 mv
-f
$(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i.new
$(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i ); \
29 @for i in
$(MISC_APPS
) ; \
31 (cp
$$i $(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i.new
; \
32 chmod
755 $(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i.new
; \
33 mv
-f
$(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i.new
$(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i ); \
37 $(PERL
) $(TOP
)/util
/files.pl Makefile
>> $(TOP
)/MINFO
52 $(PERL
) -pe
'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE
) >Makefile.new
53 mv
-f Makefile.new
$(MAKEFILE
)
57 rm -f
*.o
*.obj lib
tags core .pure .nfs
* *.old
*.bak fluff
61 # DO NOT DELETE THIS LINE -- make depend depends on it.