summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes
diff options
context:
space:
mode:
authortedu <>2014-04-15 21:04:55 +0000
committertedu <>2014-04-15 21:04:55 +0000
commit7563eb0e0e484b160bf6f094f343b2b9a5522f18 (patch)
tree8d374150d1e622b8cdba3a7969cc9e58b538997d /src/lib/libcrypto/modes
parentffff174436807ddf0bb93a8a1415f730e7b3a342 (diff)
downloadopenbsd-7563eb0e0e484b160bf6f094f343b2b9a5522f18.tar.gz
openbsd-7563eb0e0e484b160bf6f094f343b2b9a5522f18.tar.bz2
openbsd-7563eb0e0e484b160bf6f094f343b2b9a5522f18.zip
we don't use these files for building
Diffstat (limited to 'src/lib/libcrypto/modes')
-rw-r--r--src/lib/libcrypto/modes/Makefile100
1 files changed, 0 insertions, 100 deletions
diff --git a/src/lib/libcrypto/modes/Makefile b/src/lib/libcrypto/modes/Makefile
deleted file mode 100644
index 1db42a6afb..0000000000
--- a/src/lib/libcrypto/modes/Makefile
+++ /dev/null
@@ -1,100 +0,0 @@
1#
2# OpenSSL/crypto/modes/Makefile
3#
4
5DIR= modes
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g
10MAKEFILE= Makefile
11AR= ar r
12
13MODES_ASM_OBJ=
14
15CFLAGS= $(INCLUDES) $(CFLAG)
16ASFLAGS= $(INCLUDES) $(ASFLAG)
17AFLAGS= $(ASFLAGS)
18
19GENERAL=Makefile
20TEST=
21APPS=
22
23LIB=$(TOP)/libcrypto.a
24LIBSRC= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \
25 ccm128.c xts128.c
26LIBOBJ= cbc128.o ctr128.o cts128.o cfb128.o ofb128.o gcm128.o \
27 ccm128.o xts128.o $(MODES_ASM_OBJ)
28
29SRC= $(LIBSRC)
30
31#EXHEADER= store.h str_compat.h
32EXHEADER= modes.h
33HEADER= modes_lcl.h $(EXHEADER)
34
35ALL= $(GENERAL) $(SRC) $(HEADER)
36
37top:
38 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40all: lib
41
42lib: $(LIBOBJ)
43 $(AR) $(LIB) $(LIBOBJ)
44 $(RANLIB) $(LIB) || echo Never mind.
45 @touch lib
46
47ghash-ia64.s: asm/ghash-ia64.pl
48 $(PERL) asm/ghash-ia64.pl $@ $(CFLAGS)
49ghash-x86.s: asm/ghash-x86.pl
50 $(PERL) asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
51ghash-x86_64.s: asm/ghash-x86_64.pl
52 $(PERL) asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@
53ghash-sparcv9.s: asm/ghash-sparcv9.pl
54 $(PERL) asm/ghash-sparcv9.pl $@ $(CFLAGS)
55ghash-alpha.s: asm/ghash-alpha.pl
56 $(PERL) $< | $(CC) -E - | tee $@ > /dev/null
57ghash-parisc.s: asm/ghash-parisc.pl
58 $(PERL) asm/ghash-parisc.pl $(PERLASM_SCHEME) $@
59
60# GNU make "catch all"
61ghash-%.S: asm/ghash-%.pl; $(PERL) $< $(PERLASM_SCHEME) $@
62
63ghash-armv4.o: ghash-armv4.S
64
65files:
66 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
67
68links:
69 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
70 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
71 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
72
73install:
74 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
75 @headerlist="$(EXHEADER)"; for i in $$headerlist; \
76 do \
77 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
78 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
79 done;
80
81tags:
82 ctags $(SRC)
83
84tests:
85
86lint:
87 lint -DLINT $(INCLUDES) $(SRC)>fluff
88
89depend:
90 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
91 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
92
93dclean:
94 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
95 mv -f Makefile.new $(MAKEFILE)
96
97clean:
98 rm -f *.s *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
99
100# DO NOT DELETE THIS LINE -- make depend depends on it.