File: Makefile-static-Linux

package info (click to toggle)
spatialite-tools 4.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,096 kB
  • sloc: ansic: 36,848; sh: 11,192; xml: 1,839; makefile: 106
file content (133 lines) | stat: -rw-r--r-- 4,265 bytes parent folder | download | duplicates (4)
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
# SandroFurieri (c) 2010
# Makefile SpatiaLite statically linked tools [Linux]

CFLAGS = -DSPATIALITE_AMALGAMATION

all: ./static_bin/spatialite ./static_bin/spatialite_tool \
	./static_bin/spatialite_network ./static_bin/shp_doctor \
	./static_bin/exif_loader ./static_bin/spatialite_osm_net \
	./static_bin/spatialite_osm_map ./static_bin/spatialite_gml \
	./static_bin/spatialite_osm_raw ./static_bin/spatialite_osm_filter \
	./static_bin/spatialite_convert

./static_bin/spatialite: shell.o
	$(CC) shell.o -o ./static_bin/spatialite \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	/usr/lib/libreadline.a \
	/usr/lib/libncurses.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite

./static_bin/spatialite_tool: spatialite_tool.o
	$(CC) spatialite_tool.o -o ./static_bin/spatialite_tool \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_tool

./static_bin/spatialite_convert: spatialite_convert.o
	$(CC) spatialite_convert.o -o ./static_bin/spatialite_convert \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_convert

./static_bin/spatialite_network: spatialite_network.o
	$(CC) spatialite_network.o -o ./static_bin/spatialite_network \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_network
	
./static_bin/shp_doctor: shp_doctor.o
	$(CC) shp_doctor.o -o ./static_bin/shp_doctor \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr//lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/shp_doctor
	
./static_bin/exif_loader: exif_loader.o
	$(CC) exif_loader.o -o ./static_bin/exif_loader \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/exif_loader
	
./static_bin/spatialite_osm_net: spatialite_osm_net.o
	$(CC) spatialite_osm_net.o -o ./static_bin/spatialite_osm_net \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	/usr/local/lib/libreadosm.a \
	/usr/lib/libexpat.a \
	/usr/lib/libz.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_osm_net

./static_bin/spatialite_osm_map: spatialite_osm_map.o
	$(CC) spatialite_osm_map.o -o ./static_bin/spatialite_osm_map \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	/usr/local/lib/libreadosm.a \
	/usr/lib/libexpat.a \
	/usr/lib/libz.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_osm_map

./static_bin/spatialite_gml: spatialite_gml.o
	$(CC) spatialite_gml.o -o ./static_bin/spatialite_gml \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	/usr/lib/libexpat.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_gml

./static_bin/spatialite_osm_raw: spatialite_osm_raw.o
	$(CC) spatialite_osm_raw.o -o ./static_bin/spatialite_osm_raw \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	/usr/local/lib/libreadosm.a \
	/usr/lib/libexpat.a \
	/usr/lib/libz.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_osm_raw

./static_bin/spatialite_osm_filter: spatialite_osm_filter.o
	$(CC) spatialite_osm_filter.o -o ./static_bin/spatialite_osm_filter \
	/usr/local/lib/libspatialite.a \
	/usr/lib/libproj.a \
	/usr/lib/libgeos_c.a \
	/usr/lib/libgeos.a \
	/usr/local/lib/libfreexl.a \
	-lstdc++ -lm -lpthread -ldl
	strip --strip-all ./static_bin/spatialite_osm_filter