Date: Sat, 5 Jan 2013 11:25:03 -0500 From: <jfoug@....net> To: john-dev@...ts.openwall.com Cc: Frank Dittrich <frank_dittrich@...mail.com> Subject: Re: Trying to build john without *_fmt_plug.c ---- Frank Dittrich <frank_dittrich@...mail.com> wrote: > I wanted to test whether building a binary without support for any > unnecessary formats would result in better performance. > So I first got the latest git changes (including 018ddb99). > Then I uncommented HAVE_KRB5, HAVE_NSS and HAVE_GMP in Makefile. > Then I did > > (unstable-jumbo)src $ make clean > /dev/null > (unstable-jumbo)src $ mkdir plugins > (unstable-jumbo)src $ mv *_fmt_plug.c plugins/ > (unstable-jumbo)src $ make linux-x86-native > /dev/null > make: *** No rule to make target `*_fmt_plug.c', needed by > `fmt_externs.h'. Stop. > make: *** [linux-x86-native] Error 2 Add this target in Makefile: *_fmt_plug.c: Makefile john.c true This simply adds a junk target, to avoid the error. the 2 seds to create fmt_*.h files are still run. If there are no plugs, they simply create 0 byte files, but the error in the make is removed. I have only tested on cygwin (with gnu make as the default make process). This may not be viable on things like sun make, etc. Jim.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.