mirror of
https://github.com/acpica/acpica/
synced 2025-01-16 14:29:18 +03:00
4ffab75309
Cleanup and reformatting.
53 lines
1.0 KiB
Makefile
53 lines
1.0 KiB
Makefile
#
|
|
# acpihelp - ACPI Help utility. Displays ASL operator syntax and
|
|
# information about ACPI predefined names.
|
|
#
|
|
|
|
#
|
|
# 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
|
|
PROG = acpihelp
|
|
|
|
#
|
|
# Flags specific to acpihelp
|
|
#
|
|
CFLAGS+= \
|
|
-DACPI_APPLICATION \
|
|
-I$(ACPICA_TOOLS)/acpihelp
|
|
|
|
OBJS = \
|
|
ahmain.o \
|
|
getopt.o
|
|
|
|
#
|
|
# Root rule
|
|
#
|
|
$(PROG) : $(OBJS)
|
|
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
|
|
$(COPYPROG)
|
|
|
|
#
|
|
# acpihelp source
|
|
#
|
|
ahmain.o : $(ACPICA_TOOLS)/acpihelp/ahmain.c
|
|
$(COMPILE)
|
|
|
|
#
|
|
# ACPICA core source - common
|
|
#
|
|
getopt.o : $(ACPICA_COMMON)/getopt.c
|
|
$(COMPILE)
|
|
|
|
|
|
clean :
|
|
rm -f $(PROG) $(PROG).exe $(OBJS)
|
|
|
|
install :
|
|
$(INSTALLPROG)
|