bb8f3c5879
consistent in the source tree and replaced `/bin/rm' by `rm'. Additonally cleaned up the `make links' target: Remove unnecessary semicolons, subsequent redundant removes, inline point.sh into mklink.sh to speed processing and no longer clutter the display with confusing stuff. Instead only the actually done links are displayed.
53 lines
851 B
Text
53 lines
851 B
Text
#
|
|
# SSLeay/tools/Makefile
|
|
#
|
|
|
|
DIR= tools
|
|
TOP= ..
|
|
CC= cc
|
|
INCLUDES= -I.. -I../../include
|
|
CFLAG=-g
|
|
INSTALLTOP=/usr/local/ssl
|
|
MAKE= make -f Makefile.ssl
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile.ssl
|
|
TEST=
|
|
APPS= c_hash c_info c_issuer c_name c_rehash
|
|
|
|
all:
|
|
|
|
install:
|
|
@for i in $(APPS) ; \
|
|
do \
|
|
(cp $$i $(INSTALLTOP)/bin/$$i; \
|
|
chmod 755 $(INSTALLTOP)/bin/$$i ); \
|
|
done;
|
|
|
|
files:
|
|
perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
|
|
|
links:
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
|
|
|
lint:
|
|
|
|
tags:
|
|
|
|
errors:
|
|
|
|
depend:
|
|
|
|
dclean:
|
|
perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
clean:
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
errors:
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|