File: Makefile

package info (click to toggle)
cmigemo 20110227-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 840 kB
  • sloc: ansic: 2,617; lisp: 608; cs: 183; makefile: 159; sh: 137; cpp: 67; perl: 59; csh: 49
file content (115 lines) | stat: -rw-r--r-- 2,911 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
109
110
111
112
113
114
115
# vi:set ts=8 sts=8 sw=8 tw=0:
#
# C/Migemo Makefile
#
# Last Change: 19-Oct-2003.
# Maintainer:	MURAOKA Taro <koron@tka.att.ne.jp>

default: gcc-rel
install:
	$(MAKE) -f compile/Make_gcc.mak install
uninstall: gcc-uninstall
clean: gcc-clean
distclean: gcc-distclean

##############################################################################
# for Borland C 5
#
bc: bc-rel
bc-all: bc-rel bc-dict
bc-rel:
	$(MAKE) -f compile\Make_bc5.mak
bc-dict:
	$(MAKE) -f compile\Make_bc5.mak dictionary
bc-clean:
	$(MAKE) -f compile\Make_bc5.mak clean
bc-distclean:
	$(MAKE) -f compile\Make_bc5.mak distclean

##############################################################################
# for Cygwin
#
cyg: cyg-rel
cyg-all: cyg-rel cyg-dict
cyg-rel:
	$(MAKE) -f compile/Make_cyg.mak
cyg-dict:
	$(MAKE) -f compile/Make_cyg.mak dictionary
cyg-install: cyg-all
	$(MAKE) -f compile/Make_cyg.mak install
cyg-uninstall:
	$(MAKE) -f compile/Make_cyg.mak uninstall
cyg-clean:
	$(MAKE) -f compile/Make_cyg.mak clean
cyg-distclean:
	$(MAKE) -f compile/Make_cyg.mak distclean

##############################################################################
# for GNU/gcc (Linux and others)
#	(Tested on Vine Linux 2.1.5)
#
gcc: gcc-rel
gcc-all: gcc-rel gcc-dict
gcc-rel:
	$(MAKE) -f compile/Make_gcc.mak
gcc-dict:
	$(MAKE) -f compile/Make_gcc.mak dictionary
gcc-install: gcc-all
	$(MAKE) -f compile/Make_gcc.mak install
gcc-uninstall:
	$(MAKE) -f compile/Make_gcc.mak uninstall
gcc-clean:
	$(MAKE) -f compile/Make_gcc.mak clean
gcc-distclean:
	$(MAKE) -f compile/Make_gcc.mak distclean

##############################################################################
# for Microsoft Visual C
#
msvc: msvc-rel
msvc-all: msvc-rel msvc-dict
msvc-rel:
	$(MAKE) /nologo /f compile\Make_mvc.mak
msvc-dict:
	$(MAKE) /nologo /f compile\Make_mvc.mak dictionary
msvc-clean:
	$(MAKE) /nologo /f compile\Make_mvc.mak clean
msvc-distclean:
	$(MAKE) /nologo /f compile\Make_mvc.mak distclean

##############################################################################
# for MacOS X
#
osx: osx-rel
osx-all: osx-rel osx-dict
osx-rel:
	$(MAKE) -f compile/Make_osx.mak
osx-dict:
	$(MAKE) -f compile/Make_osx.mak dictionary
osx-install: osx-all
	$(MAKE) -f compile/Make_osx.mak install
osx-uninstall:
	$(MAKE) -f compile/Make_osx.mak uninstall
osx-clean:
	$(MAKE) -f compile/Make_osx.mak clean
osx-distclean:
	$(MAKE) -f compile/Make_osx.mak distclean

##############################################################################
# for Sun's Solaris/gcc
#	(Tested on Solaris 8)
#
sun: sun-rel
sun-all: sun-rel sun-dict
sun-rel:
	$(MAKE) -f compile/Make_sun.mak
sun-dict:
	$(MAKE) -f compile/Make_sun.mak dictionary
sun-install: sun-all
	$(MAKE) -f compile/Make_sun.mak install
sun-uninstall:
	$(MAKE) -f compile/Make_sun.mak uninstall
sun-clean:
	$(MAKE) -f compile/Make_sun.mak clean
sun-distclean:
	$(MAKE) -f compile/Make_sun.mak distclean