aboutsummaryrefslogtreecommitdiff
path: root/source/tools/acpisrc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/acpisrc/Makefile')
-rw-r--r--source/tools/acpisrc/Makefile124
1 files changed, 0 insertions, 124 deletions
diff --git a/source/tools/acpisrc/Makefile b/source/tools/acpisrc/Makefile
deleted file mode 100644
index 58a8654e350c..000000000000
--- a/source/tools/acpisrc/Makefile
+++ /dev/null
@@ -1,124 +0,0 @@
-#
-# acpisrc - ACPICA source code conversion utility
-#
-# NOTE: This makefile is intended to be used in the Linux environment,
-# with the Linux directory structure. It will not work directly
-# on the native ACPICA source tree.
-#
-
-#
-# Configuration
-# Notes:
-# gcc should be version 4 or greater, otherwise some of the options
-# used will not be recognized.
-# Global optimization flags (such as -O2, -Os) are not used, since
-# they cause issues on some compilers.
-# The _GNU_SOURCE symbol is required for many hosts.
-#
-PROG = acpisrc
-
-HOST = _LINUX
-NOMAN = YES
-COMPILE = $(CC) -c $(CFLAGS) $(CWARNINGFLAGS) -o$@ $<
-
-ACPICA_SRC = ../../../source
-ACPICA_COMMON = $(ACPICA_SRC)/common
-ACPICA_TOOLS = $(ACPICA_SRC)/tools
-ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
-ACPICA_CORE = $(ACPICA_SRC)/components
-ACPICA_INCLUDE = $(ACPICA_SRC)/include
-ACPICA_DEBUGGER = $(ACPICA_CORE)/debugger
-ACPICA_DISASSEMBLER = $(ACPICA_CORE)/disassembler
-ACPICA_DISPATCHER = $(ACPICA_CORE)/dispatcher
-ACPICA_EVENTS = $(ACPICA_CORE)/events
-ACPICA_EXECUTER = $(ACPICA_CORE)/executer
-ACPICA_HARDWARE = $(ACPICA_CORE)/hardware
-ACPICA_NAMESPACE = $(ACPICA_CORE)/namespace
-ACPICA_PARSER = $(ACPICA_CORE)/parser
-ACPICA_RESOURCES = $(ACPICA_CORE)/resources
-ACPICA_TABLES = $(ACPICA_CORE)/tables
-ACPICA_UTILITIES = $(ACPICA_CORE)/utilities
-ACPISRC = $(ACPICA_TOOLS)/acpisrc
-INSTALLDIR = /usr/bin
-INSTALLPROG = cp --remove-destination $(PROG) $(INSTALLDIR)
-
-ACPICA_HEADERS = \
- $(wildcard $(ACPICA_INCLUDE)/*.h) \
- $(wildcard $(ACPICA_INCLUDE)/platform/*.h)
-
-#
-# Search path for source files and individual source files
-#
-vpath %.c \
- $(ACPISRC) \
- $(ACPICA_COMMON) \
- $(ACPICA_OSL)
-
-HEADERS = \
- $(wildcard $(ACPISRC)/*.h)
-
-OBJECTS = \
- ascase.o \
- asconvrt.o \
- asfile.o \
- asmain.o \
- asremove.o \
- astable.o \
- asutils.o \
- osunixdir.o \
- getopt.o
-
-CFLAGS+= \
- -D$(HOST) \
- -D_GNU_SOURCE \
- -DACPI_SRC_APP \
- -I$(ACPISRC) \
- -I$(ACPICA_INCLUDE)
-
-CWARNINGFLAGS = \
- -ansi \
- -Wall \
- -Wbad-function-cast \
- -Wdeclaration-after-statement \
- -Werror \
- -Wformat=2 \
- -Wmissing-declarations \
- -Wmissing-prototypes \
- -Wstrict-aliasing=0 \
- -Wstrict-prototypes \
- -Wswitch-default \
- -Wpointer-arith \
- -Wundef
-
-#
-# gcc 4+ flags
-#
-CWARNINGFLAGS += \
- -Waddress \
- -Waggregate-return \
- -Wchar-subscripts \
- -Wempty-body \
- -Wlogical-op \
- -Wmissing-declarations \
- -Wmissing-field-initializers \
- -Wmissing-parameter-type \
- -Wnested-externs \
- -Wold-style-declaration \
- -Wold-style-definition \
- -Wredundant-decls \
- -Wtype-limits
-
-#
-# Rules
-#
-$(PROG) : $(OBJECTS)
- $(CC) $(LDFLAGS) $(OBJECTS) -o $(PROG)
-
-%.o : %.c $(HEADERS) $(ACPICA_HEADERS)
- $(COMPILE)
-
-clean :
- rm -f $(PROG) $(PROG).exe $(OBJECTS)
-
-install :
- $(INSTALLPROG)