~ubuntu-branches/ubuntu/intrepid/graphicsmagick/intrepid

« back to all changes in this revision

Viewing changes to wand/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-05-06 16:28:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060506162808-vt2ni3r5nytcszms
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2003 GraphicsMagick Group
 
2
#
 
3
# This program is covered by multiple licenses, which are described in
 
4
# Copyright.txt. You should have received a copy of Copyright.txt with this
 
5
# package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
 
6
#
 
7
# Makefile for building Magick Wand library
 
8
#
 
9
#
 
10
# Don't require all the GNU mandated files
 
11
AUTOMAKE_OPTIONS = 1.8 foreign
 
12
 
 
13
includedir = ${prefix}/include/GraphicsMagick
 
14
pkgincludedir = $(includedir)/wand
 
15
 
 
16
lib_LTLIBRARIES = libGraphicsMagickWand.la
 
17
 
 
18
LIBRARY_CURRENT    = @MAGICK_WAND_LIBRARY_CURRENT@
 
19
LIBRARY_REVISION   = @MAGICK_WAND_LIBRARY_REVISION@
 
20
LIBRARY_AGE        = @MAGICK_WAND_LIBRARY_AGE@
 
21
 
 
22
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
 
23
 
 
24
libGraphicsMagickWand_la_SOURCES = drawing_wand.c magick_wand.c pixel_wand.c \
 
25
        magick_compat.c
 
26
 
 
27
libGraphicsMagickWand_la_LDFLAGS = -no-undefined \
 
28
        -version-info $(LIBRARY_CURRENT):$(LIBRARY_REVISION):$(LIBRARY_AGE)
 
29
 
 
30
libGraphicsMagickWand_la_LIBADD = $(top_builddir)/magick/libGraphicsMagick.la $(LIB_MATH)
 
31
 
 
32
check_PROGRAMS = drawtest wandtest
 
33
 
 
34
drawtest_LDADD     = libGraphicsMagickWand.la
 
35
drawtest_LDFLAGS   = @LDFLAGS@
 
36
drawtest_SOURCES   = drawtest.c
 
37
 
 
38
wandtest_LDADD     = libGraphicsMagickWand.la
 
39
wandtest_LDFLAGS   = @LDFLAGS@
 
40
wandtest_SOURCES   = wandtest.c
 
41
 
 
42
# Binary scripts
 
43
bin_SCRIPTS = GraphicsMagickWand-config
 
44
 
 
45
# Headers which are installed
 
46
pkginclude_HEADERS = drawing_wand.h magick_wand.h pixel_wand.h wand_api.h
 
47
 
 
48
# Headers which are not installed but which are distributed
 
49
noinst_HEADERS = magick_compat.h
 
50
 
 
51
# Pkgconfig directory
 
52
pkgconfigdir = $(libdir)/pkgconfig
 
53
 
 
54
# Files to install in Pkgconfig directory
 
55
pkgconfig_DATA = GraphicsMagickWand.pc
 
56
 
 
57
EXTRA_DIST = GraphicsMagickWand-config.1 input_256c.miff input_bilevel.miff \
 
58
        input_gray.miff input_truecolor.miff sequence.miff
 
59
 
 
60
# Manual pages to install
 
61
man_MANS = GraphicsMagickWand-config.1
 
62
 
 
63
# Files to clean
 
64
CLEANFILES = *_out.* image.miff
 
65
 
 
66
if WIN32_NATIVE_BUILD
 
67
SRCDIR='$(shell @WinPathScript@ $(srcdir)/)'
 
68
else
 
69
SRCDIR='$(srcdir)/'
 
70
endif
 
71
 
 
72
RUNENV = $(SHELL) $(top_builddir)/rungm.sh
 
73
 
 
74
check:
 
75
        -@$(RUNENV) ./drawtest drawtest_out.miff
 
76
        -@$(RUNENV) SRCDIR=$(SRCDIR) ./wandtest