1 |
AUTOMAKE_OPTIONS = gnits |
2 |
|
3 |
EXTRA_DIST = fcrackzip.txt fcrackzip.html fcrackzip.1 gencrack.pl zipcrack.c cpmask.c crackdef.c noradi.zip |
4 |
|
5 |
# next line is for pgcc/egcs/gcc-2.8 |
6 |
#CFLAGS = -O6 -mpentiumpro -march=pentiumpro -g -Wall |
7 |
#CFLAGS = @CFLAGS@ |
8 |
#LDFLAGS = -g |
9 |
|
10 |
man_MANS = fcrackzip.1 |
11 |
bin_PROGRAMS = fcrackzip zipinfo |
12 |
noinst_HEADERS = getopt.h |
13 |
fcrackzip_SOURCES = main.c crack.c crack.h crc32.h |
14 |
fcrackzip_LDADD = @LIBOBJS@ |
15 |
zipinfo_SOURCES = zipinfo.c |
16 |
zipinfo_LDADD = @LIBOBJS@ |
17 |
|
18 |
if HAVE_PERL |
19 |
crack.c: crackdef.c |
20 |
|
21 |
crackdef.c: zipcrack.c gencrack.pl |
22 |
@PERL@ gencrack.pl zipcrack.c |
23 |
else |
24 |
.PRECIOUS: crack.h crackd.c |
25 |
endif |
26 |
|
27 |
%.txt: %.1 Makefile.am |
28 |
nroff -mandoc <$< >$@ |
29 |
|
30 |
%.html: %.1 Makefile.am |
31 |
myman2html $< >$@ |
32 |
|
33 |
bin-strip: all |
34 |
strip fcrackzip |
35 |
|
36 |
# everything below is maintainer-only! |
37 |
copy-www: fcrackzip.txt fcrackzip.html fcrackzip bin-strip dist |
38 |
./myman2html fcrackzip.1 | tail +3 | tac | tail +7 | tac >/root/www/nh/fcrackzip.1.nh |
39 |
mv fcrackzip-$(VERSION).tar.gz /root/www/src/marc/data/ |
40 |
cp fcrackzip /root/www/src/marc/data/fcrackzip-$(VERSION).linux86.bin |
41 |
gzip -9fv /root/www/src/marc/data/fcrackzip-$(VERSION).linux86.bin |
42 |
chmod 644 /root/www/src/marc/data/fcrackzip-$(VERSION).tar.gz |
43 |
chmod 644 /root/www/src/marc/data/fcrackzip-$(VERSION).linux86.bin.gz |
44 |
echo -n $(VERSION) >/root/www/nh/fcrackzip-ver.nh |
45 |
|
46 |
test: all |
47 |
fcrackzip --benchmark |
48 |
|
49 |
|