Makefile
author Volker Birk <vb@pep-project.org>
Tue, 14 Jun 2016 10:42:07 +0200
changeset 742 f30c0071ef5c
parent 637 d93d1fe6a24c
child 810 0c07d4583315
permissions -rw-r--r--
adding make sync to Makefile
     1 include Makefile.conf
     2 
     3 all:
     4 	$(MAKE) -C asn.1 generate
     5 	$(MAKE) -C asn.1
     6 	$(MAKE) -C sync
     7 	$(MAKE) -C src all
     8 
     9 .PHONY: clean build_test test package install uninstall db
    10 
    11 install: all
    12 	$(MAKE) -C src install
    13 
    14 uninstall:
    15 	$(MAKE) -C src uninstall
    16 
    17 clean:
    18 	$(MAKE) -C src clean
    19 	$(MAKE) -C test clean
    20 	$(MAKE) -C db clean
    21 	$(MAKE) -C asn.1 clean
    22 
    23 test: all
    24 	$(MAKE) -C test test
    25 	$(MAKE) -C test unit_tests
    26 
    27 unit_tests: all
    28 	$(MAKE) -C test unit_tests
    29 
    30 package: clean
    31 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
    32 
    33 db:
    34 	$(MAKE) -C db db
    35 
    36 windist:
    37 ifneq ($(BUILD_FOR),Windoze)
    38 	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    39 else
    40 	make clean
    41 	$(MAKE) all
    42 	$(MAKE) -C test all
    43 	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
    44 endif
    45