2 # crypto/camellia/Makefile
14 CMLL_ENC= camellia.o cmll_misc.o cmll_cbc.o
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC=camellia.c cmll_misc.c cmll_ecb.c cmll_cbc.c cmll_ofb.c \
28 LIBOBJ= cmll_ecb.o cmll_ofb.o cmll_cfb.o cmll_ctr.o $(CMLL_ENC)
33 HEADER= cmll_locl.h $(EXHEADER)
35 ALL= $(GENERAL) $(SRC) $(HEADER)
38 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
43 $(AR) $(LIB) $(LIBOBJ)
44 $(RANLIB) $(LIB) || echo Never mind.
51 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
54 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
60 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
62 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
63 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
72 lint -DLINT $(INCLUDES) $(SRC)>fluff
75 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
76 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80 mv -f Makefile.new $(MAKEFILE)
83 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
87 camellia.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
88 camellia.o: camellia.c camellia.h cmll_locl.h
89 cmll_cbc.o: ../../include/openssl/camellia.h ../../include/openssl/e_os2.h
90 cmll_cbc.o: ../../include/openssl/opensslconf.h cmll_cbc.c cmll_locl.h
91 cmll_cfb.o: ../../e_os.h ../../include/openssl/camellia.h
92 cmll_cfb.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
93 cmll_cfb.o: cmll_cfb.c cmll_locl.h
94 cmll_ctr.o: ../../include/openssl/camellia.h ../../include/openssl/e_os2.h
95 cmll_ctr.o: ../../include/openssl/opensslconf.h cmll_ctr.c cmll_locl.h
96 cmll_ecb.o: ../../include/openssl/camellia.h ../../include/openssl/e_os2.h
97 cmll_ecb.o: ../../include/openssl/opensslconf.h cmll_ecb.c cmll_locl.h
98 cmll_misc.o: ../../include/openssl/camellia.h ../../include/openssl/e_os2.h
99 cmll_misc.o: ../../include/openssl/opensslconf.h
100 cmll_misc.o: ../../include/openssl/opensslv.h cmll_locl.h cmll_misc.c
101 cmll_ofb.o: ../../include/openssl/camellia.h ../../include/openssl/e_os2.h
102 cmll_ofb.o: ../../include/openssl/opensslconf.h cmll_locl.h cmll_ofb.c