Makefile revision 160815
12088Ssos# 25536Ssos# OpenSSL/crypto/cast/Makefile 32088Ssos# 42088Ssos 52088SsosDIR= cast 62088SsosTOP= ../.. 72088SsosCC= cc 82088SsosCPP= $(CC) -E 95994SsosINCLUDES= 105994SsosCFLAG=-g 112088SsosMAKEFILE= Makefile 122088SsosAR= ar r 132088Ssos 142088SsosCAST_ENC=c_enc.o 152088Ssos 162088SsosCFLAGS= $(INCLUDES) $(CFLAG) 172088SsosASFLAGS= $(INCLUDES) $(ASFLAG) 182088SsosAFLAGS= $(ASFLAGS) 192088Ssos 202088SsosGENERAL=Makefile 212088SsosTEST=casttest.c 222088SsosAPPS= 232088Ssos 242088SsosLIB=$(TOP)/libcrypto.a 252088SsosLIBSRC=c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c 262088SsosLIBOBJ=c_skey.o c_ecb.o $(CAST_ENC) c_cfb64.o c_ofb64.o 272088Ssos 282088SsosSRC= $(LIBSRC) 2929603Scharnier 3029603ScharnierEXHEADER= cast.h 3139047SyokotaHEADER= cast_s.h cast_lcl.h $(EXHEADER) 3229603Scharnier 3329603ScharnierALL= $(GENERAL) $(SRC) $(HEADER) 342088Ssos 3529603Scharniertop: 362088Ssos (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 3729603Scharnier 383864Sswallaceall: lib 3929603Scharnier 402088Ssoslib: $(LIBOBJ) 412088Ssos $(AR) $(LIB) $(LIBOBJ) 422088Ssos $(RANLIB) $(LIB) || echo Never mind. 432088Ssos @touch lib 442088Ssos 458857Srgrimes# ELF 462088Ssoscx86-elf.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 472088Ssos (cd asm; $(PERL) cast-586.pl elf $(CLAGS) $(PROCESSOR) > ../$@) 4838139Syokota# COFF 492088Ssoscx86-cof.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 502088Ssos (cd asm; $(PERL) cast-586.pl coff $(CLAGS) $(PROCESSOR) > ../$@) 5132316Syokota# a.out 5232316Syokotacx86-out.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 5332316Syokota (cd asm; $(PERL) cast-586.pl a.out $(CLAGS) $(PROCESSOR) > ../$@) 5432316Syokota 5532316Syokotafiles: 5632316Syokota $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 5732316Syokota 5832316Syokotalinks: 5932316Syokota @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 6032316Syokota @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 6132316Syokota @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 6232316Syokota 635994Ssosinstall: 645994Ssos @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 655994Ssos @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 665994Ssos do \ 675994Ssos (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 685994Ssos chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 695994Ssos done; 705994Ssos 715994Ssostags: 725994Ssos ctags $(SRC) 735994Ssos 745994Ssostests: 759202Srgrimes 765994Ssoslint: 775994Ssos lint -DLINT $(INCLUDES) $(SRC)>fluff 785994Ssos 799202Srgrimesdepend: 805994Ssos @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 815994Ssos $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 825994Ssos 835994Ssosdclean: 845994Ssos $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 855994Ssos mv -f Makefile.new $(MAKEFILE) 865994Ssos 875994Ssosclean: 882088Ssos rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 892088Ssos 902088Ssos# DO NOT DELETE THIS LINE -- make depend depends on it. 912088Ssos 922088Ssosc_cfb64.o: ../../e_os.h ../../include/openssl/cast.h 932088Ssosc_cfb64.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 942088Ssosc_cfb64.o: c_cfb64.c cast_lcl.h 952088Ssosc_ecb.o: ../../e_os.h ../../include/openssl/cast.h 962088Ssosc_ecb.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 972088Ssosc_ecb.o: ../../include/openssl/opensslv.h c_ecb.c cast_lcl.h 986046Ssosc_enc.o: ../../e_os.h ../../include/openssl/cast.h 992088Ssosc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 10032316Syokotac_enc.o: c_enc.c cast_lcl.h 1012088Ssosc_ofb64.o: ../../e_os.h ../../include/openssl/cast.h 10229603Scharnierc_ofb64.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 1032088Ssosc_ofb64.o: c_ofb64.c cast_lcl.h 1042088Ssosc_skey.o: ../../e_os.h ../../include/openssl/cast.h 1052088Ssosc_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 1062088Ssosc_skey.o: c_skey.c cast_lcl.h cast_s.h 1072088Ssos