p≡p engine
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.
 
 
 
 

59 lines
1.2 KiB

# 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
HERE_REL := $(notdir $(CURDIR))
include default.conf
ifneq ($(wildcard local.conf),)
$(info ================================================)
$(info Overrides in \`local.conf\` are used.)
$(info ================================================)
endif
ifdef BUILD_CONFIG
$(info ================================================)
$(info Overrides in \`$(BUILD_CONFIG)\` are used.)
$(info ================================================)
endif
.PHONY: all
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
uninstall:
$(MAKE) -C src uninstall
$(MAKE) -C asn.1 uninstall
.PHONY: clean
clean:
$(MAKE) -C src clean
$(MAKE) -C test clean
$(MAKE) -C db clean
$(MAKE) -C sync clean
$(MAKE) -C asn.1 clean
rm -rf test_home
.PHONY: test
test: all
$(MAKE) -C test test
.PHONY: package
package: clean
cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
.PHONY: db
db:
$(MAKE) -C db db