kernel: Sync ACPICA with Intel's version 20140627.
[dragonfly.git] / sys / contrib / dev / acpica / generate / unix / acpibin / Makefile
1 #
2 # acpibin - Binary ACPI table utility
3 #
4
5 #
6 # Note: This makefile is intended to be used from within the native
7 # ACPICA directory structure, from under generate/unix. It specifically
8 # places all object files in a generate/unix subdirectory, not within
9 # the various ACPICA source directories. This prevents collisions
10 # between different compilations of the same source file with different
11 # compile options, and prevents pollution of the source code.
12 #
13 include ../Makefile.config
14 FINAL_PROG = ../$(BINDIR)/acpibin
15 PROG = $(OBJDIR)/acpibin
16
17 #
18 # Search paths for source files
19 #
20 vpath %.c \
21     $(ACPIBIN)\
22     $(ACPICA_UTILITIES)\
23     $(ACPICA_COMMON)\
24     $(ACPICA_OSL)
25
26 HEADERS = \
27     $(wildcard $(ACPIBIN)/*.h)
28
29 OBJECTS = \
30         $(OBJDIR)/abcompare.o\
31         $(OBJDIR)/abmain.o\
32         $(OBJDIR)/cmfsize.o\
33         $(OBJDIR)/getopt.o\
34         $(OBJDIR)/utalloc.o\
35         $(OBJDIR)/utbuffer.o\
36         $(OBJDIR)/utcache.o\
37         $(OBJDIR)/utdebug.o\
38         $(OBJDIR)/utdecode.o\
39         $(OBJDIR)/utexcep.o\
40         $(OBJDIR)/utglobal.o\
41         $(OBJDIR)/utlock.o\
42         $(OBJDIR)/utmath.o\
43         $(OBJDIR)/utmisc.o\
44         $(OBJDIR)/utmutex.o\
45         $(OBJDIR)/utprint.o\
46         $(OBJDIR)/utstate.o\
47         $(OBJDIR)/utstring.o\
48         $(OBJDIR)/utxferror.o\
49         $(OBJDIR)/oslibcfs.o\
50         $(OBJDIR)/osunixxf.o
51
52 #
53 # Flags specific to acpibin
54 #
55 CFLAGS += \
56     -DACPI_BIN_APP\
57     -I$(ACPIBIN)
58
59 #
60 # Common Rules
61 #
62 include ../Makefile.rules