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