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.

53 lines
916 B

# Copyright 2017, pEp Foundation
# This file is part of pEpEngine
# This file may be used under the terms of the GNU General Public License version 3
# see LICENSE.txt
include Makefile.conf
export YML2_PATH
HERE_REL := $(notdir $(CURDIR))
.PHONY: all
$(MAKE) -C asn.1 generate
$(MAKE) -C asn.1
$(MAKE) -C sync
$(MAKE) -C src all
.PHONY: install
install: all
$(MAKE) -C src install
$(MAKE) -C asn.1 install
.PHONY: uninstall
$(MAKE) -C src uninstall
$(MAKE) -C asn.1 uninstall
.PHONY: clean
$(MAKE) -C src clean
$(MAKE) -C test clean
$(MAKE) -C db clean
$(MAKE) -C sync clean
$(MAKE) -C asn.1 clean
.PHONY: test
test: all
$(MAKE) -C test test
$(MAKE) -C test unit_tests
.PHONY: unit_tests
unit_tests: all
$(MAKE) -C test unit_tests
.PHONY: package
package: clean
cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
.PHONY: db
$(MAKE) -C db db