1.2.1-gentoo.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --- cns_solve_1.21/instlib/source/Makefile.proto 2000-09-07 20:35:33.000000000 +0200
  2. +++ cns_solve_1.21/instlib/source/Makefile.proto.new 2009-07-14 09:18:37.000000000 +0200
  3. @@ -11,6 +11,8 @@
  4. SHELL=/bin/sh
  5. +cns_string=`date "+%y%m%d%H%M"`
  6. +
  7. # commands
  8. RM = /bin/rm
  9. @@ -25,26 +27,20 @@
  10. # rule for the fortran routines
  11. $(OBJS):
  12. - @ echo "compiling: $(@:.o=.f)"; \
  13. - $(F77) -c $(F77FLAGS) $(@:.o=.f)
  14. + $(F77) -c $(F77FLAGS) $(@:.o=.f)
  15. # rule for the dynamic memory allocation C routines
  16. dmemory.o: dmemory.c
  17. - @ echo ; echo "compiling: $?"
  18. - @ $(CC) -c $(CCFLAGS) $?
  19. + $(CC) -c $(CCFLAGS) $?
  20. # rule for the machine specific C routines
  21. machine_c.o: machine_c.c
  22. - @ echo ; echo "compiling: $?"
  23. - @ $(CC) -c $(CCFLAGS) $?
  24. + $(CC) -c $(CCFLAGS) $?
  25. # rule for the executable itself
  26. ../bin/cns_solve: $(DEPENDS)
  27. - @ echo ; echo "linking: cns_solve"; echo
  28. - @ cns_string=`date "+%y%m%d%H%M"`; \
  29. - $(LD) -o cns_solve-$$cns_string.exe $(OBJS) dmemory.o machine_c.o \
  30. - $(LDFLAGS) \
  31. - $(CNS_FFTDIR) $(CNS_FFTLIB); \
  32. + $(LD) $(LDFLAGS) -o cns_solve-$$cns_string.exe $(OBJS) dmemory.o machine_c.o \
  33. + $(CNS_FFTDIR) $(CNS_FFTLIB); \
  34. if [ -x cns_solve-$$cns_string.exe ]; \
  35. then echo "created executable file cns_solve-$$cns_string.exe"; \
  36. echo ""; cd ../bin; $(RM) -f cns_solve; $(RM) -f cns; \
  37. --- cns_solve_1.21/instlib/utils/Makefile 2004-08-30 00:40:35.000000000 +0200
  38. +++ cns_solve_1.21/instlib/utils/Makefile.new 2009-07-14 09:50:27.000000000 +0200
  39. @@ -22,14 +22,14 @@
  40. make clean
  41. .f:
  42. - $(F77) -o $@ $(F77FLAGS) $(@).f $(F77LINK)
  43. + $(F77) $(LDFLAGS) -o $@ $(F77FLAGS) $(@).f $(F77LINK)
  44. .c:
  45. - $(CC) -o $@ $(CCFLAGS) $(@).c $(CCLINK)
  46. + $(CC) $(LDFLAGS) -o $@ $(CCFLAGS) $(@).c $(CCLINK)
  47. .l:
  48. lex $(@).l
  49. - $(CC) $(CCFLAGS) -o $@ lex.yy.c $(CCLINK) -l$(LEXLIB)
  50. + $(CC) $(LDFLAGS) $(CCFLAGS) -o $@ lex.yy.c $(CCLINK) -l$(LEXLIB)
  51. relink:
  52. @ cd $(CNS_INST)/utils; touch x; rm -f x `ls * | grep -v Makefile`