23e767c841efd5b0f0084b83d91b12820511ffa0
[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_hash c_info c_issuer c_name c_rehash
20
21 all:
22
23 install:
24         @for i in $(APPS) ; \
25         do  \
26         (cp $$i $(INSTALLTOP)/bin/$$i; \
27         chmod 755 $(INSTALLTOP)/bin/$$i ); \
28         done;
29
30 files:
31         perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
32
33 links:
34         @$(TOP)/util/point.sh Makefile.ssl Makefile
35
36 lint:
37
38 tags:
39
40 errors:
41
42 depend:
43
44 dclean:
45         perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
46         mv -f Makefile.new $(MAKEFILE)
47
48 clean:
49         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
50
51 errors:
52
53 # DO NOT DELETE THIS LINE -- make depend depends on it.