Makefile
author Damiano Boppart <damiano@pep-security.net>
Mon, 14 Aug 2017 11:15:24 +0200
branchENGINE-228
changeset 1960 3e0027330faa
parent 1958 433df9ee336d
child 1962 b88394894238
permissions -rw-r--r--
Fix incorrect copyright statement
     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 
     6 include Makefile.conf
     7 
     8 export YML2_PATH
     9 
    10 HERE_REL := $(notdir $(CURDIR))
    11 
    12 .PHONY: all
    13 all:
    14 	$(MAKE) -C asn.1 generate
    15 	$(MAKE) -C asn.1
    16 	$(MAKE) -C sync
    17 	$(MAKE) -C src all
    18 
    19 .PHONY: install
    20 install: all
    21 	$(MAKE) -C src install
    22 	$(MAKE) -C asn.1 install
    23 
    24 .PHONY: uninstall
    25 uninstall:
    26 	$(MAKE) -C src uninstall
    27 	$(MAKE) -C asn.1 uninstall
    28 
    29 .PHONY: clean
    30 clean:
    31 	$(MAKE) -C src clean
    32 	$(MAKE) -C test clean
    33 	$(MAKE) -C db clean
    34 	$(MAKE) -C sync clean
    35 	$(MAKE) -C asn.1 clean
    36 
    37 .PHONY: test
    38 test: all
    39 	$(MAKE) -C test test
    40 	$(MAKE) -C test unit_tests
    41 
    42 .PHONY: unit_tests
    43 unit_tests: all
    44 	$(MAKE) -C test unit_tests
    45 
    46 .PHONY: package
    47 package: clean
    48 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
    49 
    50 .PHONY: db
    51 db:
    52 	$(MAKE) -C db db