Makefile
author Damiano Boppart <damiano@pep-security.net>
Sun, 13 Aug 2017 02:39:07 +0200
branchENGINE-228
changeset 1955 8ec0b81a659f
parent 1950 94b1fad41c43
child 1958 433df9ee336d
permissions -rw-r--r--
Refactor some make variable names
     1 # this file is under GNU General Public License v3.0
     2 # see LICENSE.txt
     3 
     4 include Makefile.conf
     5 
     6 export YML2_PATH
     7 
     8 HERE_REL := $(notdir $(CURDIR))
     9 
    10 .PHONY: all
    11 all:
    12 	$(MAKE) -C asn.1 generate
    13 	$(MAKE) -C asn.1
    14 	$(MAKE) -C sync
    15 	$(MAKE) -C src all
    16 
    17 .PHONY: install
    18 install: all
    19 	$(MAKE) -C src install
    20 	$(MAKE) -C asn.1 install
    21 
    22 .PHONY: uninstall
    23 uninstall:
    24 	$(MAKE) -C src uninstall
    25 	$(MAKE) -C asn.1 uninstall
    26 
    27 .PHONY: clean
    28 clean:
    29 	$(MAKE) -C src clean
    30 	$(MAKE) -C test clean
    31 	$(MAKE) -C db clean
    32 	$(MAKE) -C sync clean
    33 	$(MAKE) -C asn.1 clean
    34 
    35 .PHONY: test
    36 test: all
    37 	$(MAKE) -C test test
    38 	$(MAKE) -C test unit_tests
    39 
    40 .PHONY: unit_tests
    41 unit_tests: all
    42 	$(MAKE) -C test unit_tests
    43 
    44 .PHONY: package
    45 package: clean
    46 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
    47 
    48 .PHONY: db
    49 db:
    50 	$(MAKE) -C db db