summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/idea
diff options
context:
space:
mode:
authormarkus <>2002-09-05 12:51:51 +0000
committermarkus <>2002-09-05 12:51:51 +0000
commitf3e848761b58c1645ce3b150d17770e528f39556 (patch)
tree88a70dc7c35100da165c0ff4f7182805f3d85b76 /src/lib/libcrypto/idea
parent2f5692b12332315048054bcce20e370985e19970 (diff)
downloadopenbsd-f3e848761b58c1645ce3b150d17770e528f39556.tar.gz
openbsd-f3e848761b58c1645ce3b150d17770e528f39556.tar.bz2
openbsd-f3e848761b58c1645ce3b150d17770e528f39556.zip
import openssl-0.9.7-beta1
Diffstat (limited to 'src/lib/libcrypto/idea')
-rw-r--r--src/lib/libcrypto/idea/Makefile.ssl41
1 files changed, 26 insertions, 15 deletions
diff --git a/src/lib/libcrypto/idea/Makefile.ssl b/src/lib/libcrypto/idea/Makefile.ssl
index 41b42ce03b..a3ac920371 100644
--- a/src/lib/libcrypto/idea/Makefile.ssl
+++ b/src/lib/libcrypto/idea/Makefile.ssl
@@ -7,9 +7,12 @@ TOP= ../..
7CC= cc 7CC= cc
8INCLUDES= 8INCLUDES=
9CFLAG=-g 9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
10INSTALLTOP=/usr/local/ssl 12INSTALLTOP=/usr/local/ssl
11MAKE= make -f Makefile.ssl 13MAKE= make -f Makefile.ssl
12MAKEDEPEND= makedepend -f Makefile.ssl 14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
13MAKEFILE= Makefile.ssl 16MAKEFILE= Makefile.ssl
14AR= ar r 17AR= ar r
15 18
@@ -37,24 +40,23 @@ all: lib
37 40
38lib: $(LIBOBJ) 41lib: $(LIBOBJ)
39 $(AR) $(LIB) $(LIBOBJ) 42 $(AR) $(LIB) $(LIBOBJ)
40 sh $(TOP)/util/ranlib.sh $(LIB) 43 $(RANLIB) $(LIB) || echo Never mind.
41 @touch lib 44 @touch lib
42 45
43files: 46files:
44 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO 47 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45 48
46links: 49links:
47 /bin/rm -f Makefile 50 @$(TOP)/util/point.sh Makefile.ssl Makefile
48 $(TOP)/util/point.sh Makefile.ssl Makefile ; 51 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
49 $(TOP)/util/mklink.sh ../../include $(EXHEADER) 52 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
50 $(TOP)/util/mklink.sh ../../test $(TEST) 53 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
51 $(TOP)/util/mklink.sh ../../apps $(APPS)
52 54
53install: 55install:
54 @for i in $(EXHEADER) ; \ 56 @for i in $(EXHEADER) ; \
55 do \ 57 do \
56 (cp $$i $(INSTALLTOP)/include/$$i; \ 58 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
57 chmod 644 $(INSTALLTOP)/include/$$i ); \ 59 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
58 done; 60 done;
59 61
60tags: 62tags:
@@ -66,15 +68,24 @@ lint:
66 lint -DLINT $(INCLUDES) $(SRC)>fluff 68 lint -DLINT $(INCLUDES) $(SRC)>fluff
67 69
68depend: 70depend:
69 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
70 72
71dclean: 73dclean:
72 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 74 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE) 75 mv -f Makefile.new $(MAKEFILE)
74 76
75clean: 77clean:
76 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 78 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78errors:
79 79
80# DO NOT DELETE THIS LINE -- make depend depends on it. 80# DO NOT DELETE THIS LINE -- make depend depends on it.
81
82i_cbc.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
83i_cbc.o: i_cbc.c idea_lcl.h
84i_cfb64.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
85i_cfb64.o: i_cfb64.c idea_lcl.h
86i_ecb.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
87i_ecb.o: ../../include/openssl/opensslv.h i_ecb.c idea_lcl.h
88i_ofb64.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
89i_ofb64.o: i_ofb64.c idea_lcl.h
90i_skey.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h
91i_skey.o: i_skey.c idea_lcl.h