File: Makefile

package info (click to toggle)
acpica-unix 20140926-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 31,916 kB
  • ctags: 13,890
  • sloc: ansic: 136,284; sh: 4,244; yacc: 3,217; makefile: 1,493; lex: 939
file content (51 lines) | stat: -rw-r--r-- 1,167 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# acpixtract - extract binary ACPI tables from acpidump text output
#

#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
FINAL_PROG = ../$(BINDIR)/acpixtract
PROG = $(OBJDIR)/acpixtract

#
# Search paths for source files
#
vpath %.c \
    $(ACPIXTRACT)\
    $(ACPICA_UTILITIES)\
    $(ACPICA_COMMON)\
    $(ACPICA_OSL)

HEADERS = \
    $(wildcard $(ACPIXTRACT)/*.h)

OBJECTS = \
    $(OBJDIR)/acpixtract.o\
    $(OBJDIR)/axmain.o\
    $(OBJDIR)/getopt.o\
    $(OBJDIR)/oslibcfs.o\
    $(OBJDIR)/osunixxf.o\
    $(OBJDIR)/utdebug.o\
    $(OBJDIR)/utexcep.o\
    $(OBJDIR)/utglobal.o\
    $(OBJDIR)/utmath.o\
    $(OBJDIR)/utprint.o\
    $(OBJDIR)/utxferror.o

#
# Flags specific to acpixtract
#
CFLAGS += \
    -DACPI_XTRACT_APP

#
# Common Rules
#
include ../Makefile.rules