]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | # |
2 | # SSLeay/tools/Makefile | |
3 | # | |
4 | ||
5 | DIR= tools | |
6 | TOP= .. | |
7 | CC= cc | |
41d2a336 | 8 | INCLUDES= -I$(TOP) -I../../include |
d02b48c6 | 9 | CFLAG=-g |
e5f3045f BM |
10 | INSTALL_PREFIX= |
11 | OPENSSLDIR= /usr/local/ssl | |
d02b48c6 RE |
12 | INSTALLTOP=/usr/local/ssl |
13 | MAKE= make -f Makefile.ssl | |
cf1b7d96 RL |
14 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | |
d02b48c6 RE |
16 | MAKEFILE= Makefile.ssl |
17 | ||
18 | CFLAGS= $(INCLUDES) $(CFLAG) | |
19 | ||
20 | GENERAL=Makefile.ssl | |
21 | TEST= | |
ddeee82c BM |
22 | APPS= c_rehash |
23 | MISC_APPS= c_hash c_info c_issuer c_name | |
d02b48c6 RE |
24 | |
25 | all: | |
26 | ||
27 | install: | |
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 | ||
41 | files: | |
99aab161 | 42 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
d02b48c6 RE |
43 | |
44 | links: | |
bb8f3c58 | 45 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
d02b48c6 RE |
46 | |
47 | lint: | |
48 | ||
49 | tags: | |
50 | ||
51 | errors: | |
52 | ||
53 | depend: | |
54 | ||
55 | dclean: | |
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 | ||
59 | clean: | |
bb8f3c58 | 60 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 RE |
61 | |
62 | errors: | |
63 | ||
64 | # DO NOT DELETE THIS LINE -- make depend depends on it. |