From 9ddeb96e0bfe27bca3b7a5034141d8fd897b1e88 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 3 Apr 2021 15:26:00 +1100 Subject: libacpica: Add makefile --- Makefile | 1 + libacpica/Makefile | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 libacpica/Makefile diff --git a/Makefile b/Makefile index 0e2ee1ec..fd8cef4d 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ lib-subdirs = libshouldbeinlibc libihash libiohelp libports \ libhurd-slab \ libbpf \ libmachdev \ + libacpica \ # Hurd programs prog-subdirs = auth proc exec term \ diff --git a/libacpica/Makefile b/libacpica/Makefile new file mode 100644 index 00000000..81916dce --- /dev/null +++ b/libacpica/Makefile @@ -0,0 +1,189 @@ +# Copyright (C) 2021 Free Software Foundation, Inc. +# This file is part of the GNU Hurd. +# +# The GNU Hurd is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# The GNU Hurd is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with the GNU Hurd; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +dir := libacpica +makemode := library +libname = libacpica + +# __KERNEL__ is needed: +# even though we are in userspace, we are acting like a kernel +# from the point of view of ACPICA +CFLAGS += -D__KERNEL__ \ + -I$(top_srcdir)/libacpica \ + -I$(top_srcdir)/libacpica/acpi/platform + +SRCS = \ + acpi_init.c \ + dsargs.c \ + dscontrol.c \ + dsfield.c \ + dsinit.c \ + dsmethod.c \ + dsmthdat.c \ + dsobject.c \ + dsopcode.c \ + dspkginit.c \ + dsutils.c \ + dswexec.c \ + dswload.c \ + dswload2.c \ + dswscope.c \ + dswstate.c \ + evevent.c \ + evgpe.c \ + evgpeblk.c \ + evgpeinit.c \ + evgpeutil.c \ + evglock.c \ + evhandler.c \ + evmisc.c \ + evregion.c \ + evrgnini.c \ + evsci.c \ + evxface.c \ + evxfevnt.c \ + evxfgpe.c \ + evxfregn.c \ + exconcat.c \ + exconfig.c \ + exconvrt.c \ + excreate.c \ + exdebug.c \ + exdump.c \ + exfield.c \ + exfldio.c \ + exmisc.c \ + exmutex.c \ + exnames.c \ + exoparg1.c \ + exoparg2.c \ + exoparg3.c \ + exoparg6.c \ + exprep.c \ + exregion.c \ + exresnte.c \ + exresolv.c \ + exresop.c \ + exserial.c \ + exstore.c \ + exstoren.c \ + exstorob.c \ + exsystem.c \ + extrace.c \ + exutils.c \ + hwacpi.c \ + hwesleep.c \ + hwgpe.c \ + hwpci.c \ + hwregs.c \ + hwsleep.c \ + hwvalid.c \ + hwxface.c \ + hwxfsleep.c \ + nsaccess.c \ + nsalloc.c \ + nsarguments.c \ + nsconvert.c \ + nsdump.c \ + nseval.c \ + nsinit.c \ + nsload.c \ + nsnames.c \ + nsobject.c \ + nsparse.c \ + nspredef.c \ + nsprepkg.c \ + nsrepair.c \ + nsrepair2.c \ + nssearch.c \ + nsutils.c \ + nswalk.c \ + nsxfeval.c \ + nsxfname.c \ + nsxfobj.c \ + psargs.c \ + psloop.c \ + psobject.c \ + psopcode.c \ + psopinfo.c \ + psparse.c \ + psscope.c \ + pstree.c \ + psutils.c \ + pswalk.c \ + psxface.c \ + rsaddr.c \ + rscalc.c \ + rscreate.c \ + rsdumpinfo.c \ + rsinfo.c \ + rsio.c \ + rsirq.c \ + rslist.c \ + rsmemory.c \ + rsmisc.c \ + rsserial.c \ + rsutils.c \ + rsxface.c \ + tbdata.c \ + tbfadt.c \ + tbfind.c \ + tbinstal.c \ + tbprint.c \ + tbutils.c \ + tbxface.c \ + tbxfload.c \ + tbxfroot.c \ + utaddress.c \ + utalloc.c \ + utascii.c \ + utbuffer.c \ + utcache.c \ + utcopy.c \ + utexcep.c \ + utdebug.c \ + utdecode.c \ + utdelete.c \ + uterror.c \ + uteval.c \ + uthex.c \ + utids.c \ + utinit.c \ + utlock.c \ + utmath.c \ + utmisc.c \ + utmutex.c \ + utnonansi.c \ + utobject.c \ + utosi.c \ + utownerid.c \ + utpredef.c \ + utresdecode.c \ + utresrc.c \ + utstate.c \ + utstring.c \ + utstrsuppt.c \ + utstrtoul64.c \ + utxface.c \ + utxfinit.c \ + utxferror.c \ + utxfmutex.c \ + + +OBJS = $(SRCS:.c=.o) + +include ../Makeconf -- cgit v1.2.3