1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
# SSLeay/tools/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
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
|
1999-04-29 21:52:08 +00:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 10:52:47 +00:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-19 16:06:34 +00:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
1998-12-21 10:52:47 +00:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile.ssl
|
|
|
|
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:
|
|
|
|
@for i in $(APPS) ; \
|
|
|
|
do \
|
2002-12-15 06:00:29 +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 06:00:29 +00:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
|
|
|
|
chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
|
2002-12-20 07:51:08 +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:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
links:
|
1999-03-06 12:32:06 +00:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
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.
|