Merge branch 'vendor/TNFTP'
[dragonfly.git] / sys / contrib / dev / acpica / generate / unix / acpisrc / Makefile
1 #
2 # acpisrc - ACPICA source code conversion 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)/acpisrc
15 PROG = $(OBJDIR)/acpisrc
16
17 #
18 # Search path for source files and individual source files
19 #
20 vpath %.c \
21     $(ACPISRC)\
22     $(ACPICA_COMMON)\
23     $(ACPICA_OSL)
24
25 HEADERS = \
26     $(wildcard $(ACPISRC)/*.h)
27
28 OBJECTS = \
29     $(OBJDIR)/ascase.o\
30     $(OBJDIR)/asconvrt.o\
31     $(OBJDIR)/asfile.o\
32     $(OBJDIR)/asmain.o\
33     $(OBJDIR)/asremove.o\
34     $(OBJDIR)/astable.o\
35     $(OBJDIR)/asutils.o\
36         $(OBJDIR)/cmfsize.o\
37     $(OBJDIR)/getopt.o \
38     $(OBJDIR)/osunixdir.o
39
40 #
41 # Compile flags specific to acpisrc
42 #
43 CFLAGS += \
44     -DACPI_SRC_APP\
45     -I$(ACPISRC)
46
47 #
48 # Common Rules
49 #
50 include ../Makefile.rules