bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/5] acpica: Add makefile


From: Damien Zammit
Subject: [PATCH 1/5] acpica: Add makefile
Date: Thu, 1 Apr 2021 00:23:26 +1100

---
 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..e83ca855
--- /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        \
+       utglobal.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
-- 
2.30.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]