xref: /netbsd-src/sys/external/bsd/acpica/dist/Makefile (revision 6881a4007f077b54e5f51159c52b9b25f57deb0d)
1#
2# Common make for acpica tools and utilities
3#
4
5#
6# Note: This makefile is intended to be used from within the native
7# ACPICA directory structure, from under top level acpica directory.
8# It specifically places all the object files for each tool in separate
9# generate/unix subdirectories, not within the various ACPICA source
10# code directories. This prevents collisions between different
11# compilations of the same source file with different compile options.
12#
13
14ifeq ($(OS),efi)
15	BUILD_DIRECTORY_PATH = "generate/efi"
16	include generate/efi/Makefile.config
17	include generate/efi/Makefile.common
18else
19	BUILD_DIRECTORY_PATH = "generate/unix"
20	include generate/unix/Makefile.config
21	include generate/unix/Makefile.common
22endif
23