File: Makefile.am

package info (click to toggle)
par2cmdline 0.6.11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,388 kB
  • ctags: 955
  • sloc: cpp: 8,941; sh: 3,797; makefile: 89
file content (108 lines) | stat: -rwxr-xr-x 3,474 bytes parent folder | download
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
##  This file is part of par2cmdline (a PAR 2.0 compatible file verification and
##  repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
##
##  Copyright (c) 2003 Peter Brian Clements
##
##  par2cmdline is free software; you can redistribute it and/or modify
##  it under the terms of the GNU General Public License as published by
##  the Free Software Foundation; either version 2 of the License, or
##  (at your option) any later version.
##
##  par2cmdline is distributed in the hope that it will be useful,
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##  GNU General Public License for more details.
##
##  You should have received a copy of the GNU General Public License
##  along with this program; if not, write to the Free Software
##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

bin_PROGRAMS = par2
man_MANS = par2.1

par2_SOURCES = par2cmdline.cpp par2cmdline.h \
	commandline.cpp commandline.h \
	crc.cpp crc.h \
	creatorpacket.cpp creatorpacket.h \
	criticalpacket.cpp criticalpacket.h \
	datablock.cpp datablock.h \
	descriptionpacket.cpp descriptionpacket.h \
	diskfile.cpp diskfile.h \
	filechecksummer.cpp filechecksummer.h \
	galois.cpp galois.h \
	letype.h \
	mainpacket.cpp mainpacket.h \
	md5.cpp md5.h \
	par1fileformat.cpp par1fileformat.h \
	par1repairer.cpp par1repairer.h \
	par1repairersourcefile.cpp par1repairersourcefile.h \
	par2creator.cpp par2creator.h \
	par2creatorsourcefile.cpp par2creatorsourcefile.h \
	par2fileformat.cpp par2fileformat.h \
	par2repairer.cpp par2repairer.h \
	par2repairersourcefile.cpp par2repairersourcefile.h \
	recoverypacket.cpp recoverypacket.h \
	reedsolomon.cpp reedsolomon.h \
	verificationhashtable.cpp verificationhashtable.h \
	verificationpacket.cpp verificationpacket.h

LDADD = -lstdc++
AM_CXXFLAGS = -Wall

EXTRA_DIST = PORTING ROADMAP par2cmdline.sln par2cmdline.vcproj \
						 par2.1 \
						 tests/flatdata.tar.gz \
						 tests/flatdata-par1files.tar.gz \
						 tests/flatdata-par2files.tar.gz \
						 tests/subdirdata.tar.gz \
						 tests/subdirdata-par2files-unix.tar.gz \
						 tests/subdirdata-par2files-win.tar.gz \
						 tests/smallsubdirdata.tar.gz \
						 tests/smallsubdirdata-par2files.tar.gz \
						 tests/100blocks.tar.gz \
						 tests/readbeyondeof.tar.gz \
						 tests/par2-0.6.8-crash.tar.gz \
						 tests/test1 \
						 tests/test2 \
						 tests/test3 \
						 tests/test4 \
						 tests/test5 \
						 tests/test6 \
						 tests/test7 \
						 tests/test8 \
						 tests/test9 \
						 tests/test10 \
						 tests/test11 \
						 tests/test12 \
						 tests/test13 \
						 tests/test14 \
						 tests/test15 \
						 tests/test16

TESTS = tests/test1 \
				tests/test2 \
				tests/test3 \
				tests/test4 \
				tests/test5 \
				tests/test6 \
				tests/test7 \
				tests/test8 \
				tests/test9 \
				tests/test10 \
				tests/test11 \
				tests/test12 \
				tests/test13 \
				tests/test14 \
				tests/test15 \
				tests/test16

install-exec-hook :
	ln -sf $(bindir)/par2$(EXEEXT) $(DESTDIR)$(bindir)/par2create$(EXEEXT)
	ln -sf $(bindir)/par2$(EXEEXT) $(DESTDIR)$(bindir)/par2verify$(EXEEXT)
	ln -sf $(bindir)/par2$(EXEEXT) $(DESTDIR)$(bindir)/par2repair$(EXEEXT)

uninstall-hook :
	rm -f $(DESTDIR)$(bindir)/par2create$(EXEEXT)
	rm -f $(DESTDIR)$(bindir)/par2verify$(EXEEXT)
	rm -f $(DESTDIR)$(bindir)/par2repair$(EXEEXT)