-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
41 lines (31 loc) · 980 Bytes
/
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
all: xgterm ximtool
prefix = /usr/local
export TCL_INCLUDE_DIR = /usr/include/tcl
export TCL_LIB = -ltcl
.PHONY: xgterm ximtool xtapemon obmsh
obm/libobm.a:
$(MAKE) -C obm
xgterm: obm/libobm.a
$(MAKE) -C xgterm
ximtool: obm/libobm.a
$(MAKE) -C ximtool
xtapemon:
$(MAKE) -C xtapemon
obmsh: obm/libobm.a
$(MAKE) -C obmsh
clean:
$(MAKE) -C xtapemon clean
$(MAKE) -C ximtool clean
$(MAKE) -C xgterm clean
$(MAKE) -C obmsh clean
$(MAKE) -C obm clean
install: xgterm ximtool
mkdir -p ${DESTDIR}${prefix}/bin ${DESTDIR}${prefix}/share/man/man1
install -m755 xgterm/xgterm ${DESTDIR}${prefix}/bin
install -m755 xgterm/xgterm.man ${DESTDIR}${prefix}/share/man/man1/xgterm.1
tic xgterm/xgterm.terminfo
install -m755 ximtool/ximtool ${DESTDIR}${prefix}/bin
install -m755 ximtool/ximtool.man ${DESTDIR}${prefix}/share/man/man1/ximtool.1
if [ -x ximtool/clients/ism_wcspix.e ] ; then \
install -m755 ximtool/clients/ism_wcspix.e ${DESTDIR}${prefix}/bin ; \
fi