aboutsummaryrefslogtreecommitdiff
path: root/src/cal/get_tle/Makefile.am
blob: 292022bd2fd0c5179d454dc47bc58b3aa76335f2 (plain) (blame)
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
DATADIR = $(pkgdatadir)-$(VERSION)
javadir = $(DATADIR)/java
JAVAROOT = $(builddir)

bin_SCRIPTS = \
	add_tle.pl \
	check_tle.pl \
	get_tle.pl \
	get_tle.pl.space-track \
	make_cvzramtool.pl \
	make_orbit.pl \
	test_get_tle.pl \
	update_tle.csh

java_JAVA = GetTLE.java

EXTRA_DIST = \
	GetTLE.java.in \
	add_tle.pl.in \
	check_tle.pl.in \
	get_tle.pl.in \
	get_tle.pl.space-track.in \
	make_cvzramtool.pl.in \
	make_orbit.pl.in \
	test_get_tle.pl.in \
	update_tle.csh.in

CLEANFILES = \
	GetTLE.class \
	GetTLE.java \
	add_tle.pl \
	check_tle.pl \
	get_tle.pl \
	get_tle.pl.space-track \
	make_cvzramtool.pl \
	make_orbit.pl \
	test_get_tle.pl \
	update_tle.csh

do_subst = sed -e 's,[@]DATADIR[@],$(DATADIR),g' \
		   		   -e 's,[@]PREFIX[@],$(prefix),g' \
				   -e 's,[@]VERSION[@],$(VERSION),g'

GetTLE.java: GetTLE.java.in Makefile
	$(do_subst) < GetTLE.java.in > GetTLE.java
		chmod 644 GetTLE.java

add_tle.pl: add_tle.pl.in Makefile
	$(do_subst) < add_tle.pl.in > add_tle.pl
		chmod +x add_tle.pl

check_tle.pl: check_tle.pl.in Makefile
	$(do_subst) < check_tle.pl.in > check_tle.pl
		chmod +x check_tle.pl

get_tle.pl: get_tle.pl.in Makefile
	$(do_subst) < get_tle.pl.in > get_tle.pl
		chmod +x get_tle.pl

get_tle.pl.space-track: get_tle.pl.space-track.in Makefile
	$(do_subst) < get_tle.pl.space-track.in > get_tle.pl.space-track
		chmod +x get_tle.pl.space-track

make_cvzramtool.pl: make_cvzramtool.pl.in Makefile
	$(do_subst) < make_cvzramtool.pl.in > make_cvzramtool.pl
		chmod +x make_cvzramtool.pl

make_orbit.pl: make_orbit.pl.in Makefile
	$(do_subst) < make_orbit.pl.in > make_orbit.pl
		chmod +x make_orbit.pl

test_get_tle.pl: test_get_tle.pl.in Makefile
	$(do_subst) < test_get_tle.pl.in > test_get_tle.pl
		chmod +x test_get_tle.pl

update_tle.csh: update_tle.csh.in Makefile
	$(do_subst) < update_tle.csh.in > update_tle.csh
		chmod +x update_tle.csh