1
0

patch-build_Makefile_linux 1011 B

1234567891011121314151617181920212223242526272829303132
  1. --- maradns-1.4.05.orig/build/Makefile.linux 2006-11-24 12:44:29.000000000 +0100
  2. +++ maradns-1.4.05/build/Makefile.linux 2011-01-21 16:36:23.968658279 +0100
  3. @@ -23,23 +23,23 @@ EXECS=server/maradns
  4. # LDFLAGS=-L/usr/ucblib -lucb -lxnet
  5. # end the Solaris section
  6. # Non-Solaris version of "M"
  7. -V="VERSION=$(VERSION)"
  8. +VER="VERSION=$(VERSION)"
  9. Q="DEFINES=-DSELECT_PROBLEM"
  10. # Debug
  11. -FLAGS = -O2 -Wall -DSELECT_PROBLEM
  12. -M="CC=$(CC) $(FLAGS)"
  13. -D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS"
  14. +CFLAGS ?= -O2 -Wall -DSELECT_PROBLEM
  15. +M="CC=$(CC)"
  16. +D="CC=$(CC) -DDEBUG -DTHREADS"
  17. #FLAGS = -g
  18. all:
  19. cd libs ; make $(M) ; cd ../dns ; make $(M) ; \
  20. cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \
  21. cd ../qual ; make $(M) ; cd ../server ; \
  22. - make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \
  23. + make $(M) $(VER) COMPILED=\"$(COMPILED)\" ; \
  24. cd ../tools ; make $(M) ; \
  25. - cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST
  26. + cd ../tcp ; make $(M) $(VER)
  27. debug:
  28. cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \