FS-3110 --comment-only phase 3.1 nevermind use getlibs
This commit is contained in:
parent
017bea0468
commit
a25ef8b9ae
|
@ -0,0 +1,34 @@
|
|||
# LDNS=ldns-1.6.9
|
||||
# BASE=../../../..
|
||||
|
||||
# LDNS_DIR=$(switch_srcdir)/libs/$(LDNS)
|
||||
# LDNS_BUILDDIR=$(switch_builddir)/libs/$(LDNS)
|
||||
# LDNSLA=$(LDNS_BUILDDIR)/libldns.la
|
||||
|
||||
# include $(BASE)/build/modmake.rules
|
||||
# LOCAL_LIBADD=$(LDNSLA)
|
||||
|
||||
|
||||
BASE=../../../..
|
||||
|
||||
LDNS=ldns-1.6.9
|
||||
|
||||
LDNS_DIR=$(switch_srcdir)/libs/$(LDNS)
|
||||
LDNS_BUILDDIR=$(switch_builddir)/libs/$(LDNS)
|
||||
LOCAL_CFLAGS=-I$(LDNS_DIR) -I$(LDNS_DIR)/include
|
||||
LDNS_LA=$(LDNS_BUILDDIR)/libldns.la
|
||||
LOCAL_LIBADD=$(LDNS_LA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(LDNS_DIR)/Makefile.in:
|
||||
$(GETLIB) $(LDNS).tar.gz
|
||||
|
||||
$(LDNS_BUILDDIR)/Makefile: $(LDNS_DIR)/Makefile.in
|
||||
mkdir -p $(LDNS_BUILDDIR)
|
||||
cd $(LDNS_BUILDDIR) && $(DEFAULT_VARS) $(LDNS_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(LDNS_DIR) --disable-gost
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
$(LDNS_LA): $(LDNS_BUILDDIR)/Makefile
|
||||
cd $(LDNS_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
Loading…
Reference in New Issue