Skip to content
Snippets Groups Projects
Select Git revision
  • 1fa8e289973f67e29a2a937e65ac384e498ebf06
  • master default protected
  • staggered-max
  • unifed-object
  • no_Amalgamated
  • standard_stb
  • parallel_doc_fix
  • release_0.9.3
  • cmake_mpich_tests
  • update_install
  • external_VORO
  • cmake_add_soversion
  • iterative_method
  • cmake_install
  • fixes_042023
  • tensor_max
  • personal/schulz3/tensor_max
  • releases/v0.9
  • ForceBasedDevel
  • refactor
  • feature/simple_test_cases
  • v0.9.3
  • v0.9.2
  • v0.9.1
  • v0.9.0
  • v0.9.0-rc2
26 results

vtk_shrunk.tar.gz

Blame
  • Makefile.am 3.30 KiB
    #
    # Copyright (C) 2020 Cray Computer GmbH
    #
    # Redistribution and use in source and binary forms, with or without
    # modification, are permitted provided that the following conditions are
    # met:
    #
    # 1. Redistributions of source code must retain the above copyright
    #    notice, this list of conditions and the following disclaimer.
    #
    # 2. Redistributions in binary form must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer in the
    #    documentation and/or other materials provided with the distribution.
    #
    # 3. Neither the name of the copyright holder nor the names of its
    #    contributors may be used to endorse or promote products derived from
    #    this software without specific prior written permission.
    #
    # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
    # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
    # PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    # HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #
    
    noinst_LTLIBRARIES = libattributes.la
    YAML_FILES=maestro-schema-schema.yaml maestro-core.yaml user.yaml ecmwf.yaml 
    EXTRA_DIST=$(YAML_FILES) \
               schema_type_parse.peg schema_type_parse.c schema_type_parse.h 
    	   maestro-core-yaml.h ecmwf.yaml.h
    BUILT_SOURCES = maestro-core-yaml.h ecmwf-yaml.h
    
    
    libattributes_la_CPPFLAGS = \
    		-I$(top_srcdir) \
    		-I$(top_srcdir)/protocols \
    		-I$(top_srcdir)/deps/mamba \
                    -I$(top_srcdir)/include \
    		-I$(top_srcdir)/deps/libyaml/include \
    		-I$(top_srcdir)/deps/libcyaml/include 
    
    libattributes_la_SOURCES = \
    	maestro-schema.h maestro-schema.c\
            schema_type_parse.c schema_type_parse.h \
    	maestro-core-yaml.h ecmwf-yaml.h \
    	symtab.h symtab.c 
    
    #nodist_libattributes_la_SOURCES = \
    #        $(builddir)/schema_type_parse.c $(builddir)/schema_type_parse.h
    
    #libattributes_la_LIBADD=$(top_builddir)/deps/libyaml/src/libyaml.la
    
    schema_type_parse.c schema_type_parse.h: schema_type_parse.peg
    	$(top_builddir)/deps/packcc/packcc -o schema_type_parse  $<
    
    validate: user.yaml ecmwf.yaml maestro-core.yaml maestro-schema-schema.yaml
    	yamale -s maestro-schema-schema.yaml --strict user.yaml
    	yamale -s maestro-schema-schema.yaml --strict ecmwf.yaml
    	yamale -s maestro-schema-schema.yaml --strict maestro-core.yaml
    
    
    install-data-local:
    	$(MKDIR_P) $(DESTDIR)$(datadir)/maestro/schemas
    	for f in $(YAML_FILES); do \
    		$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/maestro/schemas/; \
            done
    uninstall-local:
    	for f in $(YAML_FILES); do \
    		rm  $(DESTDIR)$(datadir)/maestro/schemas/$$f; \
            done
    	-rmdir $(DESTDIR)$(datadir)/maestro/schemas
    	-rmdir $(DESTDIR)$(datadir)/maestro
    
    maestro-core-yaml.h: maestro-core.yaml
    	xxd -i $< | sed -e 's/unsigned int/const unsigned int/' > $@
    ecmwf-yaml.h: ecmwf.yaml
    	xxd -i $< | sed -e 's/unsigned int/const unsigned int/' > $@