diff options
author | tedu <> | 2014-04-15 21:04:55 +0000 |
---|---|---|
committer | tedu <> | 2014-04-15 21:04:55 +0000 |
commit | 7563eb0e0e484b160bf6f094f343b2b9a5522f18 (patch) | |
tree | 8d374150d1e622b8cdba3a7969cc9e58b538997d /src/lib/libcrypto/srp | |
parent | ffff174436807ddf0bb93a8a1415f730e7b3a342 (diff) | |
download | openbsd-7563eb0e0e484b160bf6f094f343b2b9a5522f18.tar.gz openbsd-7563eb0e0e484b160bf6f094f343b2b9a5522f18.tar.bz2 openbsd-7563eb0e0e484b160bf6f094f343b2b9a5522f18.zip |
we don't use these files for building
Diffstat (limited to 'src/lib/libcrypto/srp')
-rw-r--r-- | src/lib/libcrypto/srp/Makefile | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/src/lib/libcrypto/srp/Makefile b/src/lib/libcrypto/srp/Makefile deleted file mode 100644 index b772f37c24..0000000000 --- a/src/lib/libcrypto/srp/Makefile +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | DIR= srp | ||
2 | TOP= ../.. | ||
3 | CC= cc | ||
4 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
5 | CFLAG=-g | ||
6 | INSTALL_PREFIX= | ||
7 | OPENSSLDIR= /usr/local/ssl | ||
8 | INSTALLTOP=/usr/local/ssl | ||
9 | MAKE= make -f Makefile.ssl | ||
10 | MAKEDEPPROG= makedepend | ||
11 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
12 | MAKEFILE= Makefile.ssl | ||
13 | AR= ar r | ||
14 | |||
15 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
16 | |||
17 | GENERAL=Makefile | ||
18 | TEST=srptest.c | ||
19 | APPS= | ||
20 | |||
21 | LIB=$(TOP)/libcrypto.a | ||
22 | LIBSRC=srp_lib.c srp_vfy.c | ||
23 | LIBOBJ=srp_lib.o srp_vfy.o | ||
24 | |||
25 | SRC= $(LIBSRC) | ||
26 | |||
27 | EXHEADER= srp.h | ||
28 | HEADER= $(EXHEADER) | ||
29 | |||
30 | top: | ||
31 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
32 | |||
33 | all: lib | ||
34 | |||
35 | lib: $(LIBOBJ) | ||
36 | $(AR) $(LIB) $(LIBOBJ) | ||
37 | $(RANLIB) $(LIB) || echo Never mind. | ||
38 | @touch lib | ||
39 | |||
40 | links: | ||
41 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
42 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
43 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
44 | |||
45 | install: | ||
46 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | ||
47 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
48 | do \ | ||
49 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
50 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
51 | done; | ||
52 | |||
53 | tags: | ||
54 | ctags $(SRC) | ||
55 | |||
56 | tests: | ||
57 | |||
58 | srptest: top srptest.c $(LIB) | ||
59 | $(CC) $(CFLAGS) -Wall -Werror -g -o srptest srptest.c $(LIB) | ||
60 | |||
61 | lint: | ||
62 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
63 | |||
64 | depend: | ||
65 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
66 | |||
67 | dclean: | ||
68 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
69 | mv -f Makefile.new $(MAKEFILE) | ||
70 | |||
71 | clean: | ||
72 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
73 | |||
74 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||