File: Makefile.in

package info (click to toggle)
unicon 3.0.4%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 21,948 kB
  • sloc: ansic: 185,000; cpp: 12,570; makefile: 810; sh: 298
file content (58 lines) | stat: -rw-r--r-- 1,757 bytes parent folder | download | duplicates (11)
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
prefix=@prefix@
all:
	cd server; make
	cd client; make
#	cd unicon; make
	cd ImmModules/cce && make
#	cd ImmModules/cxterm && make
	cd ImmModules/turbo && make
ccedata:
	cd ImmModules/cce/inputs && make
gbdata:
	cd ImmModules/turbo; make gbdata
big5data:
	cd ImmModules/turbo; make big5data

data: gbdata big5data ccedata 

data-install:
	if [ ! -d $(prefix) ] ; then mkdir -p $(prefix); fi
	if [ ! -d $(prefix)/lib/unicon ] ; then mkdir -p $(prefix)/lib/unicon; fi
	if [ ! -d $(prefix)/bin ] ; then mkdir -p $(prefix)/bin; fi
	cd ImmModules/cce/inputs; make install prefix=$(prefix)
	cd ImmModules/turbo; make data-install prefix=$(prefix)
install: all
	if [ ! -d $(prefix) ] ; then mkdir -p $(prefix); fi
	if [ ! -d $(prefix)/lib/unicon ] ; then mkdir -p $(prefix)/lib/unicon; fi
	if [ ! -d $(prefix)/bin ] ; then mkdir -p $(prefix)/bin; fi
	cd server; make install
	cd client; make install
#	cd unicon; make install
	cd ImmModules/cce; make install
#	cd ImmModules/cxterm; make install
	cd ImmModules/turbo; make install
	cp -f unicon/sys-gb.tab $(prefix)/lib/unicon
	cp -f unicon/sys-big5.tab $(prefix)/lib/unicon

clean:
	cd server; make clean
	cd client; make clean
#	cd unicon; make clean
	cd ImmModules/cce; make clean
	cd ImmModules/cce/inputs; make clean
	cd ImmModules/cxterm; make clean
	cd ImmModules/cxterm/dict; make clean
	cd ImmModules/cxterm/utils; make clean
	cd ImmModules/turbo; make clean
	rm -f *.bak core a.out *~ 

distclean: clean
	rm -f config.status config.log config.cache Makefile tags TAGS
	cd server; make distclean
#	cd unicon; make distclean
	cd client; make distclean
	cd ImmModules/cce; make distclean
	cd ImmModules/cce/inputs; make distclean
#	cd ImmModules/cxterm; make distclean
	cd ImmModules/turbo; make distclean