~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: John Arbash Meinel
  • Date: 2008-07-02 16:52:12 UTC
  • mto: This revision was merged to the branch mainline in revision 3519.
  • Revision ID: john@arbash-meinel.com-20080702165212-e7nmk0ltr2jkpbs6
Updates to allow building with mingw, and to exclude Vista system dlls

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
### Core Stuff ###
22
22
 
23
23
PYTHON=python
 
24
PYTHON_BUILDFLAGS=
24
25
 
25
26
.PHONY: all clean extensions pyflakes api-docs
26
27
 
28
29
 
29
30
extensions:
30
31
        @echo "building extension modules."
31
 
        $(PYTHON) setup.py build_ext -i
 
32
        $(PYTHON) setup.py build_ext -i $(PYTHON_BUILDFLAGS)
32
33
 
33
34
check: docs extensions
34
35
        $(PYTHON) -Werror -O ./bzr selftest -1v $(tests)
170
171
# make bzr.exe for win32 with py2exe
171
172
exe:
172
173
        @echo *** Make bzr.exe
173
 
        $(PYTHON) setup.py build_ext -i -f
 
174
        $(PYTHON) setup.py build_ext -i -f $(PYTHON_BUILDFLAGS)
174
175
        $(PYTHON) setup.py py2exe > py2exe.log
175
176
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/start_bzr.bat win32_bzr.exe
176
177
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/bazaar.url win32_bzr.exe