File: Makefile.in

package info (click to toggle)
postgis 3.3.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 87,748 kB
  • sloc: ansic: 158,671; sql: 91,546; xml: 54,004; cpp: 12,339; sh: 5,187; perl: 5,100; makefile: 3,085; python: 1,205; yacc: 447; lex: 151; javascript: 6
file content (241 lines) | stat: -rw-r--r-- 7,152 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# **********************************************************************
# *
# * PostGIS - Spatial Types for PostgreSQL
# * http://postgis.net
# *
# * Copyright (C) 2022 Sandro Santilli <strk@kbt.io>
# * Copyright 2008 Kevin Neufeld
# *
# * This is free software; you can redistribute and/or modify it under
# * the terms of the GNU General Public Licence. See the COPYING file.
# *
# **********************************************************************

top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
srcdir = @srcdir@

CC=@CC@
CFLAGS=@CFLAGS@ @PROJ_CPPFLAGS@
CPPFLAGS = -I$(top_builddir)/liblwgeom -I$(top_srcdir)/liblwgeom @CPPFLAGS@
SHELL = @SHELL@
LIBTOOL = @LIBTOOL@
LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ @PROJ_LDFLAGS@

VPATH = $(srcdir)

IMAGES= \
	../images/de9im01.png \
	../images/de9im02.png \
	../images/st_alphashape01.png \
	../images/st_alphashape02.png \
	../images/st_alphashape03.png \
	../images/st_azimuth01.png \
	../images/st_azimuth02.png \
	../images/st_boundary01.png \
	../images/st_boundary02.png \
	../images/st_buffer01.png \
	../images/st_buffer02.png \
	../images/st_buffer03.png \
	../images/st_buffer04.png \
	../images/st_buffer05.png \
	../images/st_buffer06.png \
	../images/st_buffer07.png \
	../images/st_buffer08.png \
	../images/st_buffer09.png \
	../images/st_buffer10.png \
	../images/st_buffer11.png \
	../images/st_buffer12.png \
	../images/st_buffer13.png \
	../images/st_buildarea01.png \
	../images/st_closestpoint01.png \
	../images/st_closestpoint02.png \
	../images/st_clusterkmeans02.png \
	../images/st_centroid01.png \
	../images/st_centroid02.png \
	../images/st_centroid03.png \
	../images/st_centroid04.png \
	../images/st_contains01.png \
	../images/st_contains02.png \
	../images/st_contains03.png \
	../images/st_contains04.png \
	../images/st_contains05.png \
	../images/st_contains06.png \
	../images/st_concavehull01.png \
	../images/st_concavehull02.png \
	../images/st_convexhull01.png \
	../images/st_crosses01.png \
	../images/st_crosses02.png \
	../images/st_crosses03.png \
	../images/st_crosses04.png \
	../images/st_constraineddelaunaytriangles01.png \
	../images/st_constraineddelaunaytriangles02.png \
	../images/st_delaunaytriangles04.png \
	../images/st_difference01.png \
	../images/st_dumppoints01.png \
	../images/st_envelope01.png \
	../images/st_extrude01.png \
	../images/st_extrude03.png \
	../images/st_generatepoints01.png \
	../images/st_geometricmedian01.png \
	../images/st_hausdorffdistance01.png \
	../images/st_issimple01.png \
	../images/st_issimple02.png \
	../images/st_issimple03.png \
	../images/st_issimple04.png \
	../images/st_issimple05.png \
	../images/st_issimple06.png \
	../images/st_issimple07.png \
	../images/st_isvalid01.png \
	../images/st_isvalid02.png \
	../images/st_isvalid03.png \
	../images/st_isvalid04.png \
	../images/st_isvalid05.png \
	../images/st_isvalid06.png \
	../images/st_isvalid07.png \
	../images/st_isvalid08.png \
	../images/st_isvalid09.png \
	../images/st_letters01.png \
	../images/st_linecrossingdirection01.png \
	../images/st_linecrossingdirection02.png \
	../images/st_linecrossingdirection03.png \
	../images/st_linecrossingdirection04.png \
	../images/st_line_interpolate_point01.png \
	../images/st_line_interpolate_points01.png \
	../images/st_linemerge01.png \
	../images/st_linemerge02.png \
	../images/st_linemerge03.png \
	../images/st_line_substring01.png \
	../images/st_locatebetween01.png \
	../images/st_longestline01.png \
	../images/st_longestline02.png \
	../images/st_longestline03.png \
	../images/st_makevalid01.png \
	../images/st_makevalid02.png \
	../images/st_makevalid03.png \
	../images/st_makevalid04.png \
	../images/st_makevalid05.png \
	../images/st_makevalid06.png \
	../images/st_maximuminscribedcircle01.png \
	../images/st_maximuminscribedcircle02.png \
	../images/st_minimumboundingcircle01.png \
	../images/st_minkowskisum01.png \
	../images/st_minkowskisum02.png \
	../images/st_minkowskisum03.png \
	../images/st_minkowskisum04.png \
	../images/st_offsetcurve01.png \
	../images/st_offsetcurve02.png \
	../images/st_offsetcurve03.png \
	../images/st_offsetcurve04.png \
	../images/st_offsetcurve05.png \
	../images/st_offsetcurve06.png \
	../images/st_optimalalphashape01.png \
	../images/st_optimalalphashape02.png \
	../images/st_orientedenvelope01.png \
	../images/st_overlaps01.png \
	../images/st_overlaps02.png \
	../images/st_overlaps03.png \
	../images/st_overlaps04.png \
	../images/st_overlaps05.png \
	../images/st_overlaps06.png \
	../images/st_pointonsurface.png \
	../images/st_pointonsurface01.png \
	../images/st_pointonsurface02.png \
	../images/st_pointonsurface03.png \
	../images/st_pointonsurface04.png \
	../images/st_triangulatepolygon01.png \
	../images/st_sharedpaths01.png \
	../images/st_sharedpaths02.png \
	../images/st_shortestline01.png \
	../images/st_shortestline02.png \
	../images/st_snap01.png \
	../images/st_snap02.png \
	../images/st_snap03.png \
	../images/st_snap04.png \
	../images/st_snap05.png \
	../images/st_split01.png \
	../images/st_split02.png \
	../images/st_split03.png \
	../images/st_split04.png \
	../images/st_simplifypolygonhull01.png \
	../images/st_simplifypolygonhull02.png \
	../images/st_simplifypolygonhull03.png \
	../images/st_straightskeleton01.png \
	../images/st_approximatemedialaxis01.png \
	../images/st_subdivide01.png \
	../images/st_subdivide02.png \
	../images/st_symdifference01.png \
	../images/st_symdifference02.png \
	../images/st_tesselate03.png \
	../images/st_tesselate04.png \
	../images/st_touches01.png \
	../images/st_touches02.png \
	../images/st_touches03.png \
	../images/st_touches04.png \
	../images/st_touches05.png \
	../images/st_touches06.png \
	../images/st_voronoi01.png \
	../images/st_voronoi02.png \
	../images/st_voronoi03.png \
	../images/st_within01.png

