-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathMakefile
78 lines (63 loc) · 2.03 KB
/
Makefile
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
#
# This is a convenience Makefile for building and installing _scotty_
# on some platforms.
#
PLATFORMS = wheezy jessie yakkety freebsd alpine macosx sunos
all:
@echo
@echo "This is a Makefile for convenient building and installing"
@echo "of scotty with standard configuration."
@echo
@echo "Typical invocation:"
@echo " make _platform_"
@echo " make build"
@echo " sudo make install"
@echo
@echo "Other targets: clean uninstall distclean"
@echo
@echo Available platform targets: $(PLATFORMS)
@echo
ubuntu wheezy jessie yakkety slackware:
(cd tnm && autoheader && autoconf && ./configure)
(cd tkined && autoheader && autoconf && ./configure)
freebsd:
(cd tnm && autoheader && autoconf && env CC=clang ./configure)
(cd tkined && autoheader && autoconf && env CC=clang ./configure)
alpine:
(cd tnm && autoheader && autoconf && ./configure --with-tirpc)
(cd tkined && autoheader && autoconf && ./configure)
macosx:
(cd tnm && autoheader && autoconf \
&& ./configure --bindir=/usr/local/bin/ --libdir=/Library/Tcl)
(cd tkined && autoheader && autoconf \
&& ./configure --bindir=/usr/local/bin/ --libdir=/Library/Tcl)
netbsd:
(cd tnm && autoheader && autoconf \
&& ./configure --with-tcl=/usr/pkg/lib)
(cd tkined && autoheader && autoconf \
&& ./configure --with-tcl=/usr/pkg/lib --with-tk=/usr/pkg/lib)
sunos:
(cd tnm && autoheader && autoconf \
&& ./configure --with-tcl=/usr/local/lib)
(cd tkined && autoheader && autoconf \
&& ./configure --with-tcl=/usr/local/lib --with-tk=/usr/local/lib)
minix:
(cd tnm && autoheader && autoconf \
&& ./configure --with-tcl=/usr/pkg/lib)
(cd tkined && autoheader && autoconf \
&& ./configure --with-tcl=/usr/pkg/lib --with-tk=/usr/pkg/lib)
build:
(cd tnm && make)
(cd tkined && make)
install:
(cd tnm && make install sinstall)
(cd tkined && make install)
uninstall:
(cd tnm && make uninstall)
(cd tkined && make uninstall)
clean:
(cd tnm && make clean)
(cd tkined && make clean)
distclean:
(cd tnm && make distclean)
(cd tkined && make distclean)