870b773b9cbbcf6a2ad7a31fbcb0902ca5479830
[reactos.git] / reactos / drivers / bus / acpi / CMakeLists.txt
1
2 include_directories(
3 include
4 acpica/include)
5
6 if(ARCH STREQUAL "amd64")
7 add_definitions(-DWIN64)
8 endif()
9
10 add_library(acpica
11 acpica/dispatcher/dsargs.c
12 acpica/dispatcher/dscontrol.c
13 acpica/dispatcher/dsfield.c
14 acpica/dispatcher/dsinit.c
15 acpica/dispatcher/dsmethod.c
16 acpica/dispatcher/dsmthdat.c
17 acpica/dispatcher/dsobject.c
18 acpica/dispatcher/dsopcode.c
19 acpica/dispatcher/dsutils.c
20 acpica/dispatcher/dswexec.c
21 acpica/dispatcher/dswload.c
22 acpica/dispatcher/dswload2.c
23 acpica/dispatcher/dswscope.c
24 acpica/dispatcher/dswstate.c
25 acpica/events/evevent.c
26 acpica/events/evglock.c
27 acpica/events/evgpe.c
28 acpica/events/evgpeblk.c
29 acpica/events/evgpeinit.c
30 acpica/events/evgpeutil.c
31 acpica/events/evmisc.c
32 acpica/events/evregion.c
33 acpica/events/evrgnini.c
34 acpica/events/evsci.c
35 acpica/events/evxface.c
36 acpica/events/evxfevnt.c
37 acpica/events/evxfgpe.c
38 acpica/events/evxfregn.c
39 acpica/executer/exconfig.c
40 acpica/executer/exconvrt.c
41 acpica/executer/excreate.c
42 acpica/executer/exdebug.c
43 #acpica/executer/exdump.c
44 acpica/executer/exfield.c
45 acpica/executer/exfldio.c
46 acpica/executer/exmisc.c
47 acpica/executer/exmutex.c
48 acpica/executer/exoparg1.c
49 acpica/executer/exoparg2.c
50 acpica/executer/exoparg3.c
51 acpica/executer/exoparg6.c
52 acpica/executer/exnames.c
53 acpica/executer/exprep.c
54 acpica/executer/exregion.c
55 acpica/executer/exresnte.c
56 acpica/executer/exresolv.c
57 acpica/executer/exresop.c
58 acpica/executer/exstore.c
59 acpica/executer/exstoren.c
60 acpica/executer/exstorob.c
61 acpica/executer/exsystem.c
62 acpica/executer/exutils.c
63 acpica/hardware/hwacpi.c
64 acpica/hardware/hwgpe.c
65 acpica/hardware/hwpci.c
66 acpica/hardware/hwregs.c
67 acpica/hardware/hwsleep.c
68 acpica/hardware/hwtimer.c
69 acpica/hardware/hwvalid.c
70 acpica/hardware/hwxface.c
71 acpica/namespace/nsaccess.c
72 acpica/namespace/nsalloc.c
73 #acpica/namespace/nsdump.c
74 #acpica/namespace/nsdumpdv.c
75 acpica/namespace/nseval.c
76 acpica/namespace/nsinit.c
77 acpica/namespace/nsload.c
78 acpica/namespace/nsnames.c
79 acpica/namespace/nsobject.c
80 acpica/namespace/nsparse.c
81 acpica/namespace/nspredef.c
82 acpica/namespace/nsrepair.c
83 acpica/namespace/nsrepair2.c
84 acpica/namespace/nssearch.c
85 acpica/namespace/nsutils.c
86 acpica/namespace/nswalk.c
87 acpica/namespace/nsxfeval.c
88 acpica/namespace/nsxfname.c
89 acpica/namespace/nsxfobj.c
90 acpica/parser/psargs.c
91 acpica/parser/psloop.c
92 acpica/parser/psopcode.c
93 acpica/parser/psparse.c
94 acpica/parser/psscope.c
95 acpica/parser/pstree.c
96 acpica/parser/psutils.c
97 acpica/parser/pswalk.c
98 acpica/parser/psxface.c
99 acpica/resources/rsaddr.c
100 acpica/resources/rscalc.c
101 acpica/resources/rscreate.c
102 #acpica/resources/rsdump.c
103 acpica/resources/rsinfo.c
104 acpica/resources/rsio.c
105 acpica/resources/rsirq.c
106 acpica/resources/rslist.c
107 acpica/resources/rsmemory.c
108 acpica/resources/rsmisc.c
109 acpica/resources/rsutils.c
110 acpica/resources/rsxface.c
111 acpica/tables/tbfadt.c
112 acpica/tables/tbfind.c
113 acpica/tables/tbinstal.c
114 acpica/tables/tbutils.c
115 acpica/tables/tbxface.c
116 acpica/tables/tbxfroot.c
117 acpica/utilities/utalloc.c
118 acpica/utilities/utcache.c
119 acpica/utilities/utclib.c
120 acpica/utilities/utcopy.c
121 acpica/utilities/utdebug.c
122 acpica/utilities/utdecode.c
123 acpica/utilities/utdelete.c
124 acpica/utilities/uteval.c
125 acpica/utilities/utglobal.c
126 acpica/utilities/utids.c
127 acpica/utilities/utinit.c
128 acpica/utilities/utlock.c
129 acpica/utilities/utmath.c
130 acpica/utilities/utmisc.c
131 acpica/utilities/utmutex.c
132 acpica/utilities/utobject.c
133 acpica/utilities/utosi.c
134 acpica/utilities/utresrc.c
135 acpica/utilities/utstate.c
136 acpica/utilities/uttrack.c
137 acpica/utilities/utxface.c
138 acpica/utilities/utxferror.c)
139
140 set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE")
141 add_dependencies(acpica bugcodes)
142
143 add_library(acpi SHARED
144 busmgr/bus.c
145 busmgr/button.c
146 busmgr/power.c
147 busmgr/utils.c
148 busmgr/system.c
149 osl.c
150 acpienum.c
151 eval.c
152 interface.c
153 pnp.c
154 power.c
155 buspdo.c
156 main.c)
157
158 set_module_type(acpi kernelmodedriver)
159 target_link_libraries(acpi wdmguid acpica ${PSEH_LIB})
160 add_importlibs(acpi ntoskrnl hal)
161 add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB FOR all)
162
163 add_subdirectory(cmbatt)
164 add_subdirectory(compbatt)