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#
13include ../Makefile.config
14FINAL_PROG = ../$(BINDIR)/acpibin
15PROG = $(OBJDIR)/acpibin
16
17#
18# Search paths for source files
19#
20vpath %.c \
21    $(ACPIBIN)\
22    $(ACPICA_UTILITIES)\
23    $(ACPICA_COMMON)\
24    $(ACPICA_OSL)
25
26HEADERS = \
27    $(wildcard $(ACPIBIN)/*.h)
28
29OBJECTS = \
30	$(OBJDIR)/abcompare.o\
31	$(OBJDIR)/abmain.o\
32	$(OBJDIR)/cmfsize.o\
33	$(OBJDIR)/getopt.o\
34	$(OBJDIR)/utalloc.o\
35	$(OBJDIR)/utascii.o\
36	$(OBJDIR)/utbuffer.o\
37	$(OBJDIR)/utcache.o\
38	$(OBJDIR)/utdebug.o\
39	$(OBJDIR)/utdecode.o\
40	$(OBJDIR)/utexcep.o\
41	$(OBJDIR)/utglobal.o\
42	$(OBJDIR)/utlock.o\
43	$(OBJDIR)/utmath.o\
44	$(OBJDIR)/utmisc.o\
45	$(OBJDIR)/utmutex.o\
46	$(OBJDIR)/utprint.o\
47	$(OBJDIR)/utstate.o\
48	$(OBJDIR)/utstring.o\
49	$(OBJDIR)/utxferror.o\
50	$(OBJDIR)/oslibcfs.o\
51	$(OBJDIR)/osunixxf.o
52
53#
54# Flags specific to acpibin
55#
56CFLAGS += \
57    -DACPI_BIN_APP\
58    -I$(ACPIBIN)
59
60#
61# Common Rules
62#
63include ../Makefile.rules
64