aboutsummaryrefslogtreecommitdiff
path: root/acpi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'acpi/Makefile')
-rw-r--r--acpi/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/acpi/Makefile b/acpi/Makefile
index f84f4b35..76f27aef 100644
--- a/acpi/Makefile
+++ b/acpi/Makefile
@@ -21,15 +21,22 @@ makemode = server
PORTDIR = $(srcdir)/port
SRCS = main.c netfs_impl.c acpi.c \
- acpifs.c ncache.c options.c func_files.c
+ acpifs.c ncache.c options.c func_files.c acpi-ops.c \
+ acpiServer.c
+
MIGSRCS =
OBJS = $(patsubst %.S,%.o,$(patsubst %.c,%.o, $(SRCS) $(MIGSRCS)))
HURDLIBS= fshelp ports shouldbeinlibc netfs iohelp ihash
-LDLIBS = -lpthread
+LDLIBS = -lpthread $(libacpica_LIBS)
target = acpi
include ../Makeconf
-CFLAGS += -I$(PORTDIR)/include
+CFLAGS += -I$(PORTDIR)/include $(libacpica_CFLAGS)
+
+acpi-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
+
+# cpp doesn't automatically make dependencies for -imacros dependencies. argh.
+acpi_S.h acpiServer.c: mig-mutate.h