~ubuntu-branches/ubuntu/trusty/postgis/trusty-security

« back to all changes in this revision

Viewing changes to doc/html/image_src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2009-12-11 13:10:34 UTC
  • mfrom: (1.1.9 upstream) (5.2.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20091211131034-wmsz69wxvt95pe5r
Tags: 1.4.0-2
* Upload to unstable.
* Better parameterized debian/rules against postgis $(VERSION).
* Added dblatex and libcunit1-dev among build-deps.
* Added postgis_comments.sql to contrib/ SQL templates.
* Dropping 8.3 support, no more supported for squeeze.
  (closes: #559587)
* Do not stop on error in postrm if the target dir does not exist.
  (closes: #560409)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# **********************************************************************
 
2
# * $Id: Makefile.in
 
3
# *
 
4
# * PostGIS - Spatial Types for PostgreSQL
 
5
# * http://postgis.refractions.net
 
6
# * Copyright 2008 Kevin Neufeld
 
7
# *
 
8
# * This is free software; you can redistribute and/or modify it under
 
9
# * the terms of the GNU General Public Licence. See the COPYING file.
 
10
# *
 
11
# **********************************************************************
 
12
 
 
13
CC=@CC@
 
14
CFLAGS=@CFLAGS@ @WARNFLAGS@
 
15
 
 
16
CUNIT_LDFLAGS=@CUNIT_LDFLAGS@
 
17
CUNIT_CPPFLAGS=@CUNIT_CPPFLAGS@ -I../../../liblwgeom
 
18
 
 
19
IMAGES= \
 
20
        ../images/st_buffer01.png \
 
21
        ../images/st_buffer02.png \
 
22
        ../images/st_centroid01.png \
 
23
        ../images/st_centroid02.png \
 
24
        ../images/st_centroid03.png \
 
25
        ../images/st_centroid04.png \
 
26
        ../images/st_contains01.png \
 
27
        ../images/st_contains02.png \
 
28
        ../images/st_contains03.png \
 
29
        ../images/st_contains04.png \
 
30
        ../images/st_contains05.png \
 
31
        ../images/st_contains06.png \
 
32
        ../images/st_crosses01.png \
 
33
        ../images/st_crosses02.png \
 
34
        ../images/st_crosses03.png \
 
35
        ../images/st_crosses04.png \
 
36
        ../images/st_issimple01.png \
 
37
        ../images/st_issimple02.png \
 
38
        ../images/st_issimple03.png \
 
39
        ../images/st_issimple04.png \
 
40
        ../images/st_issimple05.png \
 
41
        ../images/st_issimple06.png \
 
42
        ../images/st_issimple07.png \
 
43
        ../images/st_isvalid01.png \
 
44
        ../images/st_isvalid02.png \
 
45
        ../images/st_isvalid03.png \
 
46
        ../images/st_isvalid04.png \
 
47
        ../images/st_isvalid05.png \
 
48
        ../images/st_isvalid06.png \
 
49
        ../images/st_isvalid07.png \
 
50
        ../images/st_isvalid08.png \
 
51
        ../images/st_touches01.png \
 
52
        ../images/st_touches02.png \
 
53
        ../images/st_touches03.png \
 
54
        ../images/st_touches04.png \
 
55
        ../images/st_touches05.png \
 
56
        ../images/st_touches06.png \
 
57
        ../images/st_within01.png
 
58
        
 
59
OBJS=styles.o generator.o
 
60
 
 
61
# Build the generator
 
62
all: generator
 
63
 
 
64
# generate the images
 
65
images: $(IMAGES)
 
66
 
 
67
# Command to build each of the .o files
 
68
$(OBJS): %.o: %.c
 
69
        $(CC) $(CFLAGS) $(CUNIT_CPPFLAGS) -c -o $@ $<
 
70
        
 
71
# Command to build each of the .wkt files
 
72
$(IMAGES): ../images/%.png: %.wkt generator styles.conf
 
73
        @./generator $<
 
74
 
 
75
# Build the main executable
 
76
generator: ../../../liblwgeom/liblwgeom.a $(OBJS)
 
77
        $(CC) -o $@ $(OBJS) ../../../liblwgeom/liblwgeom.a -lm $(CUNIT_LDFLAGS)
 
78
 
 
79
# Clean target
 
80
clean:
 
81
        @rm -f $(OBJS)
 
82
        @rm -f generator
 
83
        @rm -f tmp[0-9].png
 
84
 
 
85