Makefile
author vb
Wed, 04 Mar 2015 10:39:29 +0100
changeset 87 060a95de62a8
parent 55 0569864cb34e
child 151 ece2659f90f6
permissions -rw-r--r--
fixing Makefile
     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 
    21 unit_tests: all
    22 	$(MAKE) -C test unit_tests
    23 
    24 package: clean
    25 	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
    26 
    27 windist:
    28 ifneq ($(BUILD_FOR),Windoze)
    29 	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    30 else
    31 	make clean
    32 	$(MAKE) all
    33 	$(MAKE) -C test all
    34 	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
    35 endif
    36