|
|
@ -15,6 +15,7 @@ CC = gcc |
|
|
|
LD = gcc
|
|
|
|
LD = gcc
|
|
|
|
RANLIB = ranlib
|
|
|
|
RANLIB = ranlib
|
|
|
|
#RM = rm -f
|
|
|
|
#RM = rm -f
|
|
|
|
|
|
|
|
CP = cp -afv
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS = -O2 -Wall -I.
|
|
|
|
CFLAGS = -O2 -Wall -I.
|
|
|
|
CFLAGS += -DCARES_STATICLIB
|
|
|
|
CFLAGS += -DCARES_STATICLIB
|
|
|
@ -46,6 +47,9 @@ $(OBJLIB): ares.h ares_dns.h ares_private.h ares_build.h ares_rules.h |
|
|
|
.c.o: |
|
|
|
.c.o: |
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ares_build.h: |
|
|
|
|
|
|
|
$(CP) ares_build.h.dist ares_build.h
|
|
|
|
|
|
|
|
|
|
|
|
check: |
|
|
|
check: |
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
install: |
|
|
@ -67,4 +71,7 @@ clean: |
|
|
|
|
|
|
|
|
|
|
|
distclean: clean |
|
|
|
distclean: clean |
|
|
|
$(RM) config.cache config.log config.status Makefile
|
|
|
|
$(RM) config.cache config.log config.status Makefile
|
|
|
|
|
|
|
|
ifeq "$(wildcard ares_build.h.dist)" "ares_build.h.dist" |
|
|
|
|
|
|
|
$(RM) ares_build.h
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|