Author: Alex Badea <vampire@p16.pub.ro>
[ircu2.10.12-pk.git] / ircd / Makefile.in
index c60189dcf10988571db2dba20794181fe3451fc8..c550c0eccb7fbe59af79fbd753ae6e5c3406f749 100644 (file)
@@ -43,6 +43,7 @@ YACC = bison -y
 GREP = grep
 OSDEP_C = @OSDEP_C@
 ENGINE_C = @ENGINE_C@
+RES_C = @RES_C@
 @SET_MAKE@
 
 BINDIR = @bindir@
@@ -57,7 +58,7 @@ RPATH = ${DPATH}/remote.motd
 
 CC = @CC@
 CFLAGS = @CFLAGS@
-CPPFLAGS = -I. -I.. -I${top_srcdir}/include @CPPFLAGS@
+CPPFLAGS = -I. -I.. -I${top_srcdir}/include -I${top_srcdir}/adns/src @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 
@@ -78,6 +79,10 @@ ENGINE_SRC = \
        engine_kqueue.c \
        engine_select.c
 
+RES_SRC = \
+       res_adns.c \
+       res_libresolv.c
+
 IRCD_SRC = \
        IPcheck.c \
        channel.c \
@@ -184,7 +189,6 @@ IRCD_SRC = \
        parse.c \
        querycmds.c \
        random.c \
-       res.c \
        s_auth.c \
        s_bsd.c \
        s_conf.c \
@@ -204,7 +208,7 @@ IRCD_SRC = \
        y.tab.c
 
 
-SRC = ${IRCD_SRC} ${OSDEP_C} ${ENGINE_C}
+SRC = ${IRCD_SRC} ${OSDEP_C} ${ENGINE_C} ${RES_C}
 
 OBJS = ${SRC:%.c=%.o}