2 # OpenSSL/crypto/rc4/Makefile
13 RC4_ENC
=rc4_enc.o rc4_skey.o
15 CFLAGS
= $(INCLUDES
) $(CFLAG
)
16 ASFLAGS
= $(INCLUDES
) $(ASFLAG
)
23 LIB
=$(TOP
)/libcrypto.a
24 LIBSRC
=rc4_skey.c rc4_enc.c rc4_utl.c
25 LIBOBJ
=$(RC4_ENC
) rc4_utl.o
30 HEADER
= $(EXHEADER
) rc4_locl.h
32 ALL
= $(GENERAL
) $(SRC
) $(HEADER
)
35 (cd ..
/..
; $(MAKE
) DIRS
=crypto SDIRS
=$(DIR
) sub_all
)
40 $(AR
) $(LIB
) $(LIBOBJ
)
41 $(RANLIB
) $(LIB
) || echo Never mind.
44 rc4-586.s
: asm
/rc4-586.pl ..
/perlasm
/x86asm.pl
45 $(PERL
) asm
/rc4-586.pl
$(PERLASM_SCHEME
) $(CFLAGS
) > $@
47 rc4-x86_64.s
: asm
/rc4-x86_64.pl
48 $(PERL
) asm
/rc4-x86_64.pl
$(PERLASM_SCHEME
) > $@
49 rc4-md5-x86_64.s
: asm
/rc4-md5-x86_64.pl
50 $(PERL
) asm
/rc4-md5-x86_64.pl
$(PERLASM_SCHEME
) > $@
52 rc4-ia64.S
: asm
/rc4-ia64.pl
53 $(PERL
) asm
/rc4-ia64.pl
$(CFLAGS
) > $@
55 rc4-parisc.s
: asm
/rc4-parisc.pl
56 $(PERL
) asm
/rc4-parisc.pl
$(PERLASM_SCHEME
) $@
58 rc4-ia64.s
: rc4-ia64.S
59 @case
`awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \
60 int
) set
-x
; $(CC
) $(CFLAGS
) -DSZ
=4 -E rc4-ia64.S
> $@
;; \
61 char
) set
-x
; $(CC
) $(CFLAGS
) -DSZ
=1 -E rc4-ia64.S
> $@
;; \
65 # GNU make "catch all"
66 rc4-
%.s
: asm
/rc4-
%.pl
; $(PERL
) $< $(PERLASM_SCHEME
) $@
69 $(PERL
) $(TOP
)/util
/files.pl Makefile
>> $(TOP
)/MINFO
72 @
$(PERL
) $(TOP
)/util
/mklink.pl ..
/..
/include/openssl
$(EXHEADER
)
73 @
$(PERL
) $(TOP
)/util
/mklink.pl ..
/..
/test $(TEST
)
74 @
$(PERL
) $(TOP
)/util
/mklink.pl ..
/..
/apps
$(APPS
)
77 @
[ -n
"$(INSTALLTOP)" ] # should be set by top Makefile...
78 @headerlist
="$(EXHEADER)"; for i in
$$headerlist ; \
80 (cp
$$i $(INSTALL_PREFIX
)$(INSTALLTOP
)/include/openssl
/$$i; \
81 chmod
644 $(INSTALL_PREFIX
)$(INSTALLTOP
)/include/openssl
/$$i ); \
90 lint
-DLINT
$(INCLUDES
) $(SRC
)>fluff
93 @
[ -n
"$(MAKEDEPEND)" ] # should be set by upper Makefile...
94 $(MAKEDEPEND
) -- $(CFLAG
) $(INCLUDES
) $(DEPFLAG
) -- $(PROGS
) $(LIBSRC
)
97 $(PERL
) -pe
'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE
) >Makefile.new
98 mv
-f Makefile.new
$(MAKEFILE
)
101 rm -f
*.s
*.o
*.obj lib
tags core .pure .nfs
* *.old
*.bak fluff
103 # DO NOT DELETE THIS LINE -- make depend depends on it.
105 rc4_enc.o
: ..
/..
/e_os.h ..
/..
/include/openssl
/bio.h
106 rc4_enc.o
: ..
/..
/include/openssl
/buffer.h ..
/..
/include/openssl
/crypto.h
107 rc4_enc.o
: ..
/..
/include/openssl
/e_os2.h ..
/..
/include/openssl
/err.h
108 rc4_enc.o
: ..
/..
/include/openssl
/lhash.h ..
/..
/include/openssl
/opensslconf.h
109 rc4_enc.o
: ..
/..
/include/openssl
/opensslv.h ..
/..
/include/openssl
/ossl_typ.h
110 rc4_enc.o
: ..
/..
/include/openssl
/rc4.h ..
/..
/include/openssl
/safestack.h
111 rc4_enc.o
: ..
/..
/include/openssl
/stack.h ..
/..
/include/openssl
/symhacks.h
112 rc4_enc.o
: ..
/cryptlib.h rc4_enc.c rc4_locl.h
113 rc4_skey.o
: ..
/..
/e_os.h ..
/..
/include/openssl
/bio.h
114 rc4_skey.o
: ..
/..
/include/openssl
/buffer.h ..
/..
/include/openssl
/crypto.h
115 rc4_skey.o
: ..
/..
/include/openssl
/e_os2.h ..
/..
/include/openssl
/err.h
116 rc4_skey.o
: ..
/..
/include/openssl
/lhash.h ..
/..
/include/openssl
/opensslconf.h
117 rc4_skey.o
: ..
/..
/include/openssl
/opensslv.h ..
/..
/include/openssl
/ossl_typ.h
118 rc4_skey.o
: ..
/..
/include/openssl
/rc4.h ..
/..
/include/openssl
/safestack.h
119 rc4_skey.o
: ..
/..
/include/openssl
/stack.h ..
/..
/include/openssl
/symhacks.h
120 rc4_skey.o
: ..
/cryptlib.h rc4_locl.h rc4_skey.c
121 rc4_utl.o
: ..
/..
/include/openssl
/crypto.h ..
/..
/include/openssl
/e_os2.h
122 rc4_utl.o
: ..
/..
/include/openssl
/opensslconf.h ..
/..
/include/openssl
/opensslv.h
123 rc4_utl.o
: ..
/..
/include/openssl
/ossl_typ.h ..
/..
/include/openssl
/rc4.h
124 rc4_utl.o
: ..
/..
/include/openssl
/safestack.h ..
/..
/include/openssl
/stack.h
125 rc4_utl.o
: ..
/..
/include/openssl
/symhacks.h rc4_utl.c