xref: /dragonfly/sys/contrib/dev/acpica/Makefile (revision 5f39c7e70ca0960d1868c75a449064df712dbb10)
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