Makefile.am 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. #
  2. # /*
  3. # * This program is free software: you can redistribute it and/or modify
  4. # * it under the terms of the GNU General Public License as published by
  5. # * the Free Software Foundation, either version 3 of the License, or
  6. # * (at your option) any later version.
  7. # *
  8. # * This program is distributed in the hope that it will be useful,
  9. # * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # * GNU General Public License for more details.
  12. # *
  13. # * You should have received a copy of the GNU General Public License
  14. # * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. # *
  16. # * SPDX-License-Identifier: GPL-3.0+
  17. # * License-Filename: LICENSE
  18. # *
  19. # */
  20. #
  21. #
  22. ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
  23. #
  24. AM_MAKEFLAGS = --no-print-directory
  25. #
  26. AUTOMAKE_OPTIONS = foreign subdir-objects
  27. # dirs with makefile.am
  28. SUBDIRS = . src
  29. #
  30. NULL =
  31. #
  32. EXTRA_DIST = \
  33. $(NULL)
  34. #
  35. MAINTAINERCLEANFILES = \
  36. Makefile \
  37. Makefile.in \
  38. aclocal.m4 \
  39. configure \
  40. config.sub \
  41. config.guess \
  42. config.status \
  43. compile \
  44. depcomp \
  45. install-sh \
  46. ltmain.sh \
  47. missing \
  48. config.h.in \
  49. dmake.output \
  50. dsmake.output \
  51. dsmake.errors \
  52. dsmake.warnings \
  53. autoscan.log \
  54. configure.scan \
  55. config.h.in~ \
  56. config.log \
  57. stamp-h1 \
  58. config.h \
  59. src/Makefile.in \
  60. src/Makefile \
  61. src/*.i \
  62. src/*.s \
  63. autom4te.cache/* \
  64. m4/*.m4 \
  65. ylwrap \
  66. $(NULL)
  67. #
  68. distclean:
  69. make clean
  70. make maintainer-clean-generic
  71. rm -vfr autom4te.cache
  72. rm -vfr src/.deps
  73. rm -vfr src/.libs
  74. rm -vf ./libtool
  75. rm -vfr ./m4
  76. rm -vf ./*~
  77. rm -vf ./O1
  78. rm -vf ./O2
  79. rm -vf *t.*
  80. rm -vf *r.*
  81. rm -vf *.o
  82. rm -v -f *.dot
  83. rm -v -f *.gml
  84. cleaner:
  85. make distclean
  86. # david wheeler sloccount program to analyze sourcecode
  87. sloc:
  88. sloccount src
  89. # disk usage on this dir
  90. dush:
  91. du -sh
  92. # generate git statistics
  93. # %d\t%d number is lines added/deleted in a file
  94. gitlog:
  95. git log --numstat >gitlog.txt
  96. # build packages:
  97. # rpm:
  98. # rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz of red-hat linux
  99. # or use the fpm tool
  100. # or debbuild ... on debian linus
  101. # or makepkg on slackware linux
  102. # colorize gcc output in .bashrc
  103. # GCC_COLORS ?= 'ooh, shiny!'
  104. # export GCC_COLORS
  105. # end