1##  This file is part of par2cmdline (a PAR 2.0 compatible file verification and
2##  repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
3##
4##  Copyright (c) 2003 Peter Brian Clements
5##
6##  par2cmdline is free software; you can redistribute it and/or modify
7##  it under the terms of the GNU General Public License as published by
8##  the Free Software Foundation; either version 2 of the License, or
9##  (at your option) any later version.
10##
11##  par2cmdline is distributed in the hope that it will be useful,
12##  but WITHOUT ANY WARRANTY; without even the implied warranty of
13##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14##  GNU General Public License for more details.
15##
16##  You should have received a copy of the GNU General Public License
17##  along with this program; if not, write to the Free Software
18##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
20ACLOCAL_AMFLAGS = -I m4
21
22lib_LTLIBRARIES = libpar2.la
23
24libpar2_la_SOURCES = libpar2.cpp libpar2.h \
25	parheaders.cpp parheaders.h \
26	par2cmdline.cpp par2cmdline.h \
27	commandline.cpp commandline.h \
28	crc.cpp crc.h \
29	creatorpacket.cpp creatorpacket.h \
30	criticalpacket.cpp criticalpacket.h \
31	datablock.cpp datablock.h \
32	descriptionpacket.cpp descriptionpacket.h \
33	diskfile.cpp diskfile.h \
34	filechecksummer.cpp filechecksummer.h \
35	galois.cpp galois.h \
36	letype.h \
37	mainpacket.cpp mainpacket.h \
38	md5.cpp md5.h \
39	par1fileformat.cpp par1fileformat.h \
40	par1repairer.cpp par1repairer.h \
41	par1repairersourcefile.cpp par1repairersourcefile.h \
42	par2creator.cpp par2creator.h \
43	par2creatorsourcefile.cpp par2creatorsourcefile.h \
44	par2fileformat.cpp par2fileformat.h \
45	par2repairer.cpp par2repairer.h \
46	par2repairersourcefile.cpp par2repairersourcefile.h \
47	recoverypacket.cpp recoverypacket.h \
48	reedsolomon.cpp reedsolomon.h \
49	verificationhashtable.cpp verificationhashtable.h \
50	verificationpacket.cpp verificationpacket.h
51
52LDADD = -lstdc++ $(SIGC_LIBS)
53INCLUDES = $(SIGC_CFLAGS)
54AM_CXXFLAGS = -Wall
55
56EXTRA_DIST = PORTING ROADMAP debian/changelog debian/compat debian/control \
57	debian/copyright debian/libpar2-0-dev.dirs debian/docs \
58	debian/rules debian/libpar2-0.dirs
59#par2cmdline.sln par2cmdline.vcproj \
60#	testdata.tar.gz pretest test1 test2 test3 test4 test5 test6 \
61#	posttest
62
63#TESTS = pretest test1 test2 test3 test4 test5 test6 posttest
64
65library_includedir=$(includedir)/libpar2
66library_include_HEADERS = *.h
67
68
69
70libpar2_configdir = $(libdir)/libpar2/include
71libpar2_config_DATA = config.h
72
73libpar2_la_LDFLAGS = -version-info 1:0:0
74