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
vb@1
     1
include Makefile.conf
vb@1
     2
vb@1
     3
all:
vb@1
     4
	$(MAKE) -C src all
vb@1
     5
vb@1
     6
.PHONY: clean build_test test package install uninstall
vb@1
     7
vb@1
     8
install:
vb@1
     9
	$(MAKE) -C src install
vb@1
    10
vb@1
    11
uninstall:
vb@1
    12
	$(MAKE) -C src uninstall
vb@1
    13
vb@1
    14
clean:
vb@1
    15
	$(MAKE) -C src clean
vb@1
    16
	$(MAKE) -C test clean
vb@1
    17
vb@1
    18
test: all
vb@1
    19
	$(MAKE) -C test test
vb@1
    20
vb@1
    21
package: clean
vb@1
    22
	cd .. ; COPYFILE_DISABLE=true tar  cjf pEpEngine.tar.bz2 pEpEngine
vb@1
    23
vb@1
    24
windist:
vb@1
    25
ifneq ($(BUILD_FOR),Windoze)
vb@1
    26
	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
vb@1
    27
else
vb@1
    28
	make clean
vb@1
    29
	$(MAKE) all
vb@1
    30
	$(MAKE) -C test all
vb@1
    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
vb@1
    32
endif
vb@1
    33