move vendored libraries to their own directory
This commit is contained in:
parent
27141d803c
commit
3115e9e9f8
22
LICENSE.md
22
LICENSE.md
@ -45,14 +45,18 @@ referenced by citing:
|
||||
[N. B. Marushchenko, C. D. Beidler, and H. Maassberg, *Fusion Sci.
|
||||
Technol.* **55** (2009) 180](https://doi.org/10.13182/FST55-180).
|
||||
|
||||
GRAY includes adaptations of software developed by the University of
|
||||
GRAY contains adaptations of software developed by the University of
|
||||
Chicago, as Operator of Argonne National Laboratory, and other public
|
||||
domain libraries
|
||||
([`dierckx`](https://netlib.org/dierckx/),
|
||||
[`minpack`](https://netlib.org/minpack/),
|
||||
[`quadpack`](https://netlib.org/quadpack/),
|
||||
[`slatec`](https://netlib.org/slatec/))
|
||||
obtained from the [Netlib](https://netlib.org/) repository.
|
||||
domain libraries, including but not limited to, the following packages
|
||||
|
||||
The full license notice for the `minpack` library can be found in the
|
||||
[documentation](./minpack-LICENSE.txt).
|
||||
- [`dierckx`](https://netlib.org/dierckx/),
|
||||
|
||||
- [`minpack`](https://netlib.org/minpack/),
|
||||
|
||||
- [`quadpack`](https://netlib.org/quadpack/),
|
||||
|
||||
- [`slatec`](https://netlib.org/slatec/)
|
||||
|
||||
that were obtained from the [Netlib](https://netlib.org/) repository.
|
||||
For more information refer to the relevant source code in the
|
||||
[src/vendor]{./src/vendor} directory.
|
||||
|
8
Makefile
8
Makefile
@ -33,10 +33,10 @@ DIRS = $(BINDIR) $(OBJDIR) $(INCDIR) $(LIBDIR) $(SHAREDIR)
|
||||
##
|
||||
|
||||
# All Fortran source files
|
||||
SOURCES = $(wildcard $(SRCDIR)/*.f90)
|
||||
SOURCES = $(shell find '$(SRCDIR)' -name '*.f90')
|
||||
|
||||
# All Fortran object
|
||||
OBJECTS = $(patsubst $(SRCDIR)/%.f90,$(OBJDIR)/%.o,$(SOURCES))
|
||||
OBJECTS = $(addprefix $(OBJDIR)/,$(notdir $(SOURCES:f90=o)))
|
||||
|
||||
# Generated makefiles describing object dependencies
|
||||
DEPS = $(OBJECTS:o=d)
|
||||
@ -226,6 +226,10 @@ $(OBJDIR)/%.d: $(SRCDIR)/%.f90 | $(OBJDIR)
|
||||
$(OBJDIR)/%.o: $(SRCDIR)/%.f90 | $(OBJDIR) $(INCDIR)
|
||||
$(FC) -cpp $(CPPFLAGS) $(FFLAGS) -c '$<' -o '$@'
|
||||
|
||||
# Compile vendored libraries
|
||||
$(OBJDIR)/%.o: $(SRCDIR)/vendor/%.f90 | $(OBJDIR) $(INCDIR)
|
||||
$(FC) -cpp $(CPPFLAGS) $(FFLAGS) -c '$<' -o '$@'
|
||||
|
||||
# Generate Fortran code from awk script
|
||||
$(INCDIR)/%.inc: $(SRCDIR)/%.awk | $(INCDIR)
|
||||
awk -f '$<' > '$@'
|
||||
|
0
src/eierf.f90 → src/vendor/eierf.f90
vendored
0
src/eierf.f90 → src/vendor/eierf.f90
vendored
0
src/numint.f90 → src/vendor/numint.f90
vendored
0
src/numint.f90 → src/vendor/numint.f90
vendored
Loading…
Reference in New Issue
Block a user