Makefile.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ACLOCAL_AMFLAGS = -I scripts
  2. EXTRA_DIST = README BUGS FEATURES HISTORY autogen.sh libosip2.pc.in
  3. SUBDIRS = include src scripts help platform
  4. rpm-package:
  5. cd platform && $(MAKE) rpm-package
  6. upload: dist
  7. @echo "######## Maintainer only ##########";
  8. @echo "building files for upload in ftp://ftp-upload.gnu.org/incoming/ftp";
  9. @echo "building: $(PACKAGE)-$(VERSION).tar.gz.sig";
  10. gpg -b $(PACKAGE)-$(VERSION).tar.gz
  11. echo "version: 1.1" > $(PACKAGE)-$(VERSION).tar.gz.directive
  12. echo "directory: osip" >> $(PACKAGE)-$(VERSION).tar.gz.directive
  13. echo "filename: $(PACKAGE)-$(VERSION).tar.gz" >> $(PACKAGE)-$(VERSION).tar.gz.directive
  14. @echo "building: $(PACKAGE)-$(VERSION).tar.gz.directive.asc";
  15. gpg --clearsign $(PACKAGE)-$(VERSION).tar.gz.directive
  16. doxygen:
  17. doxygen $(top_srcdir)/help/doxygen/DoxyFile
  18. indent:
  19. @type clang-format --version >/dev/null 2>&1 || clang-format -i $(top_srcdir)/include/*/*.h
  20. @type clang-format --version >/dev/null 2>&1 || clang-format -i $(top_srcdir)/include/*/*/*.h
  21. @type clang-format --version >/dev/null 2>&1 || clang-format -i $(top_srcdir)/src/*/*.h
  22. @type clang-format --version >/dev/null 2>&1 || clang-format -i $(top_srcdir)/src/*/*.c
  23. rm -rf $(top_srcdir)/*/*/*.h~
  24. rm -rf $(top_srcdir)/*/*/*/*.h~
  25. rm -rf $(top_srcdir)/*/*/*.c~
  26. pkgconfigdir = $(libdir)/pkgconfig
  27. pkgconfig_DATA = libosip2.pc
  28. valgrind:
  29. cd src/test && $(MAKE) valgrind
  30. .PHONY: valgrind