Makefile
changeset 1 06e02338bdd8
child 37 7928e0e6eee9
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Wed Jun 25 18:46:19 2014 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +include Makefile.conf
     1.5 +
     1.6 +all:
     1.7 +	$(MAKE) -C src all
     1.8 +
     1.9 +.PHONY: clean build_test test package install uninstall
    1.10 +
    1.11 +install:
    1.12 +	$(MAKE) -C src install
    1.13 +
    1.14 +uninstall:
    1.15 +	$(MAKE) -C src uninstall
    1.16 +
    1.17 +clean:
    1.18 +	$(MAKE) -C src clean
    1.19 +	$(MAKE) -C test clean
    1.20 +
    1.21 +test: all
    1.22 +	$(MAKE) -C test test
    1.23 +
    1.24 +package: clean
    1.25 +	cd .. ; COPYFILE_DISABLE=true tar  cjf pEpEngine.tar.bz2 pEpEngine
    1.26 +
    1.27 +windist:
    1.28 +ifneq ($(BUILD_FOR),Windoze)
    1.29 +	@echo use BUILD_FOR=Windoze \(did you forget -e ?\)
    1.30 +else
    1.31 +	make clean
    1.32 +	$(MAKE) all
    1.33 +	$(MAKE) -C test all
    1.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
    1.35 +endif
    1.36 +