Permalink
Browse files

Refactoring.

1. Rework build system - new simple makefiles work in all popular
make programs.

2. Remove autocrap (autotools related stuff).

3. Make libefp simpler to use - just add all .c files from src
directory to your project or link with libefp.a.

4. Prefix all exported symbols in libefp.a with efp_ to avoid name
collisions.

5. Move web stuff out of main source tree.
  • Loading branch information...
ilyak committed Feb 21, 2013
1 parent 648a18b commit 3e78fdd267a30fc8e81468a52a21d0a8ab2e40cf
Showing with 1,166 additions and 3,505 deletions.
  1. +2 −0 .gitattributes
  2. +0 −1,809 Doxyfile
  3. +0 −166 GNUmakefile.am
  4. +22 −8 Makefile
  5. +0 −5 NEWS
  6. +0 −1 VERSION
  7. +0 −19 autogen.sh
  8. +0 −21 common/Makefile
  9. +0 −67 common/compat.c
  10. +0 −14 common/compat.h
  11. +0 −144 common/util.c
  12. +0 −15 common/util.h
  13. +0 −71 configure.ac
  14. +0 −3 efpmd/Makefile
  15. +0 −20 efpmd/optimizer/Makefile
  16. +62 −39 efpmd/src/Makefile
  17. +1 −2 efpmd/src/cfg.h
  18. +3 −3 efpmd/src/clapack.h
  19. +18 −0 efpmd/src/common.c
  20. +4 −6 efpmd/src/common.h
  21. +1 −1 efpmd/src/hess.c
  22. 0 efpmd/{optimizer → src/lbfgsb}/License.txt
  23. 0 efpmd/{optimizer → src/lbfgsb}/blas.f
  24. 0 efpmd/{optimizer → src/lbfgsb}/lbfgsb.f
  25. 0 efpmd/{optimizer → src/lbfgsb}/linpack.f
  26. 0 efpmd/{optimizer → src/lbfgsb}/timer.f
  27. +5 −5 efpmd/src/main.c
  28. +1 −1 efpmd/src/md.c
  29. +1 −3 efpmd/src/opt.c
  30. 0 efpmd/{optimizer → src}/optimizer.c
  31. 0 efpmd/{optimizer → src}/optimizer.h
  32. +16 −10 efpmd/src/parse.c
  33. +3 −3 common/phys_const.h → efpmd/src/phys.h
  34. +3 −3 efpmd/src/rand.h
  35. +0 −5 m4/.gitignore
  36. +44 −27 src/Makefile
  37. 0 {common → src}/cblas.h
  38. +23 −15 src/disp.c
  39. +0 −39 src/disp.h
  40. +596 −549 src/efp.c
  41. +3 −0 src/efp.h
  42. +39 −39 src/elec.c
  43. +19 −56 src/elec.h
  44. +29 −7 src/{elec_grad.c → elec_terms.c}
  45. +1 −1 src/int.h
  46. +38 −0 {common → src}/math_util.h
  47. +33 −28 src/parse.c
  48. +25 −25 src/pol.c
  49. +12 −13 src/{efp_private.h → private.h}
  50. +28 −2 src/swf.c
  51. +29 −3 src/swf.h
  52. +45 −8 src/{efp_util.c → util.c}
  53. +11 −12 src/xr.c
  54. +26 −56 tests/Makefile
  55. +19 −2 tests/test.c
  56. +4 −3 tests/test_common.h
  57. +0 −1 web/CNAME
  58. +0 −68 web/header.html
  59. +0 −107 web/index.txt
  60. BIN web/speedup.png
View
@@ -0,0 +1,2 @@
.gitattributes export-ignore
.gitignore export-ignore
View
1,809 Doxyfile

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View
@@ -1,11 +1,25 @@
SUBDIR = common src
V= 0.9.8-beta
.if !defined(WITHOUT_EFPMD)
SUBDIR += efpmd
.endif
all: efpmd tests
.if !defined(WITHOUT_TESTS)
SUBDIR += tests
.endif
efpmd: libefp
cd efpmd/src && $(MAKE)
.include <subdir.mk>
tests: libefp
cd tests && $(MAKE)
libefp:
cd src && $(MAKE)
tags clean:
cd src && $(MAKE) $@
cd efpmd/src && $(MAKE) $@
cd tests && $(MAKE) $@
check: tests
@./tests/test
dist:
git archive --format=tar.gz --prefix=libefp-$V/ -o libefp-$V.tar.gz HEAD
.PHONY: all efpmd tests libefp tags clean check dist
View
5 NEWS

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 3e78fdd

Please sign in to comment.