mirror of https://github.com/ecmwf/eccodes.git
ECC-63: Change name of the library (autotools)
This commit is contained in:
parent
f0ea1ec12f
commit
47085c545f
|
@ -52,7 +52,7 @@ bufr_subset_SOURCES = bufr_subset.c
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/src
|
INCLUDES = -I$(top_builddir)/src
|
||||||
|
|
||||||
LDADD = $(top_builddir)/src/libgrib_api.la
|
LDADD = $(top_builddir)/src/libeccodes.la
|
||||||
DEPENDENCIES = $(LDADD)
|
DEPENDENCIES = $(LDADD)
|
||||||
|
|
||||||
EXTRA_DIST =$(TESTS) include.sh CMakeLists.txt include.ctest.sh.in
|
EXTRA_DIST =$(TESTS) include.sh CMakeLists.txt include.ctest.sh.in
|
||||||
|
|
|
@ -51,7 +51,7 @@ INCLUDES = -I$(top_builddir)/src
|
||||||
|
|
||||||
AM_FCFLAGS = $(F90_MODULE_FLAG)$(top_builddir)/fortran
|
AM_FCFLAGS = $(F90_MODULE_FLAG)$(top_builddir)/fortran
|
||||||
|
|
||||||
LDADD = $(top_builddir)/fortran/libgrib_api_f90.la $(top_builddir)/src/libgrib_api.la
|
LDADD = $(top_builddir)/fortran/libeccodes_f90.la $(top_builddir)/src/libeccodes.la
|
||||||
DEPENDENCIES = $(LDADD)
|
DEPENDENCIES = $(LDADD)
|
||||||
|
|
||||||
EXTRA_DIST =$(TESTS) include.sh CMakeLists.txt include.ctest.sh.in
|
EXTRA_DIST =$(TESTS) include.sh CMakeLists.txt include.ctest.sh.in
|
||||||
|
|
|
@ -12,7 +12,7 @@ p_print_data_SOURCES = print_data.c
|
||||||
p_iterator_SOURCES = iterator.c
|
p_iterator_SOURCES = iterator.c
|
||||||
p_count_messages_SOURCES = count_messages.c
|
p_count_messages_SOURCES = count_messages.c
|
||||||
INCLUDES = -I$(top_builddir)/src
|
INCLUDES = -I$(top_builddir)/src
|
||||||
LDADD = $(top_builddir)/src/libgrib_api.la
|
LDADD = $(top_builddir)/src/libeccodes.la
|
||||||
DEPENDENCIES = $(LDADD)
|
DEPENDENCIES = $(LDADD)
|
||||||
|
|
||||||
EXTRA_DIST = $(TESTS) include.sh clone.py count_messages.py get.py index.py iterator.py keys_iterator.py multi_write.py \
|
EXTRA_DIST = $(TESTS) include.sh clone.py count_messages.py get.py index.py iterator.py keys_iterator.py multi_write.py \
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
AM_CFLAGS = @WARN_PEDANTIC@
|
AM_CFLAGS = @WARN_PEDANTIC@
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgrib_api_f77.la libgrib_api_f90.la
|
lib_LTLIBRARIES = libeccodes_f77.la libeccodes_f90.la
|
||||||
include_HEADERS = grib_api_f77.h
|
include_HEADERS = grib_api_f77.h
|
||||||
|
|
||||||
libgrib_api_f77_la_SOURCES= grib_fortran.c grib_f77.c
|
libeccodes_f77_la_SOURCES= grib_fortran.c grib_f77.c
|
||||||
libgrib_api_f77_la_DEPENDENCIES = $(top_builddir)/src/libgrib_api.la
|
libeccodes_f77_la_DEPENDENCIES = $(top_builddir)/src/libeccodes.la
|
||||||
libgrib_api_f77_la_LDFLAGS = -version-info $(GRIB_ABI_CURRENT):$(GRIB_ABI_REVISION):$(GRIB_ABI_AGE)
|
libeccodes_f77_la_LDFLAGS = -version-info $(GRIB_ABI_CURRENT):$(GRIB_ABI_REVISION):$(GRIB_ABI_AGE)
|
||||||
|
|
||||||
libgrib_api_f90_la_SOURCES= grib_fortran.c grib_f90.f90 eccodes_f90.f90
|
libeccodes_f90_la_SOURCES= grib_fortran.c grib_f90.f90 eccodes_f90.f90
|
||||||
libgrib_api_f90_la_DEPENDENCIES = $(top_builddir)/src/libgrib_api.la grib_api_externals.h grib_api_visibility.h grib_api_constants.h grib_kinds.h
|
libeccodes_f90_la_DEPENDENCIES = $(top_builddir)/src/libeccodes.la grib_api_externals.h grib_api_visibility.h grib_api_constants.h grib_kinds.h
|
||||||
libgrib_api_f90_la_LDFLAGS = -version-info $(GRIB_ABI_CURRENT):$(GRIB_ABI_REVISION):$(GRIB_ABI_AGE)
|
libeccodes_f90_la_LDFLAGS = -version-info $(GRIB_ABI_CURRENT):$(GRIB_ABI_REVISION):$(GRIB_ABI_AGE)
|
||||||
|
|
||||||
libgrib_api_fortran_prototypes= grib_fortran.c
|
libeccodes_fortran_prototypes= grib_fortran.c
|
||||||
|
|
||||||
if UPPER_CASE_MOD_FALSE
|
if UPPER_CASE_MOD_FALSE
|
||||||
nodist_include_HEADERS = grib_api.mod
|
nodist_include_HEADERS = grib_api.mod
|
||||||
|
@ -30,7 +30,7 @@ INCLUDES= -I$(top_builddir)/src
|
||||||
|
|
||||||
## Make sure these will be cleaned even when they're not built by
|
## Make sure these will be cleaned even when they're not built by
|
||||||
## default.
|
## default.
|
||||||
CLEANFILES = libgrib_api_f77.la libgrib_api_f90.la grib_f90.f90 eccodes_f90.f90 *.mod grib_types grib_kinds.h same_int_long same_int_size_t
|
CLEANFILES = libeccodes_f77.la libeccodes_f90.la grib_f90.f90 eccodes_f90.f90 *.mod grib_types grib_kinds.h same_int_long same_int_size_t
|
||||||
|
|
||||||
#noinst_HEADERS =
|
#noinst_HEADERS =
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ if CREATING_SHARED_LIBS
|
||||||
pkgpyexec_LTLIBRARIES = _gribapi_swig.la
|
pkgpyexec_LTLIBRARIES = _gribapi_swig.la
|
||||||
|
|
||||||
_gribapi_swig_la_SOURCES = gribapi_swig_wrap.c grib_interface.c grib_interface.h
|
_gribapi_swig_la_SOURCES = gribapi_swig_wrap.c grib_interface.c grib_interface.h
|
||||||
_gribapi_swig_la_LIBADD = $(top_builddir)/src/libgrib_api.la $(PYTHON_LIBS)
|
_gribapi_swig_la_LIBADD = $(top_builddir)/src/libeccodes.la $(PYTHON_LIBS)
|
||||||
_gribapi_swig_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
|
_gribapi_swig_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
|
||||||
|
|
||||||
INCLUDES = $(PYTHON_INCLUDES) -I$(NUMPY_INCLUDE)
|
INCLUDES = $(PYTHON_INCLUDES) -I$(NUMPY_INCLUDE)
|
||||||
|
|
|
@ -19,7 +19,7 @@ add_attribute = lambda **args: [list.append(attdict[key],value) for key,value in
|
||||||
build_dir = '@BUILD_DIR@'
|
build_dir = '@BUILD_DIR@'
|
||||||
add_attribute(
|
add_attribute(
|
||||||
include_dirs = os.path.join(build_dir,'src'),
|
include_dirs = os.path.join(build_dir,'src'),
|
||||||
extra_objects = os.path.join(build_dir, 'src', '.libs', 'libgrib_api.a')
|
extra_objects = os.path.join(build_dir, 'src', '.libs', 'libeccodes.a')
|
||||||
)
|
)
|
||||||
|
|
||||||
with_jasper = '@LIB_JASPER@'
|
with_jasper = '@LIB_JASPER@'
|
||||||
|
|
|
@ -4,9 +4,9 @@ bindir=@bindir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
|
|
||||||
Name: grib_api
|
Name: eccodes
|
||||||
Description: The grib_api library
|
Description: The eccodes library
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -lgrib_api
|
Libs: -L${libdir} -leccodes
|
||||||
Libs.private: -L${libdir} -lgrib_api @LIBS@
|
Libs.private: -L${libdir} -leccodes @LIBS@
|
||||||
|
|
|
@ -71,8 +71,8 @@ make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
%doc ChangeLog README AUTHORS NEWS LICENSE
|
%doc ChangeLog README AUTHORS NEWS LICENSE
|
||||||
#%doc doc/*
|
#%doc doc/*
|
||||||
%prefix/bin/*
|
%prefix/bin/*
|
||||||
%prefix/lib*/libgrib_api.so
|
%prefix/lib*/libeccodes.so
|
||||||
%prefix/lib*/libgrib_api.so.*
|
%prefix/lib*/libeccodes.so.*
|
||||||
%prefix/share/grib_api/definitions/*
|
%prefix/share/grib_api/definitions/*
|
||||||
|
|
||||||
# If you install a library
|
# If you install a library
|
||||||
|
@ -93,8 +93,8 @@ The ECMWF GRIB API is an application program interface accessible from C and FOR
|
||||||
#%doc doc
|
#%doc doc
|
||||||
%prefix/include/grib_api.h
|
%prefix/include/grib_api.h
|
||||||
%prefix/include/grib_windef.h
|
%prefix/include/grib_windef.h
|
||||||
%prefix/lib*/libgrib_api.a
|
%prefix/lib*/libeccodes.a
|
||||||
%prefix/lib*/libgrib_api.la
|
%prefix/lib*/libeccodes.la
|
||||||
%prefix/lib*/pkgconfig/*
|
%prefix/lib*/pkgconfig/*
|
||||||
%prefix/share/grib_api/samples/*
|
%prefix/share/grib_api/samples/*
|
||||||
%prefix/share/grib_api/ifs_samples/*
|
%prefix/share/grib_api/ifs_samples/*
|
||||||
|
|
|
@ -5,9 +5,9 @@ includedir=@includedir@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
FC=@FC@
|
FC=@FC@
|
||||||
|
|
||||||
Name: grib_api_f90
|
Name: eccodes_f90
|
||||||
Description: The grib_api library for Fortran 90
|
Description: The eccodes library for Fortran 90
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Cflags: @F90_MODULE_FLAG@@includedir@
|
Cflags: @F90_MODULE_FLAG@@includedir@
|
||||||
Libs: -L${libdir} -lgrib_api_f90 -lgrib_api
|
Libs: -L${libdir} -leccodes_f90 -leccodes
|
||||||
Libs.private: -L${libdir} -lgrib_api_f90 -lgrib_api @LIBS@
|
Libs.private: -L${libdir} -leccodes_f90 -leccodes @LIBS@
|
||||||
|
|
|
@ -9,10 +9,10 @@ AM_CPPFLAGS = -DECCODES_SAMPLES_PATH=\"$(ECCODES_SAMPLES_PATH)\" \
|
||||||
# -DYYDEBUG
|
# -DYYDEBUG
|
||||||
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgrib_api.la
|
lib_LTLIBRARIES = libeccodes.la
|
||||||
include_HEADERS = grib_api.h eccodes.h grib_windef.h
|
include_HEADERS = grib_api.h eccodes.h grib_windef.h
|
||||||
|
|
||||||
libgrib_api_la_prototypes= \
|
libeccodes_la_prototypes= \
|
||||||
action.c \
|
action.c \
|
||||||
action_class_alias.c \
|
action_class_alias.c \
|
||||||
action_class_gen.c \
|
action_class_gen.c \
|
||||||
|
@ -346,20 +346,20 @@ libgrib_api_la_prototypes= \
|
||||||
functions.c \
|
functions.c \
|
||||||
grib_api_version.c
|
grib_api_version.c
|
||||||
|
|
||||||
libgrib_api_extra_prototypes = grib_bits_any_endian.c grib_bits_any_endian_simple.c
|
libeccodes_extra_prototypes = grib_bits_any_endian.c grib_bits_any_endian_simple.c
|
||||||
|
|
||||||
libgrib_api_la_SOURCES = $(libgrib_api_la_prototypes) eccodes.c grib_yacc.c grib_lex.c md5.c
|
libeccodes_la_SOURCES = $(libeccodes_la_prototypes) eccodes.c grib_yacc.c grib_lex.c md5.c
|
||||||
|
|
||||||
libgrib_api_la_LIBADD = @LIBOBJS@
|
libeccodes_la_LIBADD = @LIBOBJS@
|
||||||
libgrib_api_la_DEPENDENCIES = grib_api.h $(libgrib_api_la_LIBADD)
|
libeccodes_la_DEPENDENCIES = grib_api.h $(libeccodes_la_LIBADD)
|
||||||
libgrib_api_la_LDFLAGS = -version-info $(GRIB_ABI_CURRENT):$(GRIB_ABI_REVISION):$(GRIB_ABI_AGE)
|
libeccodes_la_LDFLAGS = -version-info $(GRIB_ABI_CURRENT):$(GRIB_ABI_REVISION):$(GRIB_ABI_AGE)
|
||||||
|
|
||||||
# set the include path
|
# set the include path
|
||||||
INCLUDES= -I.
|
INCLUDES= -I.
|
||||||
|
|
||||||
## Make sure these will be cleaned even when they're not built by
|
## Make sure these will be cleaned even when they're not built by
|
||||||
## default.
|
## default.
|
||||||
CLEANFILES = libgrib_api.la
|
CLEANFILES = libeccodes.la
|
||||||
|
|
||||||
noinst_HEADERS = grib_api_internal.h \
|
noinst_HEADERS = grib_api_internal.h \
|
||||||
md5.h \
|
md5.h \
|
||||||
|
|
|
@ -43,7 +43,7 @@ ccsds_perf_SOURCES = ccsds_perf.c
|
||||||
gribex_perf_SOURCES = gribex_perf.c
|
gribex_perf_SOURCES = gribex_perf.c
|
||||||
gauss_sub_SOURCES = gauss_sub.c
|
gauss_sub_SOURCES = gauss_sub.c
|
||||||
|
|
||||||
LDADD = $(top_builddir)/src/libgrib_api.la $(EMOS_LIB)
|
LDADD = $(top_builddir)/src/libeccodes.la $(EMOS_LIB)
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/src
|
INCLUDES = -I$(top_builddir)/src
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,6 @@ tigge_accumulations_SOURCES = tigge_accumulations.c
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/src
|
INCLUDES = -I$(top_builddir)/src
|
||||||
|
|
||||||
LDADD = $(top_builddir)/src/libgrib_api.la
|
LDADD = $(top_builddir)/src/libeccodes.la
|
||||||
DEPENDENCIES = $(LDADD)
|
DEPENDENCIES = $(LDADD)
|
||||||
EXTRA_DIST = CMakeLists.txt
|
EXTRA_DIST = CMakeLists.txt
|
||||||
|
|
|
@ -82,12 +82,12 @@ taf_filter_SOURCES = taf_filter.c
|
||||||
gts_copy_SOURCES = gts_copy.c
|
gts_copy_SOURCES = gts_copy.c
|
||||||
gts_dump_SOURCES = gts_dump.c
|
gts_dump_SOURCES = gts_dump.c
|
||||||
gts_filter_SOURCES = gts_filter.c
|
gts_filter_SOURCES = gts_filter.c
|
||||||
gts_get_SOURCES = gts_get.c
|
#gts_get_SOURCES = gts_get.c
|
||||||
gts_ls_SOURCES = gts_ls.c
|
gts_ls_SOURCES = gts_ls.c
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/src
|
INCLUDES = -I$(top_builddir)/src
|
||||||
|
|
||||||
LDADD = libgrib_tools.la $(top_builddir)/src/libgrib_api.la
|
LDADD = libgrib_tools.la $(top_builddir)/src/libeccodes.la
|
||||||
DEPENDENCIES = $(LDADD)
|
DEPENDENCIES = $(LDADD)
|
||||||
|
|
||||||
grib_to_netcdf_LDADD = $(LDADD) $(NETCDF_LDFLAGS)
|
grib_to_netcdf_LDADD = $(LDADD) $(NETCDF_LDFLAGS)
|
||||||
|
|
Loading…
Reference in New Issue