openssl/tools/Makefile.in

60 lines
1.3 KiB
Makefile
Raw Normal View History

#
2006-02-04 09:45:59 +08:00
# OpenSSL/tools/Makefile
#
DIR= tools
TOP= ..
CC= cc
INCLUDES= -I$(TOP) -I../../include
CFLAG=-g
2005-03-30 21:05:57 +08:00
MAKEFILE= Makefile
CFLAGS= $(INCLUDES) $(CFLAG)
2005-03-30 21:05:57 +08:00
GENERAL=Makefile
APPS= c_rehash
MISC_APPS= c_hash c_info c_issuer c_name
all:
install:
2005-05-16 06:23:26 +08:00
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
@for i in $(APPS) ; \
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
done;
@for i in $(MISC_APPS) ; \
do \
(cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
done;
uninstall:
@for i in $(APPS) ; \
do \
echo $(RM) $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
$(RM) $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
done;
@for i in $(MISC_APPS) ; \
do \
echo $(RM) $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
$(RM) $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
done;
files:
2005-03-30 21:05:57 +08:00
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
errors:
depend:
clean:
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
errors:
# DO NOT DELETE THIS LINE -- make depend depends on it.