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