patch-deadwood-3_2_09_src_Makefile 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --- maradns-2.0.13.orig/deadwood-3.2.09/src/Makefile 2015-01-24 09:09:04.000000000 +0100
  2. +++ maradns-2.0.13/deadwood-3.2.09/src/Makefile 2015-10-22 15:56:39.000000000 +0200
  3. @@ -1,4 +1,4 @@
  4. -# Makefile for Deadwood-2 (CentOS 5; may work with other other Linux and
  5. +# Makefile for Deadwood-3 (CentOS 5; may work with other other Linux and
  6. # *NIX systems)
  7. # The compiler that makes programs designed to run on the machine
  8. @@ -41,31 +41,31 @@ version.h:
  9. ./make.version.h
  10. DwStr.o: DwStr.c DwStr.h
  11. - $(CC) $(FLAGS) -Wall -c -o DwStr.o DwStr.c
  12. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwStr.o DwStr.c
  13. DwCompress.o: DwCompress.c DwStr.h
  14. - $(CC) $(FLAGS) -Wall -c -o DwCompress.o DwCompress.c
  15. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwCompress.o DwCompress.c
  16. DwDnsStr.o: DwDnsStr.c DwStr.h DwRecurse.h
  17. - $(CC) $(FLAGS) -Wall -c -o DwDnsStr.o DwDnsStr.c
  18. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwDnsStr.o DwDnsStr.c
  19. DwMararc.o: DwMararc.c DwMararc.h
  20. - $(CC) $(FLAGS) -Wall -c -o DwMararc.o DwMararc.c
  21. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwMararc.o DwMararc.c
  22. DwRadioGatun.o: DwRadioGatun.c DwRadioGatun.h DwStr.h
  23. - $(CC) $(FLAGS) -Wall -c -o DwRadioGatun.o DwRadioGatun.c
  24. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwRadioGatun.o DwRadioGatun.c
  25. DwTcpSocket.o: DwTcpSocket.c DwStr.h DwSocket.h
  26. - $(CC) $(FLAGS) -Wall -c -o DwTcpSocket.o DwTcpSocket.c
  27. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwTcpSocket.o DwTcpSocket.c
  28. DwUdpSocket.o: DwUdpSocket.c DwStr.h DwSocket.h
  29. - $(CC) $(FLAGS) -Wall -c -o DwUdpSocket.o DwUdpSocket.c
  30. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwUdpSocket.o DwUdpSocket.c
  31. DwSocket.o: DwSocket.c DwStr.h DwSocket.h
  32. - $(CC) $(FLAGS) -Wall -c -o DwSocket.o DwSocket.c
  33. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSocket.o DwSocket.c
  34. -DwSys.o: DwSys.c DwStr.h version.h
  35. - $(CC) $(FLAGS) -Wall -c -o DwSys.o DwSys.c
  36. +DwSys.o: DwSys.c DwStr.h
  37. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSys.o DwSys.c
  38. RandomPrime: RandomPrime.c
  39. $(CC) -O3 -o RandomPrime RandomPrime.c
  40. @@ -74,17 +74,17 @@ DwRandPrime.h: RandomPrime
  41. if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; fi
  42. DwHash.o: DwHash.c DwStr.h DwRandPrime.h DwHash.h
  43. - $(CC) $(FLAGS) -Wall -c -o DwHash.o DwHash.c
  44. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwHash.o DwHash.c
  45. DwRecurse.o: DwRecurse.c DwRecurse.h
  46. - $(CC) $(FLAGS) -Wall -c -o DwRecurse.o DwRecurse.c
  47. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwRecurse.o DwRecurse.c
  48. DwDict.o: DwDict.c DwStr.h DwRandPrime.h DwDict.h
  49. - $(CC) $(FLAGS) -Wall -c -o DwDict.o DwDict.c
  50. + $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwDict.o DwDict.c
  51. Test: Test.c DwStr.o DwStr.h DwStr_functions.h $(OBJS)
  52. $(CC) $(FLAGS) -Wall -o Test Test.c $(OBJS)
  53. Deadwood: DwMain.c $(OBJS) DwStr_functions.h version.h
  54. - $(CC) $(FLAGS) -Wall -o Deadwood DwMain.c $(OBJS) -lrt
  55. + $(CC) $(FLAGS) -DIPV6 -Wall -o Deadwood DwMain.c $(OBJS) -lrt