1 # Copyright (c) 2001-2003 Michael David Adams.
4 # __START_OF_JASPER_LICENSE__
6 # JasPer License Version 2.0
8 # Copyright (c) 2001-2006 Michael David Adams
9 # Copyright (c) 1999-2000 Image Power, Inc.
10 # Copyright (c) 1999-2000 The University of British Columbia
12 # All rights reserved.
14 # Permission is hereby granted, free of charge, to any person (the
15 # "User") obtaining a copy of this software and associated documentation
16 # files (the "Software"), to deal in the Software without restriction,
17 # including without limitation the rights to use, copy, modify, merge,
18 # publish, distribute, and/or sell copies of the Software, and to permit
19 # persons to whom the Software is furnished to do so, subject to the
20 # following conditions:
22 # 1. The above copyright notices and this permission notice (which
23 # includes the disclaimer below) shall be included in all copies or
24 # substantial portions of the Software.
26 # 2. The name of a copyright holder shall not be used to endorse or
27 # promote products derived from the Software without specific prior
30 # THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
31 # LICENSE. NO USE OF THE SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER
32 # THIS DISCLAIMER. THE SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS
33 # "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34 # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
35 # PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO
36 # EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
37 # INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
38 # FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
39 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
40 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. NO ASSURANCES ARE
41 # PROVIDED BY THE COPYRIGHT HOLDERS THAT THE SOFTWARE DOES NOT INFRINGE
42 # THE PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF ANY OTHER ENTITY.
43 # EACH COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY TO THE USER FOR CLAIMS
44 # BROUGHT BY ANY OTHER ENTITY BASED ON INFRINGEMENT OF INTELLECTUAL
45 # PROPERTY RIGHTS OR OTHERWISE. AS A CONDITION TO EXERCISING THE RIGHTS
46 # GRANTED HEREUNDER, EACH USER HEREBY ASSUMES SOLE RESPONSIBILITY TO SECURE
47 # ANY OTHER INTELLECTUAL PROPERTY RIGHTS NEEDED, IF ANY. THE SOFTWARE
48 # IS NOT FAULT-TOLERANT AND IS NOT INTENDED FOR USE IN MISSION-CRITICAL
49 # SYSTEMS, SUCH AS THOSE USED IN THE OPERATION OF NUCLEAR FACILITIES,
50 # AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL
51 # SYSTEMS, DIRECT LIFE SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH
52 # THE FAILURE OF THE SOFTWARE OR SYSTEM COULD LEAD DIRECTLY TO DEATH,
53 # PERSONAL INJURY, OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH
54 # RISK ACTIVITIES"). THE COPYRIGHT HOLDERS SPECIFICALLY DISCLAIM ANY
55 # EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK ACTIVITIES.
57 # __END_OF_JASPER_LICENSE__
59 AUTOMAKE_OPTIONS = foreign
61 EXTRA_DIST = README INSTALL COPYRIGHT LICENSE NEWS ChangeLog data doc \
62 jasper.spec.in jasper.spec ac_aux
64 ACLOCAL_AMFLAGS = -I ac_m4
66 # Note: We need to put the derived file "jasper.spec" in the distribution
67 # in order to facilitate RPM building.
69 SUBDIRS = src pkgconfig test
72 for i in BUILD RPMS SRPMS SOURCES SPECS; do \
75 mkdir -p $$j || exit 1; \
78 rpmbuild --rmsource --define "_topdir $$PWD/RPMTOP" \
79 -ta $(PACKAGE)-$(JAS_VERSION).tar.gz
80 rm -rf $$PWD/RPMTOP/BUILD/$(PACKAGE)-$(JAS_VERSION)
82 @GENERATE_CHANGELOG_RULES@
83 dist-hook: dist-ChangeLog
85 # We need to ensure that any Subversion directories in the extra directories
86 # are removed before the distribution archive is made.
88 # for i in $(EXTRA_DIST); do \
89 # if test -d $$i; then \
90 # j=`find $(distdir)/$$i -name .svn`; \
91 # if test -n "$$j"; then \