959d752c9f341a94346883be055d8de66e4c48da
[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 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14
15 CFLAGS= $(INCLUDES) $(CFLAG)
16
17 GENERAL=Makefile.ssl
18 TEST=
19 APPS= c_rehash
20 MISC_APPS= c_hash c_info c_issuer c_name
21
22 all:
23
24 install:
25         @for i in $(APPS) ; \
26         do  \
27         (cp $$i $(INSTALLTOP)/bin/$$i; \
28         chmod 755 $(INSTALLTOP)/bin/$$i ); \
29         @for i in $(MISC_APPS) ; \
30         do  \
31         (cp $$i $(OPENSSLTOP)/misc/$$i; \
32         chmod 755 $(OPENSSLTOP)/misc/$$i ); \
33         done;
34
35 files:
36         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
37
38 links:
39         @$(TOP)/util/point.sh Makefile.ssl Makefile
40
41 lint:
42
43 tags:
44
45 errors:
46
47 depend:
48
49 dclean:
50         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
51         mv -f Makefile.new $(MAKEFILE)
52
53 clean:
54         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
55
56 errors:
57
58 # DO NOT DELETE THIS LINE -- make depend depends on it.