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 $(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i.new
; \
27 chmod
755 $(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i.new
; \
28 mv
-f
$(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i.new
$(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i ); \
30 @for i in
$(MISC_APPS
) ; \
32 (cp
$$i $(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i.new
; \
33 chmod
755 $(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i.new
; \
34 mv
-f
$(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i.new
$(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i ); \
40 echo
$(RM
) $(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i; \
41 $(RM
) $(INSTALL_PREFIX
)$(INSTALLTOP
)/bin
/$$i; \
43 @for i in
$(MISC_APPS
) ; \
45 echo
$(RM
) $(INSTALL_PREFIX
)$(OPENSSLDIR
)/misc
/$$i; \
46 $(RM
) $(INSTALL_PREFIX
)$(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
< c_rehash.in
> c_rehash.new
63 mv c_rehash.new c_rehash
65 # DO NOT DELETE THIS LINE -- make depend depends on it.