]> git.ipfire.org Git - thirdparty/openssl.git/blame - tools/Makefile
Return error when trying to print invalid ASN1 integer
[thirdparty/openssl.git] / tools / Makefile
CommitLineData
d02b48c6 1#
15ac9716 2# OpenSSL/tools/Makefile
d02b48c6
RE
3#
4
5DIR= tools
6TOP= ..
7CC= cc
41d2a336 8INCLUDES= -I$(TOP) -I../../include
d02b48c6 9CFLAG=-g
42ba5d23 10MAKEFILE= Makefile
d02b48c6
RE
11
12CFLAGS= $(INCLUDES) $(CFLAG)
13
42ba5d23 14GENERAL=Makefile
d02b48c6 15TEST=
ddeee82c
BM
16APPS= c_rehash
17MISC_APPS= c_hash c_info c_issuer c_name
d02b48c6
RE
18
19all:
20
21install:
81a86fcf 22 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
d02b48c6
RE
23 @for i in $(APPS) ; \
24 do \
30c08f2e
RL
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 ); \
cc98d9b6 28 done;
ddeee82c
BM
29 @for i in $(MISC_APPS) ; \
30 do \
30c08f2e
RL
31 (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
32 chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
49e42a1f 33 mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
d02b48c6
RE
34 done;
35
36files:
42ba5d23 37 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
d02b48c6
RE
38
39links:
d02b48c6
RE
40
41lint:
42
43tags:
44
45errors:
46
eb797fde
RL
47update: depend
48
d02b48c6
RE
49depend:
50
51dclean:
99aab161 52 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6 53 mv -f Makefile.new $(MAKEFILE)
95553390 54 rm -f c_rehash
d02b48c6
RE
55
56clean:
bb8f3c58 57 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6
RE
58
59errors:
60
61# DO NOT DELETE THIS LINE -- make depend depends on it.