~stomato463/+junk/nvdajp

« back to all changes in this revision

Viewing changes to nvdaHelper/local/sconscript

  • Committer: Masataka Shinke
  • Date: 2011-10-25 12:35:26 UTC
  • mfrom: (4185 jpmain)
  • mto: This revision was merged to the branch mainline in revision 4211.
  • Revision ID: mshinke@users.sourceforge.jp-20111025123526-ze527a2rl3z0g2ky
lp:~nishimotz/nvdajp/main : 4185 をマージ

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###
 
2
#This file is a part of the NVDA project.
 
3
#URL: http://www.nvda-project.org/
 
4
#Copyright 2006-2010 NVDA contributers.
 
5
#This program is free software: you can redistribute it and/or modify
 
6
#it under the terms of the GNU General Public License version 2.0, as published by
 
7
#the Free Software Foundation.
 
8
#This program is distributed in the hope that it will be useful,
 
9
#but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
11
#This license can be found at:
 
12
#http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 
13
###
 
14
 
1
15
Import([
2
16
        'env',
3
17
])
4
18
 
5
 
winIPCUtilsObj=env.Object("./winIPCUtils","#common/winIPCUtils.cpp")
 
19
winIPCUtilsObj=env.Object("./winIPCUtils","../common/winIPCUtils.cpp")
6
20
 
7
21
controllerRPCHeader,controllerRPCServerSource=env.MSRPCStubs(
8
22
        target="./nvdaController",
9
23
        source=[
10
 
                "#interfaces/nvdaController/nvdaController.idl",
11
 
                "#interfaces/nvdaController/nvdaController.acf",
 
24
                "../interfaces/nvdaController/nvdaController.idl",
 
25
                "../interfaces/nvdaController/nvdaController.acf",
12
26
        ],
13
27
        MSRPCStubs_noClient=True,
14
28
        MSRPCStubs_prefix="nvdaController_",
17
31
controllerInternalRPCHeader,controllerInternalRPCServerSource=env.MSRPCStubs(
18
32
        target="./nvdaControllerInternal",
19
33
        source=[
20
 
                "#interfaces/nvdaControllerInternal/nvdaControllerInternal.idl",
21
 
                "#interfaces/nvdaControllerInternal/nvdaControllerInternal.acf",
 
34
                "../interfaces/nvdaControllerInternal/nvdaControllerInternal.idl",
 
35
                "../interfaces/nvdaControllerInternal/nvdaControllerInternal.acf",
22
36
        ],
23
37
        MSRPCStubs_noClient=True,
24
38
        MSRPCStubs_prefix="nvdaControllerInternal_",
27
41
vbufRPCHeader,vbufRPCClientSource=env.MSRPCStubs(
28
42
        target="./vbuf",
29
43
        source=[
30
 
                "#interfaces/vbuf/vbuf.idl",
 
44
                "../interfaces/vbuf/vbuf.idl",
31
45
        ],
32
46
        MSRPCStubs_noServer=True,
33
47
        MSRPCStubs_prefix="VBuf_",
34
48
)
35
49
 
 
50
nvdaInProcUtilsRPCHeader,nvdaInProcUtilsRPCClientSource=env.MSRPCStubs(
 
51
        target="./nvdaInProcUtils",
 
52
        source=[
 
53
                "../interfaces/nvdaInProcUtils/nvdaInProcUtils.idl",
 
54
                "../interfaces/nvdaInProcUtils/nvdaInProcUtils.acf",
 
55
        ],
 
56
        MSRPCStubs_noServer=True,
 
57
        MSRPCStubs_prefix="nvdaInProcUtils_",
 
58
)
 
59
 
 
60
displayModelRPCHeader,displayModelRPCClientSource=env.MSRPCStubs(
 
61
        target="./displayModel",
 
62
        source=[
 
63
                "../interfaces/displayModel/displayModel.idl",
 
64
                "../interfaces/displayModel/displayModel.acf",
 
65
        ],
 
66
        MSRPCStubs_noServer=True,
 
67
        MSRPCStubs_prefix="displayModel_",
 
68
)
 
69
 
36
70
localLib=env.SharedLibrary(
37
71
        target="nvdaHelperLocal",
38
72
        source=[
39
73
                "nvdaHelperLocal.cpp",
40
74
                "beeps.cpp",
41
75
                vbufRPCClientSource,
 
76
                nvdaInProcUtilsRPCClientSource,
 
77
                displayModelRPCClientSource,
42
78
                'rpcSrv.cpp',
43
79
                'nvdaController.c',
44
80
                winIPCUtilsObj,
45
81
                controllerRPCServerSource,
46
82
                'nvdaControllerInternal.c',
47
83
                controllerInternalRPCServerSource,
 
84
                "dllImportTableHooks.cpp",
 
85
                "nvdaHelperLocal.def",
 
86
                "textUtils.cpp",
48
87
        ],
49
88
        LIBS=[
50
89
                "user32",
 
90
                "usp10",
 
91
                "ole32",
51
92
                "oleaut32",
52
93
                "rpcrt4",
 
94
                "shlwapi",
53
95
        ],
54
96
)
55
97