Oh, there were *two* places where we needed to protect the file
[openssl.git] / tools / Makefile.ssl
1 #
2 # SSLeay/tools/Makefile
3 #
4
5 DIR=    tools
6 TOP=    ..
7 CC=     cc
8 INCLUDES= -I$(TOP) -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17
18 CFLAGS= $(INCLUDES) $(CFLAG)
19
20 GENERAL=Makefile.ssl
21 TEST=
22 APPS= c_rehash
23 MISC_APPS= c_hash c_info c_issuer c_name
24
25 all:
26
27 install:
28         @for i in $(APPS) ; \
29         do  \
30         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
31         chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
32         done;
33         @for i in $(MISC_APPS) ; \
34         do  \
35         (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
36         chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
37         done;
38
39 files:
40         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
41
42 links:
43         @$(TOP)/util/point.sh Makefile.ssl Makefile
44
45 lint:
46
47 tags:
48
49 errors:
50
51 depend:
52
53 dclean:
54         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
55         mv -f Makefile.new $(MAKEFILE)
56
57 clean:
58         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
59
60 errors:
61
62 # DO NOT DELETE THIS LINE -- make depend depends on it.