This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.am
90 lines (80 loc) · 1.54 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
DEBUG_CXXFLAGS = -g -D_DEBUG -DDEBUG
bin_PROGRAMS = mayu
INCLUDE_FILES = \
_tchar.h \
array.h \
compiler_specific.h \
compiler_specific_func.h \
common.h \
gcc_main.h \
misc.h \
stringtool.h \
wintypes.h \
engine.h \
errormessage.h \
function.h \
functions.h \
driver.h \
keymap.h \
keyboard.h \
parser.h \
mayu.h \
msgstream.h \
multithread.h \
setting.h \
vkeytable.h \
d/ioctl.h \
d/linux/cpu_dependency.h \
d/linux/keydriver.h
mayu_SOURCES = \
$(INCLUDE_FILES) \
compiler_specific_func.cpp \
engine.cpp \
function.cpp \
keyboard.cpp \
keymap.cpp \
vkeytable.cpp \
mayu.cpp \
parser.cpp \
setting.cpp \
stringtool.cpp \
gcc_main.cpp
mayu_CXXFLAGS = -Wall
mayu_CPPFLAGS = \
$(DEBUG_CPPFLAGS) \
-DVERSION=""""$(VERSION)"""" \
-DLOGNAME=""""$(LOGNAME)"""" \
-DCOMPUTERNAME=""""$(COMPUTERNAME)"""" \
-DPKGDATADIR="\"$(pkgdatadir)\"" \
@BOOST_CPPFLAGS@
nobase_dist_pkgdata_DATA= \
109.mayu \
104.mayu \
mac109.mayu \
mac104.mayu \
windows109.mayu \
windows104.mayu \
linux109.mayu \
linux104.mayu \
104on109.mayu \
109on104.mayu \
default.mayu \
dot.mayu \
contrib/DVORAKon109.mayu \
contrib/109onAX.mayu \
contrib/keitai.mayu \
contrib/dvorak.mayu \
contrib/dvorak109.mayu \
emacsedit.mayu
mayu_LDFLAGS = @BOOST_LDFLAGS@
mayu_LDADD = @BOOST_REGEX_LIB@
if OS_LINUX
mayu_SOURCES += d/linux/keydriver.cpp
else
if OS_DARWIN
SUBDIRS = d/darwin
endif
endif
debug :
$(MAKE) CFLAGS="$(DEBUG_CXXFLAGS)" CXXFLAGS="$(DEBUG_CXXFLAGS)"