Makefile
author Volker Birk <vb@pep-project.org>
Sat, 09 Jul 2016 11:43:51 +0200
changeset 810 0c07d4583315
parent 742 f30c0071ef5c
child 878 9ab0833d2c8b
permissions -rw-r--r--
completing renaming
     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 sync clean
    22 	$(MAKE) -C asn.1 clean
    23 
    24 test: all
    25 	$(MAKE) -C test test
    26 	$(MAKE) -C test unit_tests
    27 
    28 unit_tests: all
    29 	$(MAKE) -C test unit_tests
    30 
    31 package: clean
    32 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
    33 
    34 db:
    35 	$(MAKE) -C db db
    36 
    37 windist:
    38 ifneq ($(BUILD_FOR),Windoze)
    39 	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    40 else
    41 	make clean
    42 	$(MAKE) all
    43 	$(MAKE) -C test all
    44 	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
    45 endif
    46