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