Add flag to inhibit checking for alternate certificate chains. Setting this
[openssl.git] / tools / Makefile
1 #
2 # OpenSSL/tools/Makefile
3 #
4
5 DIR=    tools
6 TOP=    ..
7 CC=     cc
8 INCLUDES= -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11
12 CFLAGS= $(INCLUDES) $(CFLAG)
13
14 GENERAL=Makefile
15 TEST=
16 APPS= c_rehash
17 MISC_APPS= c_hash c_info c_issuer c_name
18
19 all:
20
21 install:
22         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
23         @for i in $(APPS) ; \
24         do  \
25         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
26         chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
27         mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
28         done;
29         @for i in $(MISC_APPS) ; \
30         do  \
31         (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
32         chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
33         mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
34         done;
35
36 uninstall:
37         @for i in $(APPS) ; \
38         do  \
39                 echo $(RM) $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
40                 $(RM) $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
41         done;
42         @for i in $(MISC_APPS) ; \
43         do  \
44                 echo $(RM) $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
45                 $(RM) $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
46         done;
47
48 files:
49         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
50
51 links:
52
53 lint:
54
55 tags:
56
57 errors:
58
59 depend:
60
61 dclean:
62         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
63         mv -f Makefile.new $(MAKEFILE)
64
65 clean:
66         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
67
68 errors:
69
70 # DO NOT DELETE THIS LINE -- make depend depends on it.