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