Makefile.am.build 589 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/perl
  2. print<<HEADER;
  3. ##################################################################
  4. #
  5. # uEcho for C
  6. #
  7. # Copyright (C) Satoshi Konno 2015
  8. #
  9. # This is licensed under BSD-style license, see file COPYING.
  10. #
  11. ##################################################################
  12. uechoheaders = \\
  13. HEADER
  14. my @find_files = `find ./uecho -name *.h`;
  15. my @include_files;
  16. foreach $file (@find_files) {
  17. $file =~ s/\n//;
  18. $file = "\t" . $file;
  19. push @include_files, $file;
  20. }
  21. print join(" \\\n", @include_files) . "\n";
  22. print<<FOTTER;
  23. nobase_include_HEADERS = \\
  24. \$(uechoheaders)
  25. FOTTER