File: Makefile.am

package info (click to toggle)
xastir 2.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,204 kB
  • sloc: ansic: 113,888; perl: 7,503; sh: 5,711; cpp: 2,651; makefile: 604; python: 312; pascal: 159; sql: 102; sed: 93
file content (108 lines) | stat: -rw-r--r-- 2,628 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
#
# Copyright (C) 2000-2018 The Xastir Group
#

bin_PROGRAMS = xastir xastir_udp_client testdbfawk

SUBDIRS = @SUBRTREE@ @SUBSHP@
DIST_SUBDIRS = rtree shapelib

EXTRA_DIST=icon.xbm

XASTIR_SRC = \
    alert.c alert.h \
    awk.c awk.h \
    bulletin_gui.c bulletin_gui.h \
    color.c color.h \
    datum.c datum.h \
    db.c database.h \
    db_gis.c db_gis.h \
    dbfawk.c dbfawk.h \
    draw_symbols.c draw_symbols.h \
    fcc_data.c fcc_data.h \
    festival.c festival.h \
    fetch_remote.c fetch_remote.h \
    forked_getaddrinfo.c forked_getaddrinfo.h \
    geo-find.c geo.h \
    geocoder_gui.c \
    gps.c gps.h \
    hashtable.c hashtable_private.h hashtable.h \
    hashtable_itr.c hashtable_itr.h \
    igate.c igate.h \
    interface.c interface.h \
    interface_gui.c \
    io-common.c io-mmap.c io.h \
    lang.c lang.h \
    leak_detection.h \
    list_gui.c list_gui.h \
    locate_gui.c \
    location.c \
    location_gui.c \
    main.c main.h \
    maps.c maps.h \
    map_cache.c map_cache.h \
    map_dos.c \
    map_gdal.c \
    map_geo.c \
    map_gnis.c \
    map_OSM.c map_OSM.h \
    map_pop.c \
    map_pdb.c \
    map_shp.c \
    map_tif.c \
    map_tiger.c \
    map_WMS.c \
    messages.c messages.h \
    messages_gui.c \
    objects.h objects.c \
    popup.h \
    popup_gui.c \
    rac_data.c rac_data.h \
    rotated.c rotated.h \
    rpl_malloc.c rpl_malloc.h \
    shp_hash.c shp_hash.h \
    snprintf.c snprintf.h \
    sound.c symbols.h \
    tile_mgmnt.c tile_mgmnt.h \
    track_gui.c track_gui.h \
    util.c util.h \
    view_message_gui.c \
    wx.c wx.h \
    wx_gui.c \
    x_spider.c x_spider.h \
    xa_config.c xa_config.h \
    xastir.h

xastir_SOURCES = $(XASTIR_SRC) compiledate.c

xastir_udp_client_SOURCES = \
    xastir_udp_client.c

testdbfawk_SOURCES = \
    testdbfawk.c \
    awk.c \
    dbfawk.c \
    rpl_malloc.c rpl_malloc.h

.PHONY: compiledate.c

compiledate.c: $(XASTIR_SRC)
	rm -f compiledate.c compiledate.o
	echo 'char compiledate[] = "'"Compiled: `date`"'";' > compiledate.c
	if test -n "$$SOURCE_DATE_EPOCH"; then \
		echo 'char compiledate[] = "'"Compiled: `LC_ALL=C date --utc --date="@$$SOURCE_DATE_EPOCH"`"'";' > compiledate.c; \
	fi
	echo 'char gitstring[] = "'"`$(top_srcdir)/scripts/XastirGitStamp.sh $(top_srcdir)`"'";' >> compiledate.c

remove_compiledate:
	rm -f compiledate.c compiledate.o

xastir_LDADD=@LIBRTREE@ @LIBSHP@

testdbfawk_LDADD=@LIBSHP@

xastir_LINK=$(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

xastir_udp_client_LINK=$(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

testdbfawk_LINK=$(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@