Makefile
author Thomas
Wed, 24 May 2017 15:19:41 +0200
branchtest_diphoton
changeset 1804 775bb90eccd5
parent 1513 e7f7e42385b5
child 1919 335cdc692960
permissions -rw-r--r--
Add current user GPG4Win lookup
vb@1513
     1
# this file is under GNU General Public License v3.0
vb@1513
     2
# see LICENSE.txt
vb@1513
     3
vb@1
     4
include Makefile.conf
vb@1
     5
roker@878
     6
# add it to the environment of all executed programs:
roker@878
     7
export YML_PATH
roker@878
     8
roker@878
     9
vb@1
    10
all:
vb@637
    11
	$(MAKE) -C asn.1 generate
vb@637
    12
	$(MAKE) -C asn.1
vb@742
    13
	$(MAKE) -C sync
vb@1
    14
	$(MAKE) -C src all
vb@1
    15
vb@364
    16
.PHONY: clean build_test test package install uninstall db
vb@1
    17
vb@637
    18
install: all
vb@1
    19
	$(MAKE) -C src install
vb@1
    20
vb@1
    21
uninstall:
vb@1
    22
	$(MAKE) -C src uninstall
vb@1
    23
vb@1
    24
clean:
vb@1
    25
	$(MAKE) -C src clean
vb@1
    26
	$(MAKE) -C test clean
vb@364
    27
	$(MAKE) -C db clean
vb@810
    28
	$(MAKE) -C sync clean
vb@637
    29
	$(MAKE) -C asn.1 clean
vb@1
    30
vb@1
    31
test: all
vb@1
    32
	$(MAKE) -C test test
vb@151
    33
	$(MAKE) -C test unit_tests
vb@1
    34
vb@87
    35
unit_tests: all
vb@87
    36
	$(MAKE) -C test unit_tests
vb@55
    37
vb@1
    38
package: clean
vb@37
    39
	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
vb@1
    40
vb@364
    41
db:
vb@364
    42
	$(MAKE) -C db db
vb@364
    43
vb@1
    44
windist:
vb@1
    45
ifneq ($(BUILD_FOR),Windoze)
vb@1
    46
	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
vb@1
    47
else
vb@1
    48
	make clean
vb@1
    49
	$(MAKE) all
vb@1
    50
	$(MAKE) -C test all
vb@1
    51
	zip -j pEpEngine-dist.zip src/pEpEngine.h src/keymanagement.h src/pEpEngine.dll src/pEpEngine.def test/pEpEngineTest.exe test/*.asc test/*.key db/*.db test/*.txt test/*.asc src/*.sql
vb@1
    52
endif
vb@1
    53