~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to fips/rsa/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041216184129-z7xjkul57mh1jiha
Tags: upstream-0.9.7e
ImportĀ upstreamĀ versionĀ 0.9.7e

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# SSLeay/fips/rsa/Makefile
 
3
#
 
4
 
 
5
DIR=    rsa
 
6
TOP=    ../..
 
7
CC=     cc
 
8
INCLUDES=
 
9
CFLAG=-g
 
10
INSTALL_PREFIX=
 
11
OPENSSLDIR=     /usr/local/ssl
 
12
INSTALLTOP=/usr/local/ssl
 
13
MAKEDEPPROG=    makedepend
 
14
MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
 
15
MAKEFILE=       Makefile
 
16
AR=             ar r
 
17
 
 
18
CFLAGS= $(INCLUDES) $(CFLAG)
 
19
 
 
20
GENERAL=Makefile
 
21
TEST=
 
22
APPS=
 
23
 
 
24
LIB=$(TOP)/libcrypto.a
 
25
LIBSRC=fips_rsa_eay.c fips_rsa_gen.c fips_rsa_selftest.c
 
26
LIBOBJ=fips_rsa_eay.o fips_rsa_gen.o fips_rsa_selftest.o
 
27
 
 
28
SRC= $(LIBSRC)
 
29
 
 
30
EXHEADER=
 
31
HEADER= $(EXHEADER)
 
32
 
 
33
ALL=    $(GENERAL) $(SRC) $(HEADER)
 
34
 
 
35
top:
 
36
        (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
 
37
 
 
38
all:    check lib
 
39
 
 
40
lib:    $(LIBOBJ)
 
41
        $(AR) $(LIB) $(LIBOBJ)
 
42
        $(RANLIB) $(LIB) || echo Never mind.
 
43
        @sleep 2; touch lib
 
44
 
 
45
check:
 
46
        TOP=`pwd`/$(TOP) ../fips_check_sha1 fingerprint.sha1 $(SRC) $(HEADER)
 
47
 
 
48
files:
 
49
        $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
 
50
 
 
51
links:
 
52
        @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
 
53
        @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
 
54
        @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
 
55
 
 
56
install:
 
57
        @if test -n "$(EXHEADER)"; then \
 
58
          for i in $(EXHEADER) ; \
 
59
          do  \
 
60
            (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
 
61
            chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
 
62
          done; \
 
63
        fi
 
64
 
 
65
tags:
 
66
        ctags $(SRC)
 
67
 
 
68
tests:
 
69
 
 
70
lint:
 
71
        lint -DLINT $(INCLUDES) $(SRC)>fluff
 
72
 
 
73
depend:
 
74
        $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
 
75
 
 
76
dclean:
 
77
        $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
 
78
        mv -f Makefile.new $(MAKEFILE)
 
79
 
 
80
clean:
 
81
        rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
 
82
# DO NOT DELETE THIS LINE -- make depend depends on it.
 
83
 
 
84
fips_rsa_eay.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
 
85
fips_rsa_eay.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
 
86
fips_rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 
87
fips_rsa_eay.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
 
88
fips_rsa_eay.o: ../../include/openssl/opensslconf.h
 
89
fips_rsa_eay.o: ../../include/openssl/opensslv.h
 
90
fips_rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
 
91
fips_rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
 
92
fips_rsa_eay.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
 
93
fips_rsa_eay.o: fips_rsa_eay.c
 
94
fips_rsa_gen.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
 
95
fips_rsa_gen.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
 
96
fips_rsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 
97
fips_rsa_gen.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
 
98
fips_rsa_gen.o: ../../include/openssl/opensslconf.h
 
99
fips_rsa_gen.o: ../../include/openssl/opensslv.h
 
100
fips_rsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rsa.h
 
101
fips_rsa_gen.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
 
102
fips_rsa_gen.o: ../../include/openssl/symhacks.h fips_rsa_gen.c
 
103
fips_rsa_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
 
104
fips_rsa_selftest.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
 
105
fips_rsa_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 
106
fips_rsa_selftest.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
 
107
fips_rsa_selftest.o: ../../include/openssl/opensslconf.h
 
108
fips_rsa_selftest.o: ../../include/openssl/opensslv.h
 
109
fips_rsa_selftest.o: ../../include/openssl/ossl_typ.h
 
110
fips_rsa_selftest.o: ../../include/openssl/rsa.h
 
111
fips_rsa_selftest.o: ../../include/openssl/safestack.h
 
112
fips_rsa_selftest.o: ../../include/openssl/stack.h
 
113
fips_rsa_selftest.o: ../../include/openssl/symhacks.h fips_rsa_selftest.c