1
0

patch-server_Makefile_recursive 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- maradns-1.4.05.orig/server/Makefile.recursive 2007-08-16 15:35:43.000000000 +0200
  2. +++ maradns-1.4.05/server/Makefile.recursive 2011-01-21 16:45:30.748658697 +0100
  3. @@ -34,26 +34,26 @@ libs/tests:
  4. cd libs ; make
  5. read_kvars.o: read_kvars.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
  6. - $(CC) -c $(FLAGS) -o read_kvars.o read_kvars.c
  7. + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o read_kvars.o read_kvars.c
  8. MaraBigHash.o: MaraBigHash.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h MaraBigHash_locale.h
  9. - $(CC) -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
  10. + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o MaraBigHash.o MaraBigHash.c
  11. recursive.o: recursive.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
  12. - $(CC) -c $(FLAGS) -o recursive.o recursive.c
  13. + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o recursive.o recursive.c
  14. timestamp.o: timestamp.c MaraDNS_locale.h
  15. - $(CC) -c $(FLAGS) -o timestamp.o timestamp.c
  16. + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o timestamp.o timestamp.c
  17. MaraAnyChain.o: MaraAnyChain.c
  18. - $(CC) -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c
  19. + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o MaraAnyChain.o MaraAnyChain.c
  20. udpsuccess.o: udpsuccess.c
  21. - $(CC) -c $(FLAGS) -o udpsuccess.o udpsuccess.c
  22. + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o udpsuccess.o udpsuccess.c
  23. maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h
  24. - $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
  25. + $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
  26. simple: simple.c $(XOBJECTS) MaraDNS_locale.h
  27. - $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c
  28. + $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c