Makefile revision 183234
1183234Ssimon# 2183234Ssimon# crypto/seed/Makefile 3183234Ssimon# 4183234Ssimon 5183234SsimonDIR= seed 6183234SsimonTOP= ../.. 7183234SsimonCC= cc 8183234SsimonCPP= $(CC) -E 9183234SsimonINCLUDES= 10183234SsimonCFLAG=-g 11183234SsimonMAKEFILE= Makefile 12183234SsimonAR= ar r 13183234Ssimon 14183234SsimonCFLAGS= $(INCLUDES) $(CFLAG) 15183234Ssimon 16183234SsimonGENERAL=Makefile 17183234SsimonTEST= 18183234SsimonAPPS= 19183234Ssimon 20183234SsimonLIB=$(TOP)/libcrypto.a 21183234SsimonLIBSRC=seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c 22183234SsimonLIBOBJ=seed.o seed_ecb.o seed_cbc.o seed_cfb.o seed_ofb.o 23183234Ssimon 24183234SsimonSRC= $(LIBSRC) 25183234Ssimon 26183234SsimonEXHEADER= seed.h 27183234SsimonHEADER= seed_locl.h $(EXHEADER) 28183234Ssimon 29183234SsimonALL= $(GENERAL) $(SRC) $(HEADER) 30183234Ssimon 31183234Ssimontop: 32183234Ssimon (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 33183234Ssimon 34183234Ssimonall: lib 35183234Ssimon 36183234Ssimonlib: $(LIBOBJ) 37183234Ssimon $(AR) $(LIB) $(LIBOBJ) 38183234Ssimon $(RANLIB) $(LIB) || echo Never mind. 39183234Ssimon @touch lib 40183234Ssimon 41183234Ssimonfiles: 42183234Ssimon $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 43183234Ssimon 44183234Ssimonlinks: 45183234Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 46183234Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 47183234Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 48183234Ssimon 49183234Ssimoninstall: 50183234Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 51183234Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 52183234Ssimon do \ 53183234Ssimon (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 54183234Ssimon chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 55183234Ssimon done; 56183234Ssimon 57183234Ssimontags: 58183234Ssimon ctags $(SRC) 59183234Ssimon 60183234Ssimontests: 61183234Ssimon 62183234Ssimonlint: 63183234Ssimon lint -DLINT $(INCLUDES) $(SRC)>fluff 64183234Ssimon 65183234Ssimondepend: 66183234Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 67183234Ssimon $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 68183234Ssimon 69183234Ssimondclean: 70183234Ssimon $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 71183234Ssimon mv -f Makefile.new $(MAKEFILE) 72183234Ssimon 73183234Ssimonclean: 74183234Ssimon rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 75183234Ssimon 76183234Ssimon# DO NOT DELETE THIS LINE -- make depend depends on it. 77183234Ssimon 78183234Ssimonseed.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 79183234Ssimonseed.o: ../../include/openssl/seed.h seed.c seed_locl.h 80183234Ssimonseed_cbc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 81183234Ssimonseed_cbc.o: ../../include/openssl/seed.h seed_cbc.c seed_locl.h 82183234Ssimonseed_cfb.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 83183234Ssimonseed_cfb.o: ../../include/openssl/seed.h seed_cfb.c seed_locl.h 84183234Ssimonseed_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/seed.h 85183234Ssimonseed_ecb.o: seed_ecb.c 86183234Ssimonseed_ofb.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 87183234Ssimonseed_ofb.o: ../../include/openssl/seed.h seed_locl.h seed_ofb.c 88