1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
# SSLeay/tools/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= tools
|
|
|
|
TOP= ..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I../../include
|
|
|
|
CFLAG=-g
|
1999-04-30 05:52:08 +08:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 18:52:47 +08:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
1999-01-20 05:36:31 +08:00
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
1998-12-21 18:52:47 +08:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile.ssl
|
|
|
|
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:
|
|
|
|
@for i in $(APPS) ; \
|
|
|
|
do \
|
1999-04-30 05:52:08 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
|
|
|
|
chmod 755 $(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 \
|
1999-04-30 05:52:08 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
|
|
|
|
chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
|
1998-12-21 18:52:47 +08:00
|
|
|
done;
|
|
|
|
|
|
|
|
files:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
1999-03-06 20:32:06 +08:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
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.
|