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
6 HERE_REL := $(notdir $(CURDIR))
10 ifneq ($(wildcard local.conf),)
11 $(info ================================================)
12 $(info Overrides in `local.conf` are used.)
13 $(info ================================================)
17 $(info ================================================)
18 $(info Overrides in `$(BUILD_CONFIG)` are used.)
19 $(info ================================================)
23 # Build programs, libraries, documentation, etc..
27 # Like `all`, but without building the db
29 allnodb: asn1 src sync
31 # Install what needs to be installed, copying the files from the package’s tree to system-wide directories.
33 install: all installnodb
36 # Like `install`, but does install the db
39 $(MAKE) -C asn.1 install
40 $(MAKE) -C src install
42 # The opposite of make install: erase the installed files. (This needs to be run from the same build tree that was installed.)
45 $(MAKE) -C asn.1 uninstall
46 $(MAKE) -C db uninstall
47 $(MAKE) -C src uninstall
49 # Erase from the build tree the files built by make all.
52 $(MAKE) -C asn.1 clean
65 cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
72 # You probably don't want to call any of the the targets below directly