2004-05-09 Michael Poole <mdpoole@troilus.org>
[ircu2.10.12-pk.git] / Makefile.in
index 2b3f0faa4a2891163bd3f71cf3e3ddf079d87d1c..854f9f14b7569522096c31b679e15d03b2141ce5 100644 (file)
@@ -25,11 +25,12 @@ VPATH = @srcdir@
 SHELL = @SHPROG@
 RM = @RMPROG@
 AWK = @AWK@
+adns_subdir = @ADNS_SUBDIR@
 @SET_MAKE@
 #### End of system configuration section. ####
 
-SUBDIRS = doc ircd
-IRCD_MAKEFILES = Makefile doc/Makefile ircd/Makefile
+SUBDIRS = doc ${adns_subdir} ircd
+IRCD_MAKEFILES = Makefile doc/Makefile adns/Makefile ircd/Makefile
 
 all: build
 
@@ -102,6 +103,7 @@ depend: ${IRCD_MAKEFILES}
 
 install: ${IRCD_MAKEFILES}
        test -d ${prefix} || mkdir ${prefix}
+       test -d ${prefix}/include || mkdir ${prefix}/include
        @for i in ${SUBDIRS}; do \
                echo "Installing $$i..."; \
                cd $$i; ${MAKE} install; cd ..; \