1998-12-21 18:52:47 +08:00
|
|
|
#
|
2006-02-04 09:45:59 +08:00
|
|
|
# OpenSSL/tools/Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= tools
|
|
|
|
TOP= ..
|
|
|
|
CC= cc
|
2001-02-22 22:45:02 +08:00
|
|
|
INCLUDES= -I$(TOP) -I../../include
|
1998-12-21 18:52:47 +08:00
|
|
|
CFLAG=-g
|
2005-03-30 21:05:57 +08:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
2005-03-30 21:05:57 +08:00
|
|
|
GENERAL=Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
TEST=
|
1999-04-29 06:06:19 +08:00
|
|
|
APPS= c_rehash
|
|
|
|
MISC_APPS= c_hash c_info c_issuer c_name
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
all:
|
|
|
|
|
|
|
|
install:
|
2005-05-16 06:23:26 +08:00
|
|
|
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
1998-12-21 18:52:47 +08:00
|
|
|
@for i in $(APPS) ; \
|
|
|
|
do \
|
2002-12-15 13:59:13 +08:00
|
|
|
(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 ); \
|
1999-04-29 20:30:49 +08:00
|
|
|
done;
|
1999-04-29 06:06:19 +08:00
|
|
|
@for i in $(MISC_APPS) ; \
|
|
|
|
do \
|
2002-12-15 13:59:13 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
|
|
|
|
chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
|
2002-12-20 15:51:03 +08:00
|
|
|
mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
|
1998-12-21 18:52:47 +08:00
|
|
|
done;
|
|
|
|
|
|
|
|
files:
|
2005-03-30 21:05:57 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
|
|
|
|
tags:
|
|
|
|
|
|
|
|
errors:
|
|
|
|
|
|
|
|
depend:
|
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
2006-04-12 04:05:23 +08:00
|
|
|
rm -f c_rehash
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
clean:
|
1999-03-06 20:32:06 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
errors:
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|