]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/seed/Makefile
e0a9b8e8f6c0ba26a5d1d525a10a830a861f54e1
[thirdparty/openssl.git] / crypto / seed / Makefile
1 #
2 # crypto/seed/Makefile
3 #
4
5 DIR= seed
6 TOP= ../..
7 CC= cc
8 CPP= $(CC) -E
9 INCLUDES=
10 CFLAG=-g
11 MAKEFILE= Makefile
12 AR= ar r
13
14 CFLAGS= $(INCLUDES) $(CFLAG)
15
16 GENERAL=Makefile
17 TEST=
18 APPS=
19
20 LIB=$(TOP)/libcrypto.a
21 LIBSRC=seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
22 LIBOBJ=seed.o seed_ecb.o seed_cbc.o seed_cfb.o seed_ofb.o
23
24 SRC= $(LIBSRC)
25
26 EXHEADER= seed.h
27 HEADER= seed_locl.h $(EXHEADER)
28
29 ALL= $(GENERAL) $(SRC) $(HEADER)
30
31 top:
32 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
33
34 all: lib
35
36 lib: $(LIBOBJ)
37 $(ARX) $(LIB) $(LIBOBJ)
38 $(RANLIB) $(LIB) || echo Never mind.
39 @touch lib
40
41 files:
42 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
43
44 links:
45 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
46 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
47 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
48
49 install:
50 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
51 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
52 do \
53 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
54 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
55 done;
56
57 tags:
58 ctags $(SRC)
59
60 tests:
61
62 lint:
63 lint -DLINT $(INCLUDES) $(SRC)>fluff
64
65 depend:
66 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
67 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
68
69 dclean:
70 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
71 mv -f Makefile.new $(MAKEFILE)
72
73 clean:
74 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
75
76 # DO NOT DELETE THIS LINE -- make depend depends on it.
77
78 seed.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
79 seed.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
80 seed.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
81 seed.o: ../../include/openssl/seed.h ../../include/openssl/stack.h
82 seed.o: ../../include/openssl/symhacks.h seed.c seed_locl.h
83 seed_cbc.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
84 seed_cbc.o: ../../include/openssl/modes.h ../../include/openssl/opensslconf.h
85 seed_cbc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
86 seed_cbc.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
87 seed_cbc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
88 seed_cbc.o: seed_cbc.c
89 seed_cfb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
90 seed_cfb.o: ../../include/openssl/modes.h ../../include/openssl/opensslconf.h
91 seed_cfb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
92 seed_cfb.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
93 seed_cfb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
94 seed_cfb.o: seed_cfb.c
95 seed_ecb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
96 seed_ecb.o: ../../include/openssl/opensslconf.h
97 seed_ecb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
98 seed_ecb.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
99 seed_ecb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
100 seed_ecb.o: seed_ecb.c
101 seed_ofb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
102 seed_ofb.o: ../../include/openssl/modes.h ../../include/openssl/opensslconf.h
103 seed_ofb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
104 seed_ofb.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
105 seed_ofb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
106 seed_ofb.o: seed_ofb.c