2 # crypto/camellia/Makefile
14 CMLL_ENC= camellia.o cmll_misc.o cmll_cbc.o
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=camellia.c cmll_misc.c cmll_ecb.c cmll_cbc.c cmll_ofb.c \
26 LIBOBJ= cmll_ecb.o cmll_ofb.o cmll_cfb.o cmll_ctr.o $(CMLL_ENC)
32 ALL= $(GENERAL) $(SRC) $(HEADER)
35 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
40 $(AR) $(LIB) $(LIBOBJ)
41 $(RANLIB) $(LIB) || echo Never mind.
44 cmll-x86.s: asm/cmll-x86.pl ../perlasm/x86asm.pl
45 $(PERL) asm/cmll-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
46 cmll-x86_64.s: asm/cmll-x86_64.pl
47 $(PERL) asm/cmll-x86_64.pl $(PERLASM_SCHEME) > $@
48 cmllt4-sparcv9.s: asm/cmllt4-sparcv9.pl ../perlasm/sparcv9_modes.pl
49 $(PERL) asm/cmllt4-sparcv9.pl $(CFLAGS) > $@
52 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
60 lint -DLINT $(INCLUDES) $(SRC)>fluff
63 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
64 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
67 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
68 mv -f Makefile.new $(MAKEFILE)
71 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
73 # DO NOT DELETE THIS LINE -- make depend depends on it.
75 camellia.o: ../../include/openssl/camellia.h
76 camellia.o: ../../include/openssl/opensslconf.h camellia.c cmll_locl.h
77 cmll_cbc.o: ../../include/openssl/camellia.h ../../include/openssl/modes.h
78 cmll_cbc.o: ../../include/openssl/opensslconf.h cmll_cbc.c
79 cmll_cfb.o: ../../include/openssl/camellia.h ../../include/openssl/modes.h
80 cmll_cfb.o: ../../include/openssl/opensslconf.h cmll_cfb.c
81 cmll_ctr.o: ../../include/openssl/camellia.h ../../include/openssl/modes.h
82 cmll_ctr.o: ../../include/openssl/opensslconf.h cmll_ctr.c
83 cmll_ecb.o: ../../include/openssl/camellia.h
84 cmll_ecb.o: ../../include/openssl/opensslconf.h cmll_ecb.c cmll_locl.h
85 cmll_misc.o: ../../include/openssl/camellia.h
86 cmll_misc.o: ../../include/openssl/opensslconf.h
87 cmll_misc.o: ../../include/openssl/opensslv.h cmll_locl.h cmll_misc.c
88 cmll_ofb.o: ../../include/openssl/camellia.h ../../include/openssl/modes.h
89 cmll_ofb.o: ../../include/openssl/opensslconf.h cmll_ofb.c