patch-tcp_Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- maradns-1.4.05.orig/tcp/Makefile 2005-12-20 11:10:40.000000000 +0100
  2. +++ maradns-1.4.05/tcp/Makefile 2011-01-21 16:41:10.254914344 +0100
  3. @@ -2,10 +2,11 @@ JOBJS=../libs/JsStr.o ../libs/JsStrOS.o
  4. MJOBJS=../qual/qual_timestamp.o
  5. MHOBJS=../libs/MaraHash.o
  6. DOBJECTS=../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o
  7. +POBJ6=../parse/Csv2_rr_wks.o
  8. POBJ5=../parse/Csv2_database.o ../parse/Csv2_rr_txt.o ../parse/Csv2_esc_txt.o
  9. POBJ3=../parse/Csv2_rr_soa.o ../parse/Csv2_rr_aaaa.o ../parse/Csv2_rr_a.o
  10. POBJ2=../parse/Csv2_read.o ../parse/Csv2_main.o ../parse/Csv2_parse.o $(POBJ3)
  11. -POBJ4=../parse/ParseIpAcl.o ../parse/Parse_ipv6.o $(POBJ2)
  12. +POBJ4=../parse/ParseIpAcl.o ../parse/Parse_ipv6.o $(POBJ2) $(POBJ6)
  13. POBJECTS=../parse/ParseMaraRc.o ../parse/ParseCsv1.o $(POBJ4) $(POBJ5)
  14. OBJECTS=../parse/ParseCsv1.o ../parse/ParseMaraRc.o ../parse/ParseIpAcl.o
  15. SOBJECTS=../server/timestamp.o ../server/MaraBigHash.o ../server/read_kvars.o \
  16. @@ -16,7 +17,7 @@ OBJECTS=$(JOBJS) $(MHOBJS) $(MJOBJS) $(D
  17. $(TCPOBJS)
  18. EXECS=getzone zoneserver fetchzone
  19. -FLAGS = -g -Wall $(DEBUG)
  20. +#FLAGS = -g -Wall $(DEBUG)
  21. #FLAGS = -g $(DEBUG)
  22. all: $(EXECS)
  23. @@ -25,11 +26,11 @@ clean:
  24. rm -f core $(EXECS) $(TCPOBJS) *.exe
  25. getzone: getzone.c $(OBJECTS)
  26. - $(CC) $(FLAGS) -o getzone getzone.c $(OBJECTS)
  27. + $(CC) $(CFLAGS) $(LDFLAGS) -o getzone getzone.c $(OBJECTS)
  28. fetchzone: fetchzone.c $(OBJECTS)
  29. - $(CC) $(FLAGS) -o fetchzone fetchzone.c $(OBJECTS)
  30. + $(CC) $(CFLAGS) $(LDFLAGS) -o fetchzone fetchzone.c $(OBJECTS)
  31. zoneserver: zoneserver.c zoneserver_en.h $(OBJECTS)
  32. - $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
  33. + $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)