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