e183fcb344
Change the default location to install acpidump into from /usr/bin to /usr/sbin, as this tool needs to be run as root. [rjw: Subject and changelog] Signed-off-by: Thomas Renninger <trenn@suse.de> Tested-by: Lee, Chun-Yi <jlee@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
18 lines
437 B
Makefile
18 lines
437 B
Makefile
PROG= acpidump
|
|
SRCS= acpidump.c
|
|
KERNEL_INCLUDE := ../../../include
|
|
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
|
|
|
|
all: acpidump
|
|
$(PROG) : $(SRCS)
|
|
$(CC) $(CFLAGS) $(SRCS) -o $(PROG)
|
|
|
|
CLEANFILES= $(PROG)
|
|
|
|
clean :
|
|
rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
|
|
|
|
install :
|
|
install acpidump /usr/sbin/acpidump
|
|
install acpidump.8 /usr/share/man/man8
|
|
|