Makefile
author Volker Birk <vb@pep-project.org>
Sat, 28 Mar 2015 11:39:05 +0100
changeset 151 ece2659f90f6
parent 87 060a95de62a8
child 364 605a4990915c
permissions -rw-r--r--
even nicer
     1 include Makefile.conf
     2 
     3 all:
     4 	$(MAKE) -C src all
     5 
     6 .PHONY: clean build_test test package install uninstall
     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 
    18 test: all
    19 	$(MAKE) -C test test
    20 	$(MAKE) -C test unit_tests
    21 
    22 unit_tests: all
    23 	$(MAKE) -C test unit_tests
    24 
    25 package: clean
    26 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
    27 
    28 windist:
    29 ifneq ($(BUILD_FOR),Windoze)
    30 	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    31 else
    32 	make clean
    33 	$(MAKE) all
    34 	$(MAKE) -C test all
    35 	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
    36 endif
    37