26 |
RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector |
RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector |
27 |
CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb |
CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb |
28 |
LDFLAGS := |
LDFLAGS := |
29 |
|
VERBOSE_TEST := |
30 |
|
ifneq ($(VERBOSE_TEST),) |
31 |
|
VERBOSE_TEST="--verbose" |
32 |
|
endif |
33 |
|
|
34 |
grubby_LIBS = -lblkid -lpopt |
grubby_LIBS = -lblkid -lpopt |
35 |
|
|
47 |
|
|
48 |
test: all |
test: all |
49 |
@export TOPDIR=$(TOPDIR) |
@export TOPDIR=$(TOPDIR) |
50 |
@./test.sh |
@./test.sh $(VERBOSE_TEST) |
51 |
|
|
52 |
install: all |
install: all |
53 |
mkdir -p $(DESTDIR)/$(sbindir) |
mkdir -p $(DESTDIR)/$(sbindir) |