]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/idea/Makefile.ssl
Make all configuration macros available for application by making
[thirdparty/openssl.git] / crypto / idea / Makefile.ssl
CommitLineData
d02b48c6
RE
1#
2# SSLeay/crypto/idea/Makefile
3#
4
5DIR= idea
6TOP= ../..
7CC= cc
8INCLUDES=
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
17AR= ar r
18
19CFLAGS= $(INCLUDES) $(CFLAG)
20
21GENERAL=Makefile
22TEST=ideatest.c
23APPS=
24
25LIB=$(TOP)/libcrypto.a
26LIBSRC=i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c
27LIBOBJ=i_cbc.o i_cfb64.o i_ofb64.o i_ecb.o i_skey.o
28
29SRC= $(LIBSRC)
30
31EXHEADER= idea.h
32HEADER= idea_lcl.h $(EXHEADER)
33
34ALL= $(GENERAL) $(SRC) $(HEADER)
35
36top:
37 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38
39all: lib
40
41lib: $(LIBOBJ)
42 $(AR) $(LIB) $(LIBOBJ)
4e20a4e6
RL
43 @echo You may get an error following this line. Please ignore.
44 - $(RANLIB) $(LIB)
d02b48c6
RE
45 @touch lib
46
47files:
99aab161 48 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
d02b48c6
RE
49
50links:
bb8f3c58 51 @$(TOP)/util/point.sh Makefile.ssl Makefile
1314c344
BM
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
d02b48c6
RE
55
56install:
57 @for i in $(EXHEADER) ; \
58 do \
e5f3045f
BM
59 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
d02b48c6
RE
61 done;
62
63tags:
64 ctags $(SRC)
65
66tests:
67
68lint:
69 lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71depend:
f5d7a031 72 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
d02b48c6
RE
73
74dclean:
99aab161 75 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
76 mv -f Makefile.new $(MAKEFILE)
77
78clean:
bb8f3c58 79 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6 80
d02b48c6 81# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 82
bf57da07 83i_cbc.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
cf1b7d96 84i_cbc.o: i_cbc.c idea_lcl.h
bf57da07 85i_cfb64.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
cf1b7d96 86i_cfb64.o: i_cfb64.c idea_lcl.h
bf57da07 87i_ecb.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
cf1b7d96 88i_ecb.o: ../../include/openssl/opensslv.h i_ecb.c idea_lcl.h
bf57da07 89i_ofb64.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
cf1b7d96 90i_ofb64.o: i_ofb64.c idea_lcl.h
bf57da07 91i_skey.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
cf1b7d96 92i_skey.o: i_skey.c idea_lcl.h