mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
prettier compiling in optimize mode
git-svn-id: file:///svn/unbound/trunk@1827 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
c611bbba3f
commit
2e02003687
1 changed files with 4 additions and 2 deletions
|
|
@ -5,8 +5,10 @@ debug_enabled=@debug_enabled@
|
|||
ifeq "$(QUIET)" ""
|
||||
ifeq ($(debug_enabled),yes)
|
||||
QUIET=yes
|
||||
LIBTOOLQUIET=yes
|
||||
else
|
||||
QUIET=no
|
||||
LIBTOOLQUIET=yes
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
@ -62,7 +64,7 @@ RUNTIME_PATH=@RUNTIME_PATH@
|
|||
DEPFLAG=@DEPFLAG@
|
||||
DATE=$(shell date +%Y%m%d)
|
||||
LIBTOOL=$(libtool)
|
||||
ifeq "$(QUIET)" "yes"
|
||||
ifeq "$(LIBTOOLQUIET)" "yes"
|
||||
LIBTOOL+=--quiet
|
||||
endif
|
||||
BUILD=build/
|
||||
|
|
@ -176,7 +178,7 @@ $(BUILD)%.lo: $(srcdir)/%.c
|
|||
@if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \
|
||||
then (cd $(ldnsdir); $(MAKE) copy-headers); fi
|
||||
@-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi
|
||||
$Q$(COMPILE) -c $< -o $@
|
||||
$Q$(COMPILE) -o $@ -c $<
|
||||
|
||||
all: $(COMMON_OBJ) unbound$(EXEEXT) unbound-checkconf$(EXEEXT) lib unbound-host$(EXEEXT) unbound-control$(EXEEXT) unbound-control-setup $(WINAPPS)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue