tools/power/acpi/acpidump: create acpidump(8), local make install targets
[linux-drm-fsl-dcu.git] / tools / power / acpi / Makefile
1 PROG= acpidump
2 SRCS=   acpidump.c
3 KERNEL_INCLUDE := ../../../include
4 CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
5
6 all: acpidump
7 $(PROG) : $(SRCS)
8         $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
9
10 CLEANFILES= $(PROG)
11
12 clean : 
13         rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
14
15 install :
16         install acpidump /usr/bin/acpidump
17         install acpidump.8 /usr/share/man/man8
18