"Andrew W. Gray" <agray@iconsinc.com> says /GD is no longer a valid
[openssl.git] / tools / Makefile.ssl
1 #
2 # SSLeay/tools/Makefile
3 #
4
5 DIR=    tools
6 TOP=    ..
7 CC=     cc
8 INCLUDES= -I.. -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 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
15 MAKEFILE=       Makefile.ssl
16
17 CFLAGS= $(INCLUDES) $(CFLAG)
18
19 GENERAL=Makefile.ssl
20 TEST=
21 APPS= c_rehash
22 MISC_APPS= c_hash c_info c_issuer c_name
23
24 all:
25
26 install:
27         @for i in $(APPS) ; \
28         do  \
29         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
30         chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
31         done;
32         @for i in $(MISC_APPS) ; \
33         do  \
34         (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
35         chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
36         done;
37
38 files:
39         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
40
41 links:
42         @$(TOP)/util/point.sh Makefile.ssl Makefile
43
44 lint:
45
46 tags:
47
48 errors:
49
50 depend:
51
52 dclean:
53         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
54         mv -f Makefile.new $(MAKEFILE)
55
56 clean:
57         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
58
59 errors:
60
61 # DO NOT DELETE THIS LINE -- make depend depends on it.