Various IA-64 assembler fix-ups.
[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.new; \
31         chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
32         mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
33         done;
34         @for i in $(MISC_APPS) ; \
35         do  \
36         (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
37         chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
38         mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
39         done;
40
41 files:
42         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
43
44 links:
45         @sh $(TOP)/util/point.sh Makefile.ssl Makefile
46
47 lint:
48
49 tags:
50
51 errors:
52
53 depend:
54
55 dclean:
56         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
57         mv -f Makefile.new $(MAKEFILE)
58
59 clean:
60         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
61
62 errors:
63
64 # DO NOT DELETE THIS LINE -- make depend depends on it.