create_header_python_interface.sh 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Software License
  3. #
  4. # Copyright (C) 2021-05-24 Xoronos
  5. #
  6. # This program is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation, version 3.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program. If not, see <https://www.gnu.org/licenses/>.
  17. #
  18. # Liabilities
  19. #
  20. # The software is provided "AS IS" without any warranty of any kind, either expressed,
  21. # implied, or statutory, including, but not limited to, any warranty that the software
  22. # will conform to specifications, any implied warranties of merchantability, fitness
  23. # for a particular purpose, and freedom from infringement, and any warranty that the
  24. # documentation will conform to the software, or any warranty that the software will
  25. # be error free.
  26. #
  27. # In no event shall Xoronos be liable for any damages, including, but not limited to,
  28. # direct, indirect, special or consequential damages, arising out of, resulting from,
  29. # or in any way connected with this software, whether or not based upon warranty,
  30. # contract, tort, or otherwise, whether or not injury was sustained by persons or
  31. # property or otherwise, and whether or not loss was sustained from, or arose out of
  32. # the results of, or use of, the software or services provided hereunder.
  33. #
  34. # To request the provided software under a different license you can contact us at
  35. # support@xoronos.com
  36. #
  37. libdir=../../build/coderef/examples-256/flatdump
  38. outfile=../../code/lib/xrn_interfaces/python/xrnlib.h
  39. cat $libdir/default_permutation_settings.h > $outfile
  40. cat $libdir/default_encoding_settings.h >> $outfile
  41. cat $libdir/xrn_settings.h >> $outfile
  42. cat $libdir/xrn_common.h >> $outfile
  43. cat $libdir/xrn_arithmetic.h >> $outfile
  44. cat $libdir/xrn_encoder.h >> $outfile
  45. cat $libdir/xrn_core.h >> $outfile
  46. cat $libdir/xrn_miners.h >> $outfile
  47. cat $libdir/xrn_crypto.h >> $outfile