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

« back to all changes in this revision

Viewing changes to crypto/aes/Makefile.ssl

  • 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
 
# crypto/aes/Makefile
3
 
#
4
 
 
5
 
DIR=    aes
6
 
TOP=    ../..
7
 
CC=     cc
8
 
CPP=    $(CC) -E
9
 
INCLUDES=
10
 
CFLAG=-g
11
 
INSTALL_PREFIX=
12
 
OPENSSLDIR=     /usr/local/ssl
13
 
INSTALLTOP=     /usr/local/ssl
14
 
MAKE=           make -f Makefile.ssl
15
 
MAKEDEPPROG=    makedepend
16
 
MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17
 
MAKEFILE=       Makefile.ssl
18
 
AR=             ar r
19
 
 
20
 
# CFLAGS= -mpentiumpro $(INCLUDES) $(CFLAG) -O3 -fexpensive-optimizations -funroll-loops -fforce-addr
21
 
CFLAGS= $(INCLUDES) $(CFLAG)
22
 
 
23
 
GENERAL=Makefile
24
 
#TEST=aestest.c
25
 
TEST=
26
 
APPS=
27
 
 
28
 
LIB=$(TOP)/libcrypto.a
29
 
LIBSRC=aes_core.c aes_misc.c aes_ecb.c aes_cbc.c aes_cfb.c aes_ofb.c aes_ctr.c
30
 
LIBOBJ=aes_core.o aes_misc.o aes_ecb.o aes_cbc.o aes_cfb.o aes_ofb.o aes_ctr.o
31
 
 
32
 
SRC= $(LIBSRC)
33
 
 
34
 
EXHEADER= aes.h
35
 
HEADER= aes_locl.h $(EXHEADER)
36
 
 
37
 
ALL=    $(GENERAL) $(SRC) $(HEADER)
38
 
 
39
 
top:
40
 
        (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
 
 
42
 
all:    lib
43
 
 
44
 
lib:    $(LIBOBJ)
45
 
        $(AR) $(LIB) $(LIBOBJ)
46
 
        $(RANLIB) $(LIB) || echo Never mind.
47
 
        @touch lib
48
 
 
49
 
$(LIBOBJ): $(LIBSRC)
50
 
 
51
 
files:
52
 
        $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
53
 
 
54
 
links:
55
 
        @sh $(TOP)/util/point.sh Makefile.ssl Makefile
56
 
        @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
57
 
        @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
58
 
        @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59
 
 
60
 
install: installs
61
 
 
62
 
installs:
63
 
        @for i in $(EXHEADER) ; \
64
 
        do  \
65
 
        (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
66
 
        chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
67
 
        done;
68
 
 
69
 
tags:
70
 
        ctags $(SRC)
71
 
 
72
 
tests:
73
 
 
74
 
lint:
75
 
        lint -DLINT $(INCLUDES) $(SRC)>fluff
76
 
 
77
 
depend:
78
 
        $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79
 
 
80
 
dclean:
81
 
        $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
82
 
        mv -f Makefile.new $(MAKEFILE)
83
 
 
84
 
clean:
85
 
        rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
86
 
 
87
 
# DO NOT DELETE THIS LINE -- make depend depends on it.
88
 
 
89
 
aes_cbc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
90
 
aes_cbc.o: ../../include/openssl/opensslconf.h aes_cbc.c aes_locl.h
91
 
aes_cfb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
92
 
aes_cfb.o: ../../include/openssl/opensslconf.h aes_cfb.c aes_locl.h
93
 
aes_core.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
94
 
aes_core.o: ../../include/openssl/opensslconf.h aes_core.c aes_locl.h
95
 
aes_ctr.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
96
 
aes_ctr.o: ../../include/openssl/opensslconf.h aes_ctr.c aes_locl.h
97
 
aes_ecb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
98
 
aes_ecb.o: ../../include/openssl/opensslconf.h aes_ecb.c aes_locl.h
99
 
aes_misc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
100
 
aes_misc.o: ../../include/openssl/opensslconf.h
101
 
aes_misc.o: ../../include/openssl/opensslv.h aes_locl.h aes_misc.c
102
 
aes_ofb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
103
 
aes_ofb.o: ../../include/openssl/opensslconf.h aes_locl.h aes_ofb.c