Makefile
author Krista Grothoff <krista@pep-project.org>
Wed, 10 Aug 2016 16:02:01 +0200
changeset 999 2c9ed75a67af
parent 878 9ab0833d2c8b
child 1178 335ac741184f
child 1513 e7f7e42385b5
permissions -rw-r--r--
Clumsy closing of feature branch ENGINE-40 and subsequent merge.
     1 include Makefile.conf
     2 
     3 # add it to the environment of all executed programs:
     4 export YML_PATH
     5 
     6 
     7 all:
     8 	$(MAKE) -C asn.1 generate
     9 	$(MAKE) -C asn.1
    10 	$(MAKE) -C sync
    11 	$(MAKE) -C src all
    12 
    13 .PHONY: clean build_test test package install uninstall db
    14 
    15 install: all
    16 	$(MAKE) -C src install
    17 
    18 uninstall:
    19 	$(MAKE) -C src uninstall
    20 
    21 clean:
    22 	$(MAKE) -C src clean
    23 	$(MAKE) -C test clean
    24 	$(MAKE) -C db clean
    25 	$(MAKE) -C sync clean
    26 	$(MAKE) -C asn.1 clean
    27 
    28 test: all
    29 	$(MAKE) -C test test
    30 	$(MAKE) -C test unit_tests
    31 
    32 unit_tests: all
    33 	$(MAKE) -C test unit_tests
    34 
    35 package: clean
    36 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
    37 
    38 db:
    39 	$(MAKE) -C db db
    40 
    41 windist:
    42 ifneq ($(BUILD_FOR),Windoze)
    43 	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    44 else
    45 	make clean
    46 	$(MAKE) all
    47 	$(MAKE) -C test all
    48 	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
    49 endif
    50