p≡p engine FORK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.5 KiB

3 years ago
4 years ago
6 years ago
2 years ago
3 years ago
  1. # Copyright 2017, pEp Foundation
  2. # This file is part of pEpEngine
  3. # This file may be used under the terms of the GNU General Public License version 3
  4. # see LICENSE.txt
  5. HERE_REL := $(notdir $(CURDIR))
  6. include Makefile.conf
  7. ifneq ($(wildcard local.conf),)
  8. $(info ================================================)
  9. $(info Overrides in `local.conf` are used.)
  10. $(info ================================================)
  11. endif
  12. ifdef BUILD_CONFIG
  13. $(info ================================================)
  14. $(info Overrides in `$(BUILD_CONFIG)` are used.)
  15. $(info ================================================)
  16. endif
  17. .PHONY: all pepmime sync asn1 build install dbinstall uninstall clean tags test package db
  18. build: pepmime asn1
  19. $(MAKE) -C src
  20. all: build
  21. # `make all` is not for tests, that's what `make test` is for
  22. # $(MAKE) -C test
  23. pepmime:
  24. $(MAKE) -C pEpMIME lib
  25. sync:
  26. $(MAKE) -C sync
  27. asn1: sync
  28. $(MAKE) -C asn.1
  29. install: build
  30. $(MAKE) -C src install
  31. $(MAKE) -C asn.1 install
  32. $(MAKE) -C pEpMIME engine_install
  33. beinstall:
  34. $(MAKE) -C src beinstall
  35. dbinstall: db
  36. $(MAKE) -C db install
  37. uninstall:
  38. $(MAKE) -C src uninstall
  39. $(MAKE) -C asn.1 uninstall
  40. clean:
  41. $(MAKE) -C src clean
  42. $(MAKE) -C test clean
  43. $(MAKE) -C db clean
  44. $(MAKE) -C asn.1 clean
  45. $(MAKE) -C sync clean
  46. $(MAKE) -C build-android clean
  47. tags:
  48. $(MAKE) -C asn.1 tags
  49. $(MAKE) -C src tags
  50. test: all
  51. $(MAKE) -C test test
  52. package: clean
  53. cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
  54. db:
  55. $(MAKE) -C db db