File: Makefile.am

package info (click to toggle)
fcrackzip 1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 632 kB
  • sloc: ansic: 2,723; sh: 743; makefile: 121; perl: 81
file content (49 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download | duplicates (6)
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
48
49
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