Makefile
author vb
Wed, 25 Jun 2014 18:46:19 +0200
changeset 1 06e02338bdd8
child 37 7928e0e6eee9
permissions -rw-r--r--
extra files for Unix
     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 package: clean
    22 	cd .. ; COPYFILE_DISABLE=true tar  cjf pEpEngine.tar.bz2 pEpEngine
    23 
    24 windist:
    25 ifneq ($(BUILD_FOR),Windoze)
    26 	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    27 else
    28 	make clean
    29 	$(MAKE) all
    30 	$(MAKE) -C test all
    31 	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
    32 endif
    33