--- maradns-2.0.13.orig/deadwood-3.2.09/src/Makefile 2015-01-24 09:09:04.000000000 +0100 +++ maradns-2.0.13/deadwood-3.2.09/src/Makefile 2015-10-22 15:56:39.000000000 +0200 @@ -1,4 +1,4 @@ -# Makefile for Deadwood-2 (CentOS 5; may work with other other Linux and +# Makefile for Deadwood-3 (CentOS 5; may work with other other Linux and # *NIX systems) # The compiler that makes programs designed to run on the machine @@ -41,31 +41,31 @@ version.h: ./make.version.h DwStr.o: DwStr.c DwStr.h - $(CC) $(FLAGS) -Wall -c -o DwStr.o DwStr.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwStr.o DwStr.c DwCompress.o: DwCompress.c DwStr.h - $(CC) $(FLAGS) -Wall -c -o DwCompress.o DwCompress.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwCompress.o DwCompress.c DwDnsStr.o: DwDnsStr.c DwStr.h DwRecurse.h - $(CC) $(FLAGS) -Wall -c -o DwDnsStr.o DwDnsStr.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwDnsStr.o DwDnsStr.c DwMararc.o: DwMararc.c DwMararc.h - $(CC) $(FLAGS) -Wall -c -o DwMararc.o DwMararc.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwMararc.o DwMararc.c DwRadioGatun.o: DwRadioGatun.c DwRadioGatun.h DwStr.h - $(CC) $(FLAGS) -Wall -c -o DwRadioGatun.o DwRadioGatun.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwRadioGatun.o DwRadioGatun.c DwTcpSocket.o: DwTcpSocket.c DwStr.h DwSocket.h - $(CC) $(FLAGS) -Wall -c -o DwTcpSocket.o DwTcpSocket.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwTcpSocket.o DwTcpSocket.c DwUdpSocket.o: DwUdpSocket.c DwStr.h DwSocket.h - $(CC) $(FLAGS) -Wall -c -o DwUdpSocket.o DwUdpSocket.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwUdpSocket.o DwUdpSocket.c DwSocket.o: DwSocket.c DwStr.h DwSocket.h - $(CC) $(FLAGS) -Wall -c -o DwSocket.o DwSocket.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSocket.o DwSocket.c -DwSys.o: DwSys.c DwStr.h version.h - $(CC) $(FLAGS) -Wall -c -o DwSys.o DwSys.c +DwSys.o: DwSys.c DwStr.h + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSys.o DwSys.c RandomPrime: RandomPrime.c $(CC) -O3 -o RandomPrime RandomPrime.c @@ -74,17 +74,17 @@ DwRandPrime.h: RandomPrime if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; fi DwHash.o: DwHash.c DwStr.h DwRandPrime.h DwHash.h - $(CC) $(FLAGS) -Wall -c -o DwHash.o DwHash.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwHash.o DwHash.c DwRecurse.o: DwRecurse.c DwRecurse.h - $(CC) $(FLAGS) -Wall -c -o DwRecurse.o DwRecurse.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwRecurse.o DwRecurse.c DwDict.o: DwDict.c DwStr.h DwRandPrime.h DwDict.h - $(CC) $(FLAGS) -Wall -c -o DwDict.o DwDict.c + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwDict.o DwDict.c Test: Test.c DwStr.o DwStr.h DwStr_functions.h $(OBJS) $(CC) $(FLAGS) -Wall -o Test Test.c $(OBJS) Deadwood: DwMain.c $(OBJS) DwStr_functions.h version.h - $(CC) $(FLAGS) -Wall -o Deadwood DwMain.c $(OBJS) -lrt + $(CC) $(FLAGS) -DIPV6 -Wall -o Deadwood DwMain.c $(OBJS) -lrt