Makefile
author vb
Sun, 08 Feb 2015 15:18:48 -0500
changeset 55 0569864cb34e
parent 37 7928e0e6eee9
child 87 060a95de62a8
permissions -rw-r--r--
unittest in main 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 unittest: all
    22 	$(MAKE) -C test unittest
    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