2012-09-23 10:49:25 +08:00
|
|
|
PROG= acpidump
|
2012-09-23 10:33:19 +08:00
|
|
|
SRCS= acpidump.c
|
|
|
|
KERNEL_INCLUDE := ../../../include
|
2012-09-23 10:49:25 +08:00
|
|
|
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
|
2012-09-23 10:33:19 +08:00
|
|
|
|
|
|
|
all: acpidump
|
2012-09-23 10:49:25 +08:00
|
|
|
$(PROG) : $(SRCS)
|
2012-09-23 10:33:19 +08:00
|
|
|
$(CC) $(CFLAGS) $(SRCS) -o $(PROG)
|
|
|
|
|
|
|
|
CLEANFILES= $(PROG)
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
|
|
|
|
|
2012-09-23 11:30:22 +08:00
|
|
|
install :
|
|
|
|
install acpidump /usr/bin/acpidump
|
|
|
|
install acpidump.8 /usr/share/man/man8
|
|
|
|
|