#GNU makefile

PROG=	acpidump
MAN=	acpidump.8
SRCS=	acpi.c acpi_user.c asl_dump.c aml_dump.c acpidump.c
SRCS+=	aml_name.c aml_parse.c aml_amlmem.c aml_memman.c aml_obj.c
SRCS+=	aml_common.c aml_evalobj.c aml_store.c

VPATH=	.:aml

#FreeBSD
CFLAGS+= -I. -Icompat -include config.h
#Linux
#CFLAGS+= -I. -Icompat -include config.h.linux

OBJS+=  ${patsubst %c,%o,${SRCS}}

${PROG}:${OBJS}
