move udns build directly into the mod_enum makefile so it gets all our cflags

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4919 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-04-11 14:37:40 +00:00
parent 14b9a90906
commit a483c238b9
2 changed files with 12 additions and 16 deletions
+6 -7
View File
@@ -1,11 +1,10 @@
BASE=../../../..
UDNS_DIR=$(BASE)/libs/udns
UDNSA=$(UDNS_DIR)/libudns.a
LOCAL_CFLAGS=-I$(UDNS_DIR)
LOCAL_LIBADD=$(UDNSA)
LOCAL_CFLAGS=-I$(UDNS_DIR) -DHAVE_POLL
LOCAL_OBJS=$(UDNS_DIR)/udns_dn.o $(UDNS_DIR)/udns_dntosp.o $(UDNS_DIR)/udns_parse.o $(UDNS_DIR)/udns_misc.o \
$(UDNS_DIR)/udns_rr_a.o $(UDNS_DIR)/udns_rr_ptr.o $(UDNS_DIR)/udns_rr_mx.o $(UDNS_DIR)/udns_rr_txt.o $(UDNS_DIR)/udns_bl.o \
$(UDNS_DIR)/udns_rr_srv.o $(UDNS_DIR)/udns_rr_naptr.o $(UDNS_DIR)/udns_codes.o $(UDNS_DIR)/udns_resolver.o
include $(BASE)/build/modmake.rules
$(UDNSA): $(UDNS_DIR) $(UDNS_DIR)/.update
cd $(UDNS_DIR) && $(MAKE) staticlib
$(TOUCH_TARGET)