]> git.ipfire.org Git - thirdparty/openssl.git/blame - tools/Makefile.ssl
Constify
[thirdparty/openssl.git] / tools / Makefile.ssl
CommitLineData
d02b48c6
RE
1#
2# SSLeay/tools/Makefile
3#
4
5DIR= tools
6TOP= ..
7CC= cc
41d2a336 8INCLUDES= -I$(TOP) -I../../include
d02b48c6 9CFLAG=-g
e5f3045f
BM
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
d02b48c6
RE
12INSTALLTOP=/usr/local/ssl
13MAKE= make -f Makefile.ssl
cf1b7d96
RL
14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
d02b48c6
RE
16MAKEFILE= Makefile.ssl
17
18CFLAGS= $(INCLUDES) $(CFLAG)
19
20GENERAL=Makefile.ssl
21TEST=
ddeee82c
BM
22APPS= c_rehash
23MISC_APPS= c_hash c_info c_issuer c_name
d02b48c6
RE
24
25all:
26
27install:
28 @for i in $(APPS) ; \
29 do \
30c08f2e
RL
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 ); \
cc98d9b6 33 done;
ddeee82c
BM
34 @for i in $(MISC_APPS) ; \
35 do \
30c08f2e
RL
36 (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
37 chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
49e42a1f 38 mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
d02b48c6
RE
39 done;
40
41files:
99aab161 42 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
d02b48c6
RE
43
44links:
bb8f3c58 45 @$(TOP)/util/point.sh Makefile.ssl Makefile
d02b48c6
RE
46
47lint:
48
49tags:
50
51errors:
52
53depend:
54
55dclean:
99aab161 56 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
57 mv -f Makefile.new $(MAKEFILE)
58
59clean:
bb8f3c58 60 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6
RE
61
62errors:
63
64# DO NOT DELETE THIS LINE -- make depend depends on it.