kernel: Sync ACPICA with Intel's version 20140627.
[dragonfly.git] / sys / contrib / dev / acpica / Makefile
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
14 ifeq ($(OS),efi)
15         BUILD_DIRECTORY_PATH = "generate/efi"
16         include generate/efi/Makefile.config
17         include generate/efi/Makefile.common
18 else
19         BUILD_DIRECTORY_PATH = "generate/unix"
20         include generate/unix/Makefile.config
21         include generate/unix/Makefile.common
22 endif