OpenSSL: update to 1.0.2c
[tomato.git] / release / src / router / openssl / crypto / seed / Makefile
blob70d3d45a2be816536825f3dfe0f88648927de575
2 # crypto/seed/Makefile
5 DIR= seed
6 TOP= ../..
7 CC= cc
8 CPP= $(CC) -E
9 INCLUDES=
10 CFLAG=-g
11 MAKEFILE= Makefile
12 AR= ar r
14 CFLAGS= $(INCLUDES) $(CFLAG)
16 GENERAL=Makefile
17 TEST=
18 APPS=
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
24 SRC= $(LIBSRC)
26 EXHEADER= seed.h
27 HEADER= seed_locl.h $(EXHEADER)
29 ALL= $(GENERAL) $(SRC) $(HEADER)
31 top:
32 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34 all: lib
36 lib: $(LIBOBJ)
37 $(AR) $(LIB) $(LIBOBJ)
38 $(RANLIB) $(LIB) || echo Never mind.
39 @touch lib
41 files:
42 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
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)
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;
57 tags:
58 ctags $(SRC)
60 tests:
62 lint:
63 lint -DLINT $(INCLUDES) $(SRC)>fluff
65 update: depend
67 depend:
68 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
69 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71 dclean:
72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
75 clean:
76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
80 seed.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
81 seed.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
82 seed.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
83 seed.o: ../../include/openssl/seed.h ../../include/openssl/stack.h
84 seed.o: ../../include/openssl/symhacks.h seed.c seed_locl.h
85 seed_cbc.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
86 seed_cbc.o: ../../include/openssl/modes.h ../../include/openssl/opensslconf.h
87 seed_cbc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
88 seed_cbc.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
89 seed_cbc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
90 seed_cbc.o: seed_cbc.c
91 seed_cfb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
92 seed_cfb.o: ../../include/openssl/modes.h ../../include/openssl/opensslconf.h
93 seed_cfb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
94 seed_cfb.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
95 seed_cfb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
96 seed_cfb.o: seed_cfb.c
97 seed_ecb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
98 seed_ecb.o: ../../include/openssl/opensslconf.h
99 seed_ecb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
100 seed_ecb.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
101 seed_ecb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
102 seed_ecb.o: seed_ecb.c
103 seed_ofb.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
104 seed_ofb.o: ../../include/openssl/modes.h ../../include/openssl/opensslconf.h
105 seed_ofb.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
106 seed_ofb.o: ../../include/openssl/safestack.h ../../include/openssl/seed.h
107 seed_ofb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
108 seed_ofb.o: seed_ofb.c