# Images that are created with dimensions 100x100
IMAGES_RESIZED= \
	../images/de9im03.png \
	../images/de9im04.png \
	../images/de9im05.png \
	../images/de9im06.png \
	../images/de9im07.png \
	../images/de9im08.png \
	../images/de9im09.png \
	../images/de9im10.png \
	../images/de9im11.png \
	../images/de9im12.png \
	../images/de9im13.png

OBJS=styles.o generator.o

# Build the generator
all: generator

images_dir:
	mkdir -p ../images

# generate the images
images: $(IMAGES) $(IMAGES_RESIZED)

# Command to build each of the .o files
$(OBJS): %.o: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<

# Command to build each of the .wkt files
$(IMAGES): ../images/%.png: %.wkt generator styles.conf | images_dir
	@./generator $< $@

# Command to resize each of the images
$(IMAGES_RESIZED): ../images/%.png: %.wkt generator styles.conf | images_dir
	@./generator $< $@
	convert $@ -resize 100x100 $@

# Build the main executable
generator: $(OBJS) ../../../liblwgeom/.libs/liblwgeom.a
	$(LIBTOOL) --mode=link \
	$(CC) -o $@ $^ $(LDFLAGS)

# Build liblwgeom
../../../liblwgeom/.libs/liblwgeom.a:
	$(MAKE) -C ../../../liblwgeom liblwgeom.la

# Clean target
clean:
	rm -f $(OBJS)
	rm -f generator
	rm -f tmp[0-9].png

distclean: clean
	rm -f Makefile

images-clean:
	rm -f $(IMAGES) $(IMAGES_RESIZED)

.NOTPARALLEL